diff options
author | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2018-11-13 08:26:55 -0800 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-11-13 08:26:55 -0800 |
commit | 7e87532ec261bcc30d7fa5dfc5bf6427e2d3d36e (patch) | |
tree | 8afaabc3a405debe4b964829c72fe9172cde9641 /keyboards/converter/ibm_terminal/ibm_terminal.h | |
parent | 709bf386f4429687a8ec73ebd29193e5f209461b (diff) | |
download | qmk_firmware-7e87532ec261bcc30d7fa5dfc5bf6427e2d3d36e.tar.gz qmk_firmware-7e87532ec261bcc30d7fa5dfc5bf6427e2d3d36e.zip |
converter/ibm_terminal Refactor and Configurator support (#4414)
* IBM Terminal converter: layout macro refactor
- Renamed KEYMAP to LAYOUT
- Renamed KEYMAP_101 to LAYOUT_101
- minor matrix array fixes
* IBM Terminal converter: default keymap refactor
- Updated layout macro names
- Updated to #include QMK_KEYBOARD_H
- config.h updated to use #pragma once
* IBM Terminal converter: priyadi keymap refactor
- Updated layout macro names
- Updated to #include QMK_KEYBOARD_H
- Removed redundant KC_TRNS and KC_NO defines
- config.h updated to use #pragma once
* IBM Terminal converter: Configurator support
* IBM Terminal converter: readme cleanup
Updated markdown formatting.
* IBM Terminal converter: readme rename
Renamed file to fully lowercase.
Diffstat (limited to 'keyboards/converter/ibm_terminal/ibm_terminal.h')
-rw-r--r-- | keyboards/converter/ibm_terminal/ibm_terminal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/converter/ibm_terminal/ibm_terminal.h b/keyboards/converter/ibm_terminal/ibm_terminal.h index c6468349ca..adf048206e 100644 --- a/keyboards/converter/ibm_terminal/ibm_terminal.h +++ b/keyboards/converter/ibm_terminal/ibm_terminal.h @@ -19,7 +19,7 @@ void matrix_init_user(void); * 17| | * +---------+ */ -#define KEYMAP( \ +#define LAYOUT( \ K08,K10,K18,K20,K28,K30,K38,K40,K48,K50,K57,K5F, \ K07,K0F,K17,K1F,K27,K2F,K37,K3F,K47,K4F,K56,K5E, \ \ @@ -45,13 +45,13 @@ void matrix_init_user(void); { K68, K69, K6A, K6B, K6C, K6D, K6E, K6F }, \ { K70, K71, K72, K73, K74, K75, K76, K77 }, \ { K78, K79, K7A, K7B, K7C, K7D, K7E, KC_NO }, \ - { KC_NO, KC_NO, KC_NO, K83, K84, KC_NO, KC_NO, KC_NO,}, \ + { KC_NO, KC_NO, KC_NO, K83, K84, KC_NO, KC_NO, KC_NO } \ } /* * IBM Terminal keyboard 1399625, 101-key */ -#define KEYMAP_101( \ +#define LAYOUT_101( \ K08, K07,K0F,K17,K1F,K27,K2F,K37,K3F,K47,K4F,K56,K5E, K57,K5F,K62, \ \ K0E,K16,K1E,K26,K25,K2E,K36,K3D,K3E,K46,K45,K4E,K55,K66, K67,K6E,K6F, K76,K77,K7E,K84, \ @@ -76,7 +76,7 @@ void matrix_init_user(void); { KC_NO, K69, K6A, K6B, K6C, K6D, K6E, K6F }, \ { K70, K71, K72, K73, K74, K75, K76, K77 }, \ { KC_NO, K79, K7A, KC_NO, K7C, K7D, K7E, KC_NO }, \ - { KC_NO, KC_NO, KC_NO, KC_NO, K84, KC_NO, KC_NO, KC_NO,}, \ + { KC_NO, KC_NO, KC_NO, KC_NO, K84, KC_NO, KC_NO, KC_NO } \ } -#endif
\ No newline at end of file +#endif |