diff options
Diffstat (limited to 'keyboards/ep/40/40.h')
| -rw-r--r-- | keyboards/ep/40/40.h | 31 |
1 files changed, 14 insertions, 17 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 | ||
