diff options
Diffstat (limited to 'keyboards/6ball/keymaps/default/keymap.c')
| -rw-r--r-- | keyboards/6ball/keymaps/default/keymap.c | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/keyboards/6ball/keymaps/default/keymap.c b/keyboards/6ball/keymaps/default/keymap.c index f93587ffc..5081161e3 100644 --- a/keyboards/6ball/keymaps/default/keymap.c +++ b/keyboards/6ball/keymaps/default/keymap.c | |||
| @@ -1,28 +1,22 @@ | |||
| 1 | #include "6ball.h" | 1 | #include QMK_KEYBOARD_H |
| 2 | 2 | ||
| 3 | #define _MAIN 0 | 3 | #define _MAIN 0 |
| 4 | #define _FN 1 | 4 | #define _FN 1 |
| 5 | 5 | ||
| 6 | #define KC_ KC_TRNS | ||
| 7 | |||
| 8 | #define KC_CAPW LGUI(LSFT(KC_3)) // Capture whole screen | 6 | #define KC_CAPW LGUI(LSFT(KC_3)) // Capture whole screen |
| 9 | #define KC_CPYW LGUI(LSFT(LCTL(KC_3))) // Copy whole screen | 7 | #define KC_CPYW LGUI(LSFT(LCTL(KC_3))) // Copy whole screen |
| 10 | #define KC_CAPP LGUI(LSFT(KC_4)) // Capture portion of screen | 8 | #define KC_CAPP LGUI(LSFT(KC_4)) // Capture portion of screen |
| 11 | #define KC_CPYP LGUI(LSFT(LCTL(KC_4))) // Copy portion of screen | 9 | #define KC_CPYP LGUI(LSFT(LCTL(KC_4))) // Copy portion of screen |
| 12 | #define KC_X0 LT(_FN, KC_ESC) | 10 | #define KC_X0 LT(_FN, KC_ESC) |
| 13 | #define KC_RTOG RGB_TOG | ||
| 14 | #define KC_RMOD RGB_MOD | ||
| 15 | #define KC_RHUI RGB_HUI | ||
| 16 | #define KC_RHUD RGB_HUD | ||
| 17 | 11 | ||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 12 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 19 | [_MAIN] = KC_KEYMAP( | 13 | [_MAIN] = LAYOUT( |
| 20 | F , X0 ,LCTL, | 14 | KC_F, KC_X0, KC_LCTL, |
| 21 | R , D , M | 15 | KC_R, KC_D, KC_M |
| 22 | ), | 16 | ), |
| 23 | 17 | ||
| 24 | [_FN] = KC_KEYMAP( | 18 | [_FN] = LAYOUT( |
| 25 | F , ,RHUI, | 19 | KC_F, KC_TRNS, RGB_HUI, |
| 26 | RTOG,RMOD,RHUD | 20 | RGB_TOG, RGB_MOD, RGB_HUD |
| 27 | ) | 21 | ) |
| 28 | }; | 22 | }; |
