diff options
author | noroadsleft <[email protected]> | 2018-08-17 16:12:22 -0700 |
---|---|---|
committer | Drashna Jaelre <[email protected]> | 2018-08-17 16:12:22 -0700 |
commit | 19fdfccca28f923a12351fbee6c8c8282dca004e (patch) | |
tree | cfd4f63a47fbdb4bcfaeb0738956738582c5d4bf /keyboards/ckeys/nakey/nakey.h | |
parent | 9175eebc8796f31a481ba16b1ca2ba9e4432502e (diff) | |
download | qmk_firmware-19fdfccca28f923a12351fbee6c8c8282dca004e.tar.gz qmk_firmware-19fdfccca28f923a12351fbee6c8c8282dca004e.zip |
Keyboard: Ckeys refactor (#3681)
* Obelus Refactor: LAYOUT to LAYOUT_ortho_4x4
- Keymap also now uses #include QMK_KEYBOARD_H
- Readability and white space changes
- rules.mk now has LAYOUTS = ortho_4x4
- added info.json
* naKey Refactor: LAYOUT to LAYOUT_numpad_5x4
- Matrix LAYOUT renamed to LAYOUT_numpad_5x4
- Now supports community layout numpad_5x4
- White space changes
* naKey Configurator update
Updated order of JSON objects to match new matrix order.
Diffstat (limited to 'keyboards/ckeys/nakey/nakey.h')
-rw-r--r-- | keyboards/ckeys/nakey/nakey.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/ckeys/nakey/nakey.h b/keyboards/ckeys/nakey/nakey.h index 3cbfda844d..bbf531fb68 100644 --- a/keyboards/ckeys/nakey/nakey.h +++ b/keyboards/ckeys/nakey/nakey.h @@ -22,14 +22,13 @@ // The following is an example using the Planck MIT layout // The first section contains all of the arguments // The second converts the arguments into a two-dimensional array -#define LAYOUT( \ +#define LAYOUT_numpad_5x4( \ k00, k01, k02, k03, \ - k10, k11, k12, k13, \ - k20, k21, k22, \ - k30, k31, k32, k33, \ - k40, k41 \ -) \ -{ \ + k10, k11, k12, \ + k20, k21, k22, k13, \ + k30, k31, k32, \ + k40, k41, k33 \ +) { \ { k00, k01, k02, k03 }, \ { k10, k11, k12, k13 }, \ { k20, k21, k22, KC_NO }, \ |