summaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys/practice60/practice60.h
diff options
context:
space:
mode:
authorAndrew Kannan <andrew.kannan@klaviyo.com>2019-01-29 23:04:20 -0500
committerDrashna Jaelre <drashna@live.com>2019-01-29 20:04:20 -0800
commit7186d1581abbd97d7c76626ae83fc866e85d217c (patch)
tree1a6cf65f38f00f48e1539a8c01418cf770119a37 /keyboards/cannonkeys/practice60/practice60.h
parent74fcfd533508d5743a20a7cd7faba404f8fc7cd3 (diff)
Moving cannonkeys boards to one place, eeprom fix (#4999)
* Move boards to cannonkeys and share resources * Share common files between cannonkey boards * Fix ortho60 keymap * update LED numbers * Add RGB keys to Ortho60 and Ortho48 * Add Backlight control to default layout Ortho60 and 48 * Remove unnecessary ws2812.c SRC from rules.mk
Diffstat (limited to 'keyboards/cannonkeys/practice60/practice60.h')
-rw-r--r--keyboards/cannonkeys/practice60/practice60.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/practice60/practice60.h b/keyboards/cannonkeys/practice60/practice60.h
new file mode 100644
index 0000000000..5ebba8fb84
--- /dev/null
+++ b/keyboards/cannonkeys/practice60/practice60.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "quantum.h"
+
+#define LAYOUT_60_ansi( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, \
+ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, \
+ K40, K41, K42, K43, K49, K4A, K4B, K4C \
+) { \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, KC_NO }, \
+ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, KC_NO }, \
+ { K40, K41, K42, K43, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K49, K4A, K4B, K4C, KC_NO } \
+}