summaryrefslogtreecommitdiffstats
path: root/keyboards/infinity60/keymaps/jpetermans
diff options
context:
space:
mode:
authorjpetermans <tibcmhhm@gmail.com>2017-04-13 17:15:24 -0700
committerjpetermans <tibcmhhm@gmail.com>2017-04-13 17:15:24 -0700
commit1b1adf35bb746a875c2b846e1b1b405075c94847 (patch)
tree4c7a2530a88175388e04ec06babf2f377afb1460 /keyboards/infinity60/keymaps/jpetermans
parent15635817b5ae6068c5c79a9b67a0d97839893a7e (diff)
more flexible led processing functions, all and on/off/toggle
functioning
Diffstat (limited to 'keyboards/infinity60/keymaps/jpetermans')
-rw-r--r--keyboards/infinity60/keymaps/jpetermans/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/infinity60/keymaps/jpetermans/keymap.c b/keyboards/infinity60/keymaps/jpetermans/keymap.c
index 2eb66b506f..6f14b66cba 100644
--- a/keyboards/infinity60/keymaps/jpetermans/keymap.c
+++ b/keyboards/infinity60/keymaps/jpetermans/keymap.c
@@ -210,14 +210,14 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
case ACTION_LEDS_NAV:
if(record->event.pressed) {
// signal the LED controller thread
- msg=(TOGGLE_LAYER_LEDS << 8) | 3;
+ msg=(OFF_LED << 8) | 12;
chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);
}
break;
case ACTION_LEDS_NUMPAD:
if(record->event.pressed) {
// signal the LED controller thread
- msg=(TOGGLE_LAYER_LEDS << 8) | 4;
+ msg=(ON_LED << 8) | 12;
chMBPost(&led_mailbox, msg, TIME_IMMEDIATE);
}
break;