diff options
| -rw-r--r-- | keyboards/helix/rev2/keymaps/xulkal/config.h | 38 | ||||
| -rw-r--r-- | keyboards/helix/rev2/keymaps/xulkal/keymap.c | 8 | ||||
| -rw-r--r-- | keyboards/rgbkb/sol/keymaps/xulkal/config.h | 2 | ||||
| -rw-r--r-- | keyboards/rgbkb/sol/keymaps/xulkal/rules.mk | 3 | ||||
| -rw-r--r-- | users/xulkal/config.h | 7 | ||||
| -rw-r--r-- | users/xulkal/layouts.h | 2 | ||||
| -rw-r--r-- | users/xulkal/process_records.c | 2 |
7 files changed, 52 insertions, 10 deletions
diff --git a/keyboards/helix/rev2/keymaps/xulkal/config.h b/keyboards/helix/rev2/keymaps/xulkal/config.h new file mode 100644 index 000000000..e2b325450 --- /dev/null +++ b/keyboards/helix/rev2/keymaps/xulkal/config.h | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | /* | ||
| 2 | This is the c configuration file for the keymap | ||
| 3 | |||
| 4 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 5 | Copyright 2015 Jack Humbert | ||
| 6 | |||
| 7 | This program is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #pragma once | ||
| 22 | |||
| 23 | // place overrides here | ||
| 24 | |||
| 25 | // If you need more program area, try select and reduce rgblight modes to use. | ||
| 26 | |||
| 27 | // Selection of RGBLIGHT MODE to use. | ||
| 28 | #if defined(LED_ANIMATIONS) | ||
| 29 | # define RGBLIGHT_EFFECT_BREATHING | ||
| 30 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 31 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 32 | # define RGBLIGHT_EFFECT_SNAKE | ||
| 33 | # define RGBLIGHT_EFFECT_KNIGHT | ||
| 34 | # define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 35 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 36 | //#define RGBLIGHT_EFFECT_RGB_TEST | ||
| 37 | //#define RGBLIGHT_EFFECT_ALTERNATING | ||
| 38 | #endif | ||
diff --git a/keyboards/helix/rev2/keymaps/xulkal/keymap.c b/keyboards/helix/rev2/keymaps/xulkal/keymap.c index 3fad64dea..fecdf4cbd 100644 --- a/keyboards/helix/rev2/keymaps/xulkal/keymap.c +++ b/keyboards/helix/rev2/keymaps/xulkal/keymap.c | |||
| @@ -27,8 +27,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 27 | _________________QWERTY_L1_________________, _________________QWERTY_R1_________________, \ | 27 | _________________QWERTY_L1_________________, _________________QWERTY_R1_________________, \ |
| 28 | _________________QWERTY_L2_________________, _________________QWERTY_R2_________________, \ | 28 | _________________QWERTY_L2_________________, _________________QWERTY_R2_________________, \ |
| 29 | _________________QWERTY_L3_________________, _________________QWERTY_R3_________________, \ | 29 | _________________QWERTY_L3_________________, _________________QWERTY_R3_________________, \ |
| 30 | _________________QWERTY_L4_________________, RGB_TOG, RGBRST, _________________QWERTY_R4_________________, \ | 30 | _________________QWERTY_L4_________________, KC_MINS, KC_EQL, _________________QWERTY_R4_________________, \ |
| 31 | _________________QWERTY_L5_________________, RGB_RMOD, RGB_MOD, _________________QWERTY_R5_________________ \ | 31 | _________________QWERTY_L5_________________, KC_LBRC, KC_RBRC, _________________QWERTY_R5_________________ \ |
| 32 | ), | 32 | ), |
| 33 | 33 | ||
| 34 | #ifndef GAMELAYER_DISABLE | 34 | #ifndef GAMELAYER_DISABLE |
| @@ -36,8 +36,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 36 | ___________________GAME_L1_________________, ___________________GAME_R1_________________, \ | 36 | ___________________GAME_L1_________________, ___________________GAME_R1_________________, \ |
| 37 | ___________________GAME_L2_________________, ___________________GAME_R2_________________, \ | 37 | ___________________GAME_L2_________________, ___________________GAME_R2_________________, \ |
| 38 | ___________________GAME_L3_________________, ___________________GAME_R3_________________, \ | 38 | ___________________GAME_L3_________________, ___________________GAME_R3_________________, \ |
| 39 | ___________________GAME_L4_________________, RGB_TOG, RGBRST, ___________________GAME_R4_________________, \ | 39 | ___________________GAME_L4_________________, KC_MINS, KC_EQL, ___________________GAME_R4_________________, \ |
| 40 | ___________________GAME_L5_________________, RGB_RMOD, RGB_MOD, ___________________GAME_R5_________________ \ | 40 | ___________________GAME_L5_________________, KC_LBRC, KC_RBRC, ___________________GAME_R5_________________ \ |
| 41 | ), | 41 | ), |
| 42 | #endif | 42 | #endif |
| 43 | 43 | ||
diff --git a/keyboards/rgbkb/sol/keymaps/xulkal/config.h b/keyboards/rgbkb/sol/keymaps/xulkal/config.h index a5c35cfae..ab75c5419 100644 --- a/keyboards/rgbkb/sol/keymaps/xulkal/config.h +++ b/keyboards/rgbkb/sol/keymaps/xulkal/config.h | |||
| @@ -29,3 +29,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGB_MATRIX_VAL_STEP 8 | 29 | #define RGB_MATRIX_VAL_STEP 8 |
| 30 | #define RGB_MATRIX_SPD_STEP 8 | 30 | #define RGB_MATRIX_SPD_STEP 8 |
| 31 | #endif | 31 | #endif |
| 32 | |||
| 33 | #define ENCODER_RESOLUTION 2 | ||
diff --git a/keyboards/rgbkb/sol/keymaps/xulkal/rules.mk b/keyboards/rgbkb/sol/keymaps/xulkal/rules.mk index 6a14a99af..da524e3dc 100644 --- a/keyboards/rgbkb/sol/keymaps/xulkal/rules.mk +++ b/keyboards/rgbkb/sol/keymaps/xulkal/rules.mk | |||
| @@ -5,7 +5,8 @@ RGBLIGHT_ENABLE = no # Enable global lighting effects. Do not ena | |||
| 5 | RGBLIGHT_ANIMATIONS = no # LED animations | 5 | RGBLIGHT_ANIMATIONS = no # LED animations |
| 6 | LED_MIRRORED = no # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master) | 6 | LED_MIRRORED = no # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master) |
| 7 | RGB_MATRIX_ENABLE = WS2812 # Enable per-key coordinate based RGB effects. Do not enable with RGBlight | 7 | RGB_MATRIX_ENABLE = WS2812 # Enable per-key coordinate based RGB effects. Do not enable with RGBlight |
| 8 | FULLHAND_ENABLE = yes # Enables the additional 24 Full Hand LEDs | 8 | FULLHAND_ENABLE = no # Enables the additional 24 Full Hand LEDs |
| 9 | SF_ENABLE = no # Enables the additional 38 Starfighter LEDs | ||
| 9 | 10 | ||
| 10 | # Misc | 11 | # Misc |
| 11 | OLED_DRIVER_ENABLE = yes # Enable the OLED Driver | 12 | OLED_DRIVER_ENABLE = yes # Enable the OLED Driver |
diff --git a/users/xulkal/config.h b/users/xulkal/config.h index 4b05ea4ec..e000b97ac 100644 --- a/users/xulkal/config.h +++ b/users/xulkal/config.h | |||
| @@ -17,9 +17,10 @@ | |||
| 17 | #undef RGB_MATRIX_KEYRELEASES | 17 | #undef RGB_MATRIX_KEYRELEASES |
| 18 | #undef RGB_MATRIX_FRAMEBUFFER_EFFECTS | 18 | #undef RGB_MATRIX_FRAMEBUFFER_EFFECTS |
| 19 | #else | 19 | #else |
| 20 | #define RGB_MATRIX_KEYPRESSES | 20 | # define RGB_MATRIX_KEYPRESSES |
| 21 | #undef RGB_MATRIX_KEYRELEASES | 21 | # undef RGB_MATRIX_KEYRELEASES |
| 22 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 22 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
| 23 | # define ENABLE_TYPING_HEATMAP_DISTANCE_CHECK | ||
| 23 | #endif | 24 | #endif |
| 24 | 25 | ||
| 25 | // No need for the single versions when multi performance isn't a problem =D | 26 | // No need for the single versions when multi performance isn't a problem =D |
diff --git a/users/xulkal/layouts.h b/users/xulkal/layouts.h index d4b708418..63e73c32e 100644 --- a/users/xulkal/layouts.h +++ b/users/xulkal/layouts.h | |||
| @@ -68,7 +68,7 @@ | |||
| 68 | 68 | ||
| 69 | /* LOWER Layout | 69 | /* LOWER Layout |
| 70 | * ,-----------------------------------------. ,-----------------------------------------. | 70 | * ,-----------------------------------------. ,-----------------------------------------. |
| 71 | * | |RGBMD |RGBRMD|RGBTOG| | | | | | | | | | | 71 | * | |RGBMD |RGBRMD|RGBTOG| | | | | | | SLCK | NLCK | DEL | |
| 72 | * |------+------+------+------+------+------| |------+------+------+------+------+------| | 72 | * |------+------+------+------+------+------| |------+------+------+------+------+------| |
| 73 | * | SPDI | SAI | VAI | HUI | RESET| | | | | 7 | 8 | 9 | | | 73 | * | SPDI | SAI | VAI | HUI | RESET| | | | | 7 | 8 | 9 | | |
| 74 | * |------+------+------+------+------+------| |------+------+------+------+------+------| | 74 | * |------+------+------+------+------+------| |------+------+------+------+------+------| |
diff --git a/users/xulkal/process_records.c b/users/xulkal/process_records.c index ca2376145..b6a4e5cfa 100644 --- a/users/xulkal/process_records.c +++ b/users/xulkal/process_records.c | |||
| @@ -37,7 +37,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) | |||
| 37 | reset_keyboard(); | 37 | reset_keyboard(); |
| 38 | } | 38 | } |
| 39 | return false; | 39 | return false; |
| 40 | #ifdef RGB_MATRIX_TOG_LAYERS | 40 | #if defined(RGB_MATRIX_TOG_LAYERS) && defined(RGB_ENABLE) |
| 41 | case RGB_TOG: | 41 | case RGB_TOG: |
| 42 | if (record->event.pressed) { | 42 | if (record->event.pressed) { |
| 43 | rgb_matrix_increase_flags(); | 43 | rgb_matrix_increase_flags(); |
