Levi thumb cluster popravljen
parent
7384b83935
commit
8a8ad0aa65
|
@ -28,42 +28,40 @@ extern uint8_t mcp23018_status;
|
|||
void init_dactyl(void);
|
||||
uint8_t init_mcp23018(void);
|
||||
|
||||
#define KEYMAP( \
|
||||
\
|
||||
/* left hand, spatial positions */ \
|
||||
k00,k01,k02,k03,k04,k05, \
|
||||
k10,k11,k12,k13,k14,k15, \
|
||||
k20,k21,k22,k23,k24,k25, \
|
||||
k30,k31,k32,k33,k34,k35, \
|
||||
k42,k43,k44,k45, \
|
||||
k52,k53, \
|
||||
k54,k55, \
|
||||
\
|
||||
/* right hand, spatial positions */ \
|
||||
k06,k07,k08,k09,k0A,k0B, \
|
||||
k16,k17,k18,k19,k1A,k1B, \
|
||||
k26,k27,k28,k29,k2A,k2B, \
|
||||
k36,k37,k38,k39,k3A,k3B, \
|
||||
k46,k47,k48,k49, \
|
||||
k56,k57, \
|
||||
k58,k59 ) \
|
||||
\
|
||||
/* matrix positions */ \
|
||||
{ \
|
||||
{ k00, k10, k20, k30, KC_NO, KC_NO }, \
|
||||
{ k01, k11, k21, k31, KC_NO, KC_NO }, \
|
||||
{ k02, k12, k22, k32, k42, k52 }, \
|
||||
{ k03, k13, k23, k33, k43, k53 }, \
|
||||
{ k04, k14, k24, k34, k44, k54 }, \
|
||||
{ k05, k15, k25, k35, k45, k55 }, \
|
||||
\
|
||||
{ k06, k16, k26, k36, k46, k56 }, \
|
||||
{ k07, k17, k27, k37, k47, k57 }, \
|
||||
{ k08, k18, k28, k38, k48, k58 }, \
|
||||
{ k09, k19, k29, k39, k49, k59 }, \
|
||||
{ k0A, k1A, k2A, k3A, KC_NO, KC_NO }, \
|
||||
{ k0B, k1B, k2B, k3B, KC_NO, KC_NO } \
|
||||
}
|
||||
#define KEYMAP( \
|
||||
\
|
||||
/* left hand, spatial positions */ \
|
||||
k00,k01,k02,k03,k04,k05, \
|
||||
k10,k11,k12,k13,k14,k15, \
|
||||
k20,k21,k22,k23,k24,k25, \
|
||||
k30,k31,k32,k33,k34,k35, \
|
||||
k42,k43,k55,k54, \
|
||||
k50,k53, \
|
||||
k51,k52, \
|
||||
\
|
||||
/* right hand, spatial positions */ \
|
||||
k06,k07,k08,k09,k0A,k0B, \
|
||||
k16,k17,k18,k19,k1A,k1B, \
|
||||
k26,k27,k28,k29,k2A,k2B, \
|
||||
k36,k37,k38,k39,k3A,k3B, \
|
||||
k46,k47,k48,k49, \
|
||||
k56,k57, \
|
||||
k58,k59) \
|
||||
\
|
||||
/* matrix positions */ \
|
||||
{{ k00, k10, k20, k30, KC_NO, k50 }, \
|
||||
{ k01, k11, k21, k31, KC_NO, k51 }, \
|
||||
{ k02, k12, k22, k32, k42, k52 }, \
|
||||
{ k03, k13, k23, k33, k43, k53 }, \
|
||||
{ k04, k14, k24, k34, KC_NO, k54 }, \
|
||||
{ k05, k15, k25, k35, KC_NO, k55 }, \
|
||||
\
|
||||
{ k06, k16, k26, k36, k46, k56 }, \
|
||||
{ k07, k17, k27, k37, k47, k57 }, \
|
||||
{ k08, k18, k28, k38, k48, k58 }, \
|
||||
{ k09, k19, k29, k39, k49, k59 }, \
|
||||
{ k0A, k1A, k2A, k3A, KC_NO, KC_NO }, \
|
||||
{ k0B, k1B, k2B, k3B, KC_NO, KC_NO }}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -48,13 +48,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
ALT_T(KC_APP), LGUI_T(KC_ESC),
|
||||
KC_END, KC_HOME,
|
||||
// right hand
|
||||
KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
|
||||
KC_Y, KC_U, KC_I, KC_O, KC_P,LT(TKTK,KC_BSLS),
|
||||
KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN), KC_RSPC,
|
||||
KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(KC_SLSH),LT(SYMB,KC_QUOT),
|
||||
KC_TAB, KC_ENT, KC_LBRC, KC_RBRC,
|
||||
LGUI_T(KC_ESC), KC_RALT,
|
||||
KC_PGUP, KC_PGDN
|
||||
KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
|
||||
KC_Y, KC_U, KC_I, KC_O, KC_P,LT(TKTK,KC_BSLS),
|
||||
KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN), KC_RSPC,
|
||||
KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(KC_SLSH),LT(SYMB,KC_QUOT),
|
||||
KC_TAB, KC_ENT, KC_LBRC, KC_RBRC,
|
||||
LGUI_T(KC_ESC), KC_RALT,
|
||||
KC_PGUP, KC_PGDN
|
||||
),
|
||||
/* Keymap 1: Symbol Layer
|
||||
*
|
||||
|
@ -88,13 +88,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS,
|
||||
// right hand
|
||||
KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
KC_AMPR, KC_7, KC_8, KC_9, KC_ASTR, KC_F12,
|
||||
KC_CIRC, KC_4, KC_5, KC_6, KC_PLUS, KC_EQL,
|
||||
KC_UNDS, KC_1, KC_2, KC_3, KC_MINS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_DOT, KC_0,
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS
|
||||
KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
KC_AMPR, KC_7, KC_8, KC_9, KC_ASTR, KC_F12,
|
||||
KC_CIRC, KC_4, KC_5, KC_6, KC_PLUS, KC_EQL,
|
||||
KC_UNDS, KC_1, KC_2, KC_3, KC_MINS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_DOT, KC_0,
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS
|
||||
),
|
||||
/* Keymap 2: Media and mouse keys
|
||||
* ,-----------------------------------------. ,-----------------------------------------.
|
||||
|
@ -127,32 +127,32 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
KC_MPLY, KC_BTN3,
|
||||
KC_MPRV, KC_MNXT,
|
||||
// right hand
|
||||
RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY,
|
||||
KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_TRNS, KC_MPLY,
|
||||
KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU,
|
||||
KC_TRNS, KC_MUTE,
|
||||
KC_TRNS, KC_TRNS
|
||||
RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY,
|
||||
KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_TRNS, KC_MPLY,
|
||||
KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU,
|
||||
KC_TRNS, KC_MUTE,
|
||||
KC_TRNS, KC_TRNS
|
||||
),
|
||||
// TK LAYER
|
||||
[TKTK] = LAYOUT_dactyl(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
RESET, KC_TRNS, KC_WH_U, KC_MS_U, KC_WH_D, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, DYN_MACRO_PLAY1, DYN_REC_START1,
|
||||
KC_MPLY, DYN_REC_STOP,
|
||||
KC_MPRV, KC_MNXT,
|
||||
// right hand
|
||||
RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY,
|
||||
KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_TRNS, KC_MPLY,
|
||||
KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
|
||||
DYN_REC_START2, DYN_MACRO_PLAY2, KC_VOLD, KC_VOLU,
|
||||
DYN_REC_STOP, KC_MUTE,
|
||||
KC_TRNS, KC_TRNS
|
||||
),
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
RESET, KC_TRNS, KC_WH_U, KC_MS_U, KC_WH_D, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, DYN_MACRO_PLAY1, DYN_REC_START1,
|
||||
KC_MPLY, DYN_REC_STOP,
|
||||
KC_MPRV, KC_MNXT,
|
||||
// right hand
|
||||
RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY,
|
||||
KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_TRNS, KC_MPLY,
|
||||
KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
|
||||
DYN_REC_START2, DYN_MACRO_PLAY2, KC_VOLD, KC_VOLU,
|
||||
DYN_REC_STOP, KC_MUTE,
|
||||
KC_TRNS, KC_TRNS
|
||||
),
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
|
@ -194,10 +194,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
}
|
||||
|
||||
// Runs just one time when the keyboard initializes.
|
||||
void matrix_init_user(void) {
|
||||
|
||||
};
|
||||
|
||||
void matrix_init_user(void) {};
|
||||
|
||||
// Runs constantly in the background, in a loop.
|
||||
void matrix_scan_user(void) {};
|
||||
|
|
Loading…
Reference in New Issue