diff options
author | Elliot Powell <32494740+e11i0t23@users.noreply.github.com> | 2018-11-26 15:58:53 +0000 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2018-11-26 07:58:53 -0800 |
commit | 6266c172b9363aa950cf13c52bed7674aae0375d (patch) | |
tree | 931a786722454b9b15290f35e6c862d781246092 /keyboards/ep/96/96.h | |
parent | ccd4da941cb38839b60994302d453821fb88a1b1 (diff) |
added ep/96 as a supported keyboard (#4476)
* added ep/96
* Update keyboards/ep/96/readme.md
Co-Authored-By: e11i0t23 <32494740+e11i0t23@users.noreply.github.com>
* removed led code
* Update keyboards/ep/96/config.h
Co-Authored-By: e11i0t23 <32494740+e11i0t23@users.noreply.github.com>
* Update keyboards/ep/96/info.json
Co-Authored-By: e11i0t23 <32494740+e11i0t23@users.noreply.github.com>
* Update keyboards/ep/96/readme.md
Co-Authored-By: e11i0t23 <32494740+e11i0t23@users.noreply.github.com>
Diffstat (limited to 'keyboards/ep/96/96.h')
-rw-r--r-- | keyboards/ep/96/96.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/keyboards/ep/96/96.h b/keyboards/ep/96/96.h new file mode 100644 index 0000000000..1887eb472c --- /dev/null +++ b/keyboards/ep/96/96.h @@ -0,0 +1,47 @@ +/* Copyright 2018 Elliot Powell + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +#ifndef EP96_H +#define EP96_H + +#include "quantum.h" + +/* This a shortcut to help you visually see your layout. + * + * The first section contains all of the arguments representing the physical + * layout of the board and position of the keys. + * + * The second converts the arguments into a two-dimensional array which + * represents the switch matrix. + */ +#define xxxx KC_NO + +#define LAYOUT( \ + K000, K001, K002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015, k016, k017, k018, \ + K100, K101, K102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k114, k115, k116, k117, k118, \ + K200, K202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, k215, k216, k217, \ + K300, K302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, k314, k315, k316, k317, k318, \ + K400, K401, K402, k403, k404, k405, k406, k407, k408, k409, k410, k411, k413, k414, k415, k416, k417, \ + K500, K501, K502, k506, k511, k512, k513, k514, k515, k516, k517, k518) \ +{ \ + {K000, K001, K002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015, k016, k017, k018}, \ + {K100, K101, K102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, xxxx, k114, k115, k116, k117, k118}, \ + {K200, xxxx, K202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, xxxx, k215, k216, k217, xxxx}, \ + {K300, xxxx, K302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, k314, k315, k316, k317, k318}, \ + {K400, K401, K402, k403, k404, k405, k406, k407, k408, k409, k410, k411, xxxx, k413, k414, k415, k416, k417, xxxx}, \ + {K500, K501, K502, xxxx, xxxx, xxxx, k506, xxxx, xxxx, xxxx, xxxx, k511, k512, k513, k514, k515, k516, k517, k518} \ +} + +#endif |