summaryrefslogtreecommitdiff
path: root/keyboards/ungodly
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ungodly')
-rw-r--r--keyboards/ungodly/launch_pad/config.h5
-rw-r--r--keyboards/ungodly/launch_pad/keymaps/default/keymap.c4
-rw-r--r--keyboards/ungodly/launch_pad/keymaps/via/keymap.c4
-rw-r--r--keyboards/ungodly/launch_pad/keymaps/warzone/keymap.c6
4 files changed, 9 insertions, 10 deletions
diff --git a/keyboards/ungodly/launch_pad/config.h b/keyboards/ungodly/launch_pad/config.h
index d641bab9cd..328aafc6e4 100644
--- a/keyboards/ungodly/launch_pad/config.h
+++ b/keyboards/ungodly/launch_pad/config.h
@@ -45,13 +45,12 @@
#define RGB_DI_PIN F7
#ifdef RGB_MATRIX_ENABLE
# define RGBLED_NUM 22
-# define DRIVER_LED_TOTAL RGBLED_NUM
+# define RGB_MATRIX_LED_COUNT RGBLED_NUM
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
-// # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
-// # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
+// # define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
// # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
# define RGB_MATRIX_HUE_STEP 8
diff --git a/keyboards/ungodly/launch_pad/keymaps/default/keymap.c b/keyboards/ungodly/launch_pad/keymaps/default/keymap.c
index 6ac19d5b59..b1534760ca 100644
--- a/keyboards/ungodly/launch_pad/keymaps/default/keymap.c
+++ b/keyboards/ungodly/launch_pad/keymaps/default/keymap.c
@@ -20,7 +20,7 @@
/* Force Numlock on */
void matrix_init_user (void) {
if (!host_keyboard_led_state().num_lock) {
- tap_code(KC_NUMLOCK);
+ tap_code(KC_NUM_LOCK);
}
}
@@ -97,7 +97,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* `-------------------'
*/
[1] = LAYOUT_ortho_5x4(
- KC_LUP, KC_NUMLOCK, XXXXXXX, XXXXXXX,
+ KC_LUP, KC_NUM, XXXXXXX, XXXXXXX,
KC_HOME, KC_UP, KC_PGUP, XXXXXXX,
KC_LEFT, XXXXXXX, KC_RGHT, XXXXXXX,
KC_END, KC_DOWN, KC_PGDN, KC_PENT,
diff --git a/keyboards/ungodly/launch_pad/keymaps/via/keymap.c b/keyboards/ungodly/launch_pad/keymaps/via/keymap.c
index 198d99d29d..b2b6640e6a 100644
--- a/keyboards/ungodly/launch_pad/keymaps/via/keymap.c
+++ b/keyboards/ungodly/launch_pad/keymaps/via/keymap.c
@@ -20,7 +20,7 @@
/* Force Numlock on */
void matrix_init_user (void) {
if (!host_keyboard_led_state().num_lock) {
- tap_code(KC_NUMLOCK);
+ tap_code(KC_NUM_LOCK);
}
}
@@ -97,7 +97,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* `-------------------'
*/
[1] = LAYOUT_ortho_5x4(
- KC_LUP, KC_NUMLOCK, XXXXXXX, XXXXXXX,
+ KC_LUP, KC_NUM, XXXXXXX, XXXXXXX,
KC_HOME, KC_UP, KC_PGUP, XXXXXXX,
KC_LEFT, XXXXXXX, KC_RGHT, XXXXXXX,
KC_END, KC_DOWN, KC_PGDN, KC_PENT,
diff --git a/keyboards/ungodly/launch_pad/keymaps/warzone/keymap.c b/keyboards/ungodly/launch_pad/keymaps/warzone/keymap.c
index 23d3c5edc7..ea7b50c129 100644
--- a/keyboards/ungodly/launch_pad/keymaps/warzone/keymap.c
+++ b/keyboards/ungodly/launch_pad/keymaps/warzone/keymap.c
@@ -20,7 +20,7 @@
/* Force Numlock on */
void matrix_init_user (void) {
if (!host_keyboard_led_state().num_lock) {
- tap_code(KC_NUMLOCK);
+ tap_code(KC_NUM_LOCK);
}
}
@@ -36,7 +36,7 @@ qk_tap_dance_action_t tap_dance_actions[] = {
// Tap once for Escape, twice for Number 4 (armor plates in warzone)
[TD_ESC_TAB] = ACTION_TAP_DANCE_DOUBLE(KC_ESC, KC_TAB),
[TD_3_L0] = ACTION_TAP_DANCE_LAYER_TOGGLE(KC_3, 1),
- [TD_NUMLOCK_L1] = ACTION_TAP_DANCE_LAYER_TOGGLE(KC_NUMLOCK, 1),
+ [TD_NUMLOCK_L1] = ACTION_TAP_DANCE_LAYER_TOGGLE(KC_NUM_LOCK, 1),
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@@ -78,7 +78,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_E, KC_D, KC_C, KC_LALT,
KC_W, KC_S, KC_X, KC_4,
KC_Q, KC_A, KC_Z, TD(TD_3_L0),
- TD(TD_ESC_TAB), KC_LCTRL, KC_LSHIFT, KC_M
+ TD(TD_ESC_TAB), KC_LCTL, KC_LSFT, KC_M
),
/* Keymap _FN: RGB Function Layer
* ,-------------------.