aboutsummaryrefslogtreecommitdiffstats
path: root/users
diff options
context:
space:
mode:
authorGravatar XScorpion2 <rcalt2vt@gmail.com>2020-05-05 07:54:26 -0500
committerGravatar GitHub <noreply@github.com>2020-05-05 13:54:26 +0100
commitdc00942be158b7ec70ed94f13e78703005888c0f (patch)
tree3beb81984e1fbb6db47f923c4f035c3745d0c588 /users
parente8f842e798a76ade8c813f89d9dbf3f3dc1f6cfb (diff)
downloadqmk_firmware-dc00942be158b7ec70ed94f13e78703005888c0f.tar.gz
Xulkal Changes (#9004)
* Xulkal Changes * Fixing alt keymap
Diffstat (limited to 'users')
-rw-r--r--users/xulkal/config.h7
-rw-r--r--users/xulkal/layouts.h2
-rw-r--r--users/xulkal/process_records.c2
3 files changed, 6 insertions, 5 deletions
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 @@
#undef RGB_MATRIX_KEYRELEASES
#undef RGB_MATRIX_FRAMEBUFFER_EFFECTS
#else
-#define RGB_MATRIX_KEYPRESSES
-#undef RGB_MATRIX_KEYRELEASES
-#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
+# define RGB_MATRIX_KEYPRESSES
+# undef RGB_MATRIX_KEYRELEASES
+# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
+# define ENABLE_TYPING_HEATMAP_DISTANCE_CHECK
#endif
// 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 @@
/* LOWER Layout
* ,-----------------------------------------. ,-----------------------------------------.
- * | |RGBMD |RGBRMD|RGBTOG| | | | | | | | | |
+ * | |RGBMD |RGBRMD|RGBTOG| | | | | | | SLCK | NLCK | DEL |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | SPDI | SAI | VAI | HUI | RESET| | | | | 7 | 8 | 9 | |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
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)
reset_keyboard();
}
return false;
-#ifdef RGB_MATRIX_TOG_LAYERS
+#if defined(RGB_MATRIX_TOG_LAYERS) && defined(RGB_ENABLE)
case RGB_TOG:
if (record->event.pressed) {
rgb_matrix_increase_flags();