Skip to content

Commit dc00942

Browse files
authored
Xulkal Changes (#9004)
* Xulkal Changes * Fixing alt keymap
1 parent e8f842e commit dc00942

File tree

7 files changed

+52
-10
lines changed

7 files changed

+52
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/*
2+
This is the c configuration file for the keymap
3+
4+
Copyright 2012 Jun Wako <[email protected]>
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

keyboards/helix/rev2/keymaps/xulkal/keymap.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
2727
_________________QWERTY_L1_________________, _________________QWERTY_R1_________________, \
2828
_________________QWERTY_L2_________________, _________________QWERTY_R2_________________, \
2929
_________________QWERTY_L3_________________, _________________QWERTY_R3_________________, \
30-
_________________QWERTY_L4_________________, RGB_TOG, RGBRST, _________________QWERTY_R4_________________, \
31-
_________________QWERTY_L5_________________, RGB_RMOD, RGB_MOD, _________________QWERTY_R5_________________ \
30+
_________________QWERTY_L4_________________, KC_MINS, KC_EQL, _________________QWERTY_R4_________________, \
31+
_________________QWERTY_L5_________________, KC_LBRC, KC_RBRC, _________________QWERTY_R5_________________ \
3232
),
3333

3434
#ifndef GAMELAYER_DISABLE
3535
[_GAME] = EXPAND_LAYOUT( \
3636
___________________GAME_L1_________________, ___________________GAME_R1_________________, \
3737
___________________GAME_L2_________________, ___________________GAME_R2_________________, \
3838
___________________GAME_L3_________________, ___________________GAME_R3_________________, \
39-
___________________GAME_L4_________________, RGB_TOG, RGBRST, ___________________GAME_R4_________________, \
40-
___________________GAME_L5_________________, RGB_RMOD, RGB_MOD, ___________________GAME_R5_________________ \
39+
___________________GAME_L4_________________, KC_MINS, KC_EQL, ___________________GAME_R4_________________, \
40+
___________________GAME_L5_________________, KC_LBRC, KC_RBRC, ___________________GAME_R5_________________ \
4141
),
4242
#endif
4343

keyboards/rgbkb/sol/keymaps/xulkal/config.h

+2
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2929
#define RGB_MATRIX_VAL_STEP 8
3030
#define RGB_MATRIX_SPD_STEP 8
3131
#endif
32+
33+
#define ENCODER_RESOLUTION 2

keyboards/rgbkb/sol/keymaps/xulkal/rules.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ RGBLIGHT_ENABLE = no # Enable global lighting effects. Do not ena
55
RGBLIGHT_ANIMATIONS = no # LED animations
66
LED_MIRRORED = no # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master)
77
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
910

1011
# Misc
1112
OLED_DRIVER_ENABLE = yes # Enable the OLED Driver

users/xulkal/config.h

+4-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
#undef RGB_MATRIX_KEYRELEASES
1818
#undef RGB_MATRIX_FRAMEBUFFER_EFFECTS
1919
#else
20-
#define RGB_MATRIX_KEYPRESSES
21-
#undef RGB_MATRIX_KEYRELEASES
22-
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
20+
# define RGB_MATRIX_KEYPRESSES
21+
# undef RGB_MATRIX_KEYRELEASES
22+
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
23+
# define ENABLE_TYPING_HEATMAP_DISTANCE_CHECK
2324
#endif
2425

2526
// No need for the single versions when multi performance isn't a problem =D

users/xulkal/layouts.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
/* LOWER Layout
7070
* ,-----------------------------------------. ,-----------------------------------------.
71-
* | |RGBMD |RGBRMD|RGBTOG| | | | | | | | | |
71+
* | |RGBMD |RGBRMD|RGBTOG| | | | | | | SLCK | NLCK | DEL |
7272
* |------+------+------+------+------+------| |------+------+------+------+------+------|
7373
* | SPDI | SAI | VAI | HUI | RESET| | | | | 7 | 8 | 9 | |
7474
* |------+------+------+------+------+------| |------+------+------+------+------+------|

users/xulkal/process_records.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record)
3737
reset_keyboard();
3838
}
3939
return false;
40-
#ifdef RGB_MATRIX_TOG_LAYERS
40+
#if defined(RGB_MATRIX_TOG_LAYERS) && defined(RGB_ENABLE)
4141
case RGB_TOG:
4242
if (record->event.pressed) {
4343
rgb_matrix_increase_flags();

0 commit comments

Comments
 (0)