diff options
author | Johns <Johns-Q@users.noreply.github.com> | 2022-10-03 09:41:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-03 18:41:24 +1100 |
commit | 1d194ac60f3cfecbd972795e9706cfc8922b7420 (patch) | |
tree | a6d8368d553e8d1281129b24ebc32ef7b7912306 /keyboards/annepro2/annepro2.h | |
parent | f5e81681cd07750a7ec1c76a0326d5f87ef8ac5a (diff) |
Adds Anne Pro 2 c18 ISO variant support (#18154)
Diffstat (limited to 'keyboards/annepro2/annepro2.h')
-rw-r--r-- | keyboards/annepro2/annepro2.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/annepro2/annepro2.h b/keyboards/annepro2/annepro2.h index 393d9b4731..617c6414d2 100644 --- a/keyboards/annepro2/annepro2.h +++ b/keyboards/annepro2/annepro2.h @@ -42,6 +42,20 @@ extern ble_capslock_t ble_capslock; /* ROW4 */ { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, KC_NO}, \ /* ROW5 */ { K40, KC_NO, K42, K43, KC_NO, KC_NO, K46, KC_NO, KC_NO, K49, K4A, K4B, K4C, KC_NO}, \ } +#define LAYOUT_60_iso( \ + 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, \ + K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ + K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, \ + K40, K42, K43, K46, K49, K4A, K4B, K4C \ +) { \ + /* COL1 COL2 COL3 COL4 COL5 COL6 COL7 COL8 COL9 COL10 COL11 COL12 COL13 COL14*/ \ + /* ROW1 */ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ + /* ROW2 */ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K2D }, \ + /* ROW3 */ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, KC_NO}, \ + /* ROW4 */ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, KC_NO}, \ + /* ROW5 */ { K40, KC_NO, K42, K43, KC_NO, KC_NO, K46, KC_NO, KC_NO, K49, K4A, K4B, K4C, KC_NO}, \ +} // clang-format on enum AP2KeyCodes { |