diff options
author | Jordan Blackbourn <blackbournj@gmail.com> | 2022-01-11 13:44:18 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 16:44:18 -0800 |
commit | cd12b54650b4ac9023e697f036911c81b2eed693 (patch) | |
tree | fcc398acc0be6fe671903e790388ad4ea598dfcd /keyboards/orthocode/orthocode.h | |
parent | 372c9102e23b1c669e27262f905d76299f52e628 (diff) | |
download | qmk_firmware-cd12b54650b4ac9023e697f036911c81b2eed693.tar.gz qmk_firmware-cd12b54650b4ac9023e697f036911c81b2eed693.zip |
[Keyboard] Added via support for orthocode (#15777)
Diffstat (limited to 'keyboards/orthocode/orthocode.h')
-rw-r--r-- | keyboards/orthocode/orthocode.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/orthocode/orthocode.h b/keyboards/orthocode/orthocode.h index 3abcd48c0..57f122a47 100644 --- a/keyboards/orthocode/orthocode.h +++ b/keyboards/orthocode/orthocode.h | |||
@@ -17,6 +17,7 @@ | |||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #define _x_ KC_NO | 19 | #define _x_ KC_NO |
20 | #define KC_SHSP SHIFTSPACE | ||
20 | 21 | ||
21 | #include "quantum.h" | 22 | #include "quantum.h" |
22 | 23 | ||
@@ -34,3 +35,16 @@ | |||
34 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, _x_, K3D, _x_ }, \ | 35 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, _x_, K3D, _x_ }, \ |
35 | { _x_, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E} \ | 36 | { _x_, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E} \ |
36 | } | 37 | } |
38 | |||
39 | enum custom_keycodes { | ||
40 | #ifdef VIA_ENABLE | ||
41 | SHIFTSPACE = USER00, | ||
42 | #else | ||
43 | SHIFTSPACE = SAFE_RANGE, | ||
44 | #endif | ||
45 | #ifdef VIA_ENABLE | ||
46 | QWERTY = SAFE_RANGE | ||
47 | #else | ||
48 | QWERTY | ||
49 | #endif | ||
50 | }; | ||