diff options
author | Jeff Hastings <jeffmhastings@gmail.com> | 2019-04-19 13:43:15 -0400 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-04-19 10:43:15 -0700 |
commit | 5539d7affb52f467b41eb9245045ee4768a6b391 (patch) | |
tree | fd3d467a8474c806f54a2356960cc4076d01c5d6 /keyboards/1upkeyboards/super16/super16.h | |
parent | 7fa854729c4391e5ae3b09e134eccd73f1307ac1 (diff) | |
download | firmware-5539d7affb52f467b41eb9245045ee4768a6b391.tar.gz firmware-5539d7affb52f467b41eb9245045ee4768a6b391.tar.bz2 firmware-5539d7affb52f467b41eb9245045ee4768a6b391.zip |
[Keyboard] Update 1upkeyboards/super16 with code from vendor (#5645)
* readme formatting
* cleanup rules.mk
* update config.h
* add numpad layout
* Update default keymap
* cleanup rules
* disable console and commands to fit the bootloader
* cleanup whitespace
* revert readme changes
* revert changes to config.h
* remove unused keycodes
* add LAYOUTS to rules.mk
* remove redundant config setting
Co-Authored-By: jeffmhastings <jeffmhastings@gmail.com>
Diffstat (limited to 'keyboards/1upkeyboards/super16/super16.h')
-rw-r--r-- | keyboards/1upkeyboards/super16/super16.h | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/keyboards/1upkeyboards/super16/super16.h b/keyboards/1upkeyboards/super16/super16.h index a95f687b1..0595af8dc 100644 --- a/keyboards/1upkeyboards/super16/super16.h +++ b/keyboards/1upkeyboards/super16/super16.h @@ -25,15 +25,27 @@ * The second converts the arguments into a two-dimensional array which * represents the switch matrix. */ + #define LAYOUT_ortho_4x4( \ - k00, k01, k02, k03, \ - k10, k11, k12, k13, \ - k20, k21, k22, k23, \ - k30, k31, k32, k33 \ -) \ -{ \ - { k00, k01, k02, k03 }, \ - { k10, k11, k12, k13 }, \ - { k20, k21, k22, k23 }, \ - { k30, k31, k32, k33 }, \ + K00, K01, K02, K03, \ + K10, K11, K12, K13, \ + K20, K21, K22, K23, \ + K30, K31, K32, K33 \ +) { \ + { K00, K01, K02, K03 }, \ + { K10, K11, K12, K13 }, \ + { K20, K21, K22, K23 }, \ + { K30, K31, K32, K33 } \ +} + +#define LAYOUT_numpad_4x4( \ + K00, K01, K02, K03, \ + K10, K11, K12, \ + K20, K21, K22, K23, \ + K31, K32 \ +) { \ + { K00, K01, K02, K03 }, \ + { K10, K11, K12, KC_NO }, \ + { K20, K21, K22, K23 }, \ + { KC_NO, K31, K32, KC_NO } \ } |