aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ep
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ep')
-rw-r--r--keyboards/ep/40/40.h31
-rw-r--r--keyboards/ep/96/96.h35
2 files changed, 31 insertions, 35 deletions
diff --git a/keyboards/ep/40/40.h b/keyboards/ep/40/40.h
index 30f3d15b4..1ac39a278 100644
--- a/keyboards/ep/40/40.h
+++ b/keyboards/ep/40/40.h
@@ -13,11 +13,13 @@
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#ifndef EP40_H 16
17#define EP40_H 17#pragma once
18 18
19#include "quantum.h" 19#include "quantum.h"
20 20
21#define XXX KC_NO
22
21/* This a shortcut to help you visually see your layout. 23/* This a shortcut to help you visually see your layout.
22 * 24 *
23 * The first section contains all of the arguments representing the physical 25 * The first section contains all of the arguments representing the physical
@@ -26,19 +28,14 @@
26 * The second converts the arguments into a two-dimensional array which 28 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix. 29 * represents the switch matrix.
28 */ 30 */
29#define xxx KC_NO 31#define LAYOUT( \
30 32 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \
31#define LAYOUT(\ 33 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1B, \
32 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b,\ 34 k20, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \
33 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1b,\ 35 k30, k31, k32, k34, k36, k38, k39, k3A, k3B \
34 k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b,\ 36) { \
35 k30, k31, k32, k34, k36, k38, k39, k3a, k3b \ 37 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \
36) \ 38 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, XXX, k1B }, \
37{ \ 39 { k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \
38 {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b},\ 40 { k30, k31, k32, XXX, k34, XXX, k36, XXX, k38, k39, k3A, k3B } \
39 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, xxx, k1b},\
40 {k20, xxx, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b},\
41 {k30, k31, k32, xxx, k34, xxx, k36, xxx, k38, k39, k3a, k3b} \
42} 41}
43
44#endif
diff --git a/keyboards/ep/96/96.h b/keyboards/ep/96/96.h
index 1887eb472..1117256cd 100644
--- a/keyboards/ep/96/96.h
+++ b/keyboards/ep/96/96.h
@@ -13,11 +13,13 @@
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#ifndef EP96_H 16
17#define EP96_H 17#pragma once
18 18
19#include "quantum.h" 19#include "quantum.h"
20 20
21#define XXX KC_NO
22
21/* This a shortcut to help you visually see your layout. 23/* This a shortcut to help you visually see your layout.
22 * 24 *
23 * The first section contains all of the arguments representing the physical 25 * The first section contains all of the arguments representing the physical
@@ -26,22 +28,19 @@
26 * The second converts the arguments into a two-dimensional array which 28 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix. 29 * represents the switch matrix.
28 */ 30 */
29#define xxxx KC_NO
30 31
31#define LAYOUT( \ 32#define LAYOUT( \
32 K000, K001, K002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015, k016, k017, k018, \ 33 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, k0F, k0G, k0H, k0I, \
33 K100, K101, K102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k114, k115, k116, k117, k118, \ 34 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1E, k1F, k1G, k1H, k1I, \
34 K200, K202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, k215, k216, k217, \ 35 k20, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2F, k2G, k2H, \
35 K300, K302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, k314, k315, k316, k317, k318, \ 36 k30, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F, k3G, k3H, k3I, \
36 K400, K401, K402, k403, k404, k405, k406, k407, k408, k409, k410, k411, k413, k414, k415, k416, k417, \ 37 k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4D, k4E, k4F, k4G, k4H, \
37 K500, K501, K502, k506, k511, k512, k513, k514, k515, k516, k517, k518) \ 38 k50, k51, k52, k56, k5B, k5C, k5D, k5E, k5F, k5G, k5H, k5I \
38{ \ 39) { \
39 {K000, K001, K002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015, k016, k017, k018}, \ 40 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, k0F, k0G, k0H, k0I }, \
40 {K100, K101, K102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, xxxx, k114, k115, k116, k117, k118}, \ 41 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, XXX, k1E, k1F, k1G, k1H, k1I }, \
41 {K200, xxxx, K202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, xxxx, k215, k216, k217, xxxx}, \ 42 { k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, XXX, k2F, k2G, k2H, XXX }, \
42 {K300, xxxx, K302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, k314, k315, k316, k317, k318}, \ 43 { k30, XXX, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F, k3G, k3H, k3I }, \
43 {K400, K401, K402, k403, k404, k405, k406, k407, k408, k409, k410, k411, xxxx, k413, k414, k415, k416, k417, xxxx}, \ 44 { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, XXX, k4D, k4E, k4F, k4G, k4H, XXX }, \
44 {K500, K501, K502, xxxx, xxxx, xxxx, k506, xxxx, xxxx, xxxx, xxxx, k511, k512, k513, k514, k515, k516, k517, k518} \ 45 { k50, k51, k52, XXX, XXX, XXX, k56, XXX, XXX, XXX, XXX, k5B, k5C, k5D, k5E, k5F, k5G, k5H, k5I } \
45} 46}
46
47#endif