tv44: update jeebak keymap to use new macros and remove custom ones
This commit is contained in:
parent
e32e7dc0f5
commit
b56a9a9899
2 changed files with 9 additions and 30 deletions
|
@ -1,21 +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 } \
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
|
@ -91,7 +91,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
* | Alt | GUI | Lower | TC/Space | TC/Space | Raise | Vol+ | Play |
|
* | Alt | GUI | Lower | TC/Space | TC/Space | Raise | Vol+ | Play |
|
||||||
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
||||||
*/
|
*/
|
||||||
[_QWERTY] = KEYMAP_TV44(
|
[_QWERTY] = KEYMAP(
|
||||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||||
HPR_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC ,
|
HPR_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC ,
|
||||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||||
|
@ -113,7 +113,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
* | Alt | GUI | Lower | TC/Space | TC/Space | Raise | Vol+ | Play |
|
* | Alt | GUI | Lower | TC/Space | TC/Space | Raise | Vol+ | Play |
|
||||||
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
||||||
*/
|
*/
|
||||||
[_COLEMAK] = KEYMAP_TV44(
|
[_COLEMAK] = KEYMAP(
|
||||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||||
HPR_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC ,
|
HPR_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC ,
|
||||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||||
|
@ -135,7 +135,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
* | Alt | GUI | Lower | TC/Space | TC/Space | Raise | Vol+ | Play |
|
* | Alt | GUI | Lower | TC/Space | TC/Space | Raise | Vol+ | Play |
|
||||||
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
||||||
*/
|
*/
|
||||||
[_DVORAK] = KEYMAP_TV44(
|
[_DVORAK] = KEYMAP(
|
||||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||||
HPR_TAB,KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC ,
|
HPR_TAB,KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC ,
|
||||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||||
|
@ -157,7 +157,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
* | Brite | | | | | | Vol- | Mute |
|
* | Brite | | | | | | Vol- | Mute |
|
||||||
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
||||||
*/
|
*/
|
||||||
[_LOWER] = KEYMAP_TV44(
|
[_LOWER] = KEYMAP(
|
||||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||||
KC_TILD,KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC ,
|
KC_TILD,KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC ,
|
||||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||||
|
@ -179,7 +179,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
* | Brite | | | | | | Vol- | Mute |
|
* | Brite | | | | | | Vol- | Mute |
|
||||||
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
||||||
*/
|
*/
|
||||||
[_RAISE] = KEYMAP_TV44(
|
[_RAISE] = KEYMAP(
|
||||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||||
KC_0 , KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC ,
|
KC_0 , KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC ,
|
||||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||||
|
@ -205,7 +205,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
* seem to work on Mac. Presumably they'll work under Windows.
|
* seem to work on Mac. Presumably they'll work under Windows.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[_TOUCHCURSOR] = KEYMAP_TV44(
|
[_TOUCHCURSOR] = KEYMAP(
|
||||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||||
ALT_TAB,CMD_TAB, CTL_TAB, KC_LGUI, KC_LSFT, KC_TILD, KC_INS, KC_HOME, KC_UP, KC_END, KC_BSPC, _______ ,
|
ALT_TAB,CMD_TAB, CTL_TAB, KC_LGUI, KC_LSFT, KC_TILD, KC_INS, KC_HOME, KC_UP, KC_END, KC_BSPC, _______ ,
|
||||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||||
|
@ -228,7 +228,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[_MOUSECURSOR] = KEYMAP_TV44(
|
[_MOUSECURSOR] = KEYMAP(
|
||||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||||
_______,_______, KC_ACL0, _______, _______, _______, _______, KC_WH_L, KC_MS_U, KC_WH_R, KC_BTN2, _______ ,
|
_______,_______, KC_ACL0, _______, _______, _______, _______, KC_WH_L, KC_MS_U, KC_WH_R, KC_BTN2, _______ ,
|
||||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||||
|
@ -251,7 +251,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[_PLOVER] = KEYMAP_TV44(
|
[_PLOVER] = KEYMAP(
|
||||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||||
KC_1 , KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1 ,
|
KC_1 , KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1 ,
|
||||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||||
|
@ -273,7 +273,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
* | | | | | | | | Reset |
|
* | | | | | | | | Reset |
|
||||||
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
* `--------+---------+---------+------^^^-------+-----^^^--------+---------+---------+---------'
|
||||||
*/
|
*/
|
||||||
[_ADJUST] = KEYMAP_TV44(
|
[_ADJUST] = KEYMAP(
|
||||||
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
/*,--------+-------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------.*/
|
||||||
_______,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL ,
|
_______,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL ,
|
||||||
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
/*|--------`-------`--------`--------`--------`--------`--------`--------`--------`--------`--------`-----------------|*/
|
||||||
|
|
Loading…
Reference in a new issue