diff options
Diffstat (limited to 'keyboards/laplace/keymaps/default/keymap.c')
| -rw-r--r-- | keyboards/laplace/keymaps/default/keymap.c | 72 |
1 files changed, 24 insertions, 48 deletions
diff --git a/keyboards/laplace/keymaps/default/keymap.c b/keyboards/laplace/keymaps/default/keymap.c index c06cbdc7f..03b7c9b15 100644 --- a/keyboards/laplace/keymaps/default/keymap.c +++ b/keyboards/laplace/keymaps/default/keymap.c | |||
| @@ -1,63 +1,39 @@ | |||
| 1 | #include "laplace.h" | 1 | #include QMK_KEYBOARD_H |
| 2 | 2 | ||
| 3 | #define _BASE 0 | 3 | #define _BASE 0 |
| 4 | #define _FN1 1 | 4 | #define _FN1 1 |
| 5 | #define _FN2 2 | 5 | #define _FN2 2 |
| 6 | 6 | ||
| 7 | #define KC_ KC_TRNS | ||
| 8 | #define _______ KC_TRNS | 7 | #define _______ KC_TRNS |
| 9 | #define XXXXXXX KC_NO | 8 | #define XXXXXXX KC_NO |
| 10 | #define KC_FN1 MO(_FN1) | 9 | |
| 11 | #define KC_FN2 MO(_FN2) | 10 | #define FN1 MO(_FN1) |
| 12 | #define KC_SPFN1 LT(_FN1, KC_SPACE) | 11 | #define FN2 MO(_FN2) |
| 13 | #define KC_SPFN2 LT(_FN2, KC_SPACE) | 12 | #define SP_FN1 LT(_FN1, KC_SPACE) |
| 14 | #define KC_BSFN1 LT(_FN1, KC_BSPC) | 13 | #define SP_FN2 LT(_FN2, KC_SPACE) |
| 15 | #define KC_BSFN2 LT(_FN2, KC_BSPC) | 14 | #define BS_FN1 LT(_FN1, KC_BSPC) |
| 16 | #define KC_RST RESET | 15 | #define BS_FN2 LT(_FN2, KC_BSPC) |
| 17 | #define KC_DBUG DEBUG | ||
| 18 | #define KC_RTOG RGB_TOG | ||
| 19 | #define KC_RMOD RGB_MOD | ||
| 20 | #define KC_RHUI RGB_HUI | ||
| 21 | #define KC_RHUD RGB_HUD | ||
| 22 | #define KC_RSAI RGB_SAI | ||
| 23 | #define KC_RSAD RGB_SAD | ||
| 24 | #define KC_RVAI RGB_VAI | ||
| 25 | #define KC_RVAD RGB_VAD | ||
| 26 | 16 | ||
| 27 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 17 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 28 | [_BASE] = KC_KEYMAP( | 18 | |
| 29 | //,----+----+----+----+----+----|----+----+----+----+----+----+----. | 19 | [_BASE] = LAYOUT( |
| 30 | ESC , Q , W , E , R , T , Y , U , I , O , P ,DEL ,BSPC, | 20 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, KC_BSPC, |
| 31 | //|----`----`----`----`----`----`----`----`----`----`----`----`----+ | 21 | KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, |
| 32 | TAB , A , S , D , F , G , H , J , K , L ,QUOT, ENTER , | 22 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, |
| 33 | //|-----`----`----`----`----`----`----`----`----`----`----`--------| | 23 | KC_LCTL, KC_LALT, KC_LGUI, FN1, SP_FN1, BS_FN2, KC_RGUI, KC_RALT, FN2, KC_RCTL |
| 34 | LSFT , Z , X , C , V , B , N , M ,COMM,DOT ,SLSH, RSFT , | ||
| 35 | //|-------`----`----`----`----`----`----`----`----`----`----`------| | ||
| 36 | LCTL ,LALT,LGUI ,FN1 , SPFN1 , BSFN2 ,RGUI ,RALT , FN2 , RCTL | ||
| 37 | //`-----+----+-----+----+--------`--------+-----+-----+-----+------' | ||
| 38 | ), | 24 | ), |
| 39 | 25 | ||
| 40 | [_FN1] = KC_KEYMAP( | 26 | [_FN1] = LAYOUT( |
| 41 | //,----+----+----+----+----+----+----+----+----+----+----+----+----. | 27 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, |
| 42 | GRV , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 ,MINS,EQL , | 28 | RESET, RGB_HUI, RGB_SAI, RGB_VAI, KC_VOLU, KC_LBRC, KC_RBRC, KC_4, KC_5, KC_6, KC_SCLN, _______, |
| 43 | //|----`----`----`----`----`----`----`----`----`----`----`----`----+ | 29 | RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, KC_VOLD, KC_LCBR, KC_RCBR, KC_1, KC_2, KC_3, KC_UP, _______, |
| 44 | RST ,RHUI,RSAI,RVAI,VOLU,LBRC,RBRC, 4 , 5 , 6 ,SCLN, , | 30 | RGB_TOG, _______, _______, _______, _______, KC_DEL, KC_0, KC_LEFT, KC_DOWN, KC_RGHT |
| 45 | //|-----`----`----`----`----`----`----`----`----`----`----`--------+ | ||
| 46 | RMOD ,RHUD,RSAD,RVAD,VOLD,LCBR,RCBR, 1 , 2 , 3 , UP , , | ||
| 47 | //|-------`----`----`----`----`----`----`----`----`----`----`------+ | ||
| 48 | RTOG , , , , , DEL , 0 ,LEFT ,DOWN , RGHT | ||
| 49 | //`-----+----+-----+----+--------+--------+-----+-----+-----+------' | ||
| 50 | ), | 31 | ), |
| 51 | 32 | ||
| 52 | [_FN2] = KC_KEYMAP( | 33 | [_FN2] = LAYOUT( |
| 53 | //,----+----+----+----+----+----+----+----+----+----+----+----+----. | 34 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_UNDS, KC_PLUS, |
| 54 | TILD,EXLM, AT ,HASH,DLR ,PERC,CIRC,AMPR,ASTR,LPRN,RPRN,UNDS,PLUS, | 35 | _______, _______, _______, KC_INS, KC_PGUP, KC_HOME, _______, _______, _______, _______, KC_COLN, _______, |
| 55 | //|----`----`----`----`----`----`----`----`----`----`----`----`----+ | 36 | _______, _______, _______, KC_DEL, KC_PGDN, KC_END, _______, _______, _______, _______, _______, _______, |
| 56 | , , ,INS ,PGUP,HOME, , , , ,COLN, , | 37 | _______, _______, _______, _______, KC_DEL, _______, _______, _______, _______, _______ |
| 57 | //|-----`----`----`----`----`----`----`----`----`----`----`--------+ | ||
| 58 | , , ,DEL ,PGDN,END , , , , , , , | ||
| 59 | //|-------`----`----`----`----`----`----`----`----`----`----`------+ | ||
| 60 | , , , , DEL , , , , , | ||
| 61 | //`-----+----+-----+----+--------+--------+-----+-----+-----+------' | ||
| 62 | ) | 38 | ) |
| 63 | }; | 39 | }; |
