tv44: update smt keymap to use new macros and remove custom ones
This commit is contained in:
parent
44ce179192
commit
e32e7dc0f5
|
@ -1,36 +0,0 @@
|
|||
#ifndef CONFIG_USER_H
|
||||
#define CONFIG_USER_H
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
/**
|
||||
*TV44 keymap definition macro
|
||||
*/
|
||||
#define KEYMAP_TV44( \
|
||||
K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, K12, \
|
||||
K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23, K24, \
|
||||
K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, K35, K36, \
|
||||
K37, K38, K39, K40, K41, K42, K43, K44 \
|
||||
) { \
|
||||
{ K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, K12, }, \
|
||||
{ K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23, K24, }, \
|
||||
{ K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, K35, K36, }, \
|
||||
{ K37, K38, K39, K40, KC_NO, KC_NO, KC_NO, K41, K42, K43, KC_NO, K44 } \
|
||||
}
|
||||
|
||||
/**
|
||||
*TV45 keymap definition macro (arrows layout)
|
||||
*/
|
||||
#define KEYMAP_TV45( \
|
||||
K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, K12, \
|
||||
K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23, K24, \
|
||||
K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, K35, K36, \
|
||||
K37, K38, K39, K40, K41, K42, K43, K44, K45 \
|
||||
) { \
|
||||
{ K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, K12, }, \
|
||||
{ K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23, K24, }, \
|
||||
{ K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, K35, K36, }, \
|
||||
{ K37, K38, K39, K40, KC_NO, KC_NO, KC_NO, K41, K42, K43, K44, K45 } \
|
||||
}
|
||||
|
||||
#endif
|
|
@ -49,7 +49,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
* | Alt/` | GUI | Lower | Space | Space | Raise | GUI | Alt | Ctrl |
|
||||
* `-------+---------+--------+-----^^^------+-----^^^------+---------+------+------+-------'
|
||||
*/
|
||||
[_QWERTY] = KEYMAP_TV45(
|
||||
[_QWERTY] = KEYMAP_ARROW(
|
||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||
HPR_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC ,
|
||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||
|
@ -71,7 +71,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
* | Alt/` | GUI | Lower | Space | Space | Raise | GUI | Alt | Ctrl |
|
||||
* `-------+---------+--------+-----^^^------+-----^^^------+---------+------+------+-------'
|
||||
*/
|
||||
[_COLEMAK] = KEYMAP_TV45(
|
||||
[_COLEMAK] = KEYMAP_ARROW(
|
||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||
HPR_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC ,
|
||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||
|
@ -93,7 +93,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
* | Alt/` | GUI | Lower | Space | Space | Raise | GUI | Alt | Ctrl |
|
||||
* `-------+---------+--------+-----^^^------+-----^^^------+---------+------+------+-------'
|
||||
*/
|
||||
[_DVORAK] = KEYMAP_TV45(
|
||||
[_DVORAK] = KEYMAP_ARROW(
|
||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||
HPR_TAB,KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC ,
|
||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||
|
@ -115,7 +115,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
* | Brite | | | Home | End | | Left | Down | Right |
|
||||
* `-------+---------+--------+-----^^^------+-----^^^------+---------+------+------+-------'
|
||||
*/
|
||||
[_LOWER] = KEYMAP_TV45(
|
||||
[_LOWER] = KEYMAP_ARROW(
|
||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||
ALL_T(KC_0), KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL ,
|
||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||
|
@ -137,7 +137,7 @@ ALT_T(BACKLIT), _______ , _______ , KC_HOME , KC_END , _____
|
|||
* | Brite | | | Play | Next | | Mute | Vol- | Vol+ |
|
||||
* `-------+---------+--------+-----^^^------+-----^^^------+---------+------+------+-------'
|
||||
*/
|
||||
[_RAISE] = KEYMAP_TV45(
|
||||
[_RAISE] = KEYMAP_ARROW(
|
||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||
ALL_T(KC_TILD),KC_EXLM,KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL ,
|
||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||
|
@ -159,7 +159,7 @@ ALT_T(BACKLIT), _______ , _______ , KC_MPLY , KC_MNXT , _____
|
|||
* | | | | | | | | | |
|
||||
* `-------+---------+--------+-----^^^------+-----^^^------+---------+------+------+-------'
|
||||
*/
|
||||
[_ADJUST] = KEYMAP_TV45(
|
||||
[_ADJUST] = KEYMAP_ARROW(
|
||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||
_______, RESET , _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET ,
|
||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||
|
|
|
@ -4,7 +4,7 @@ This keymap is based on a combination of my Planck keymap and [jeebak's TV44 lay
|
|||
|
||||
I had been using something close to the default Minivan layout, but after spending a bit of time with the Planck and Preonic, I decided it would be better for me to try to standardize to some degree, where possible.
|
||||
|
||||
Also, it's worth noting that my Minivan is one with the "arrows" layout, which has a 45th key, so I had to define a new KEYMAP_TV45 macro in config.h. In spite of this, the 45-key Minivan is still technically considered a "TV44" as far as I know.
|
||||
Also, it's worth noting that my Minivan is one with the "arrows" layout, which has a 45th key. In spite of this, the 45-key Minivan is still technically considered a "TV44" as far as I know.
|
||||
|
||||
![smt's TV44 keymap](https://i.imgur.com/Y4n6eHj.png)
|
||||
|
||||
|
|
Loading…
Reference in New Issue