aboutsummaryrefslogtreecommitdiff
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorBalz Guenat <balz.guenat@gmail.com>2018-01-01 23:47:51 +0100
committerJack Humbert <jack.humb@gmail.com>2018-01-01 17:47:51 -0500
commit4931510ad38aadb1769c9241bfad0c3d77ad687f (patch)
treeb2e23ebbde408a3f6580b34e8cf3332346e7c3f3 /quantum/quantum_keycodes.h
parentd6215ad6aff3857cea8a6877b56a547a76ab13ac (diff)
downloadqmk_firmware-4931510ad38aadb1769c9241bfad0c3d77ad687f.tar.gz
qmk_firmware-4931510ad38aadb1769c9241bfad0c3d77ad687f.zip
backlight breathing overhaul (#2187)
* add breathing to bananasplit * backlight breathing overhaul * fix the backlight_tick thing. * fix for vision_division backlight * fix a few keymaps and probably break breathing for some weirdly set-up boards. * remove BL_x keycodes because they made unreasonable assumptions * some fixes for BL keycodes * integer cie lightness scaling * use cie lightness for non-breathing backlight and make breathing able to reach true max brightness
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r--quantum/quantum_keycodes.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 65bf9e141..1b9a7534c 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -380,26 +380,13 @@ enum quantum_keycodes {
380#endif // MIDI_ADVANCED 380#endif // MIDI_ADVANCED
381 381
382 // Backlight functionality 382 // Backlight functionality
383 BL_0, 383 BL_ON,
384 BL_1, 384 BL_OFF,
385 BL_2,
386 BL_3,
387 BL_4,
388 BL_5,
389 BL_6,
390 BL_7,
391 BL_8,
392 BL_9,
393 BL_10,
394 BL_11,
395 BL_12,
396 BL_13,
397 BL_14,
398 BL_15,
399 BL_DEC, 385 BL_DEC,
400 BL_INC, 386 BL_INC,
401 BL_TOGG, 387 BL_TOGG,
402 BL_STEP, 388 BL_STEP,
389 BL_BRTG,
403 390
404 // RGB functionality 391 // RGB functionality
405 RGB_TOG, 392 RGB_TOG,
@@ -579,9 +566,6 @@ enum quantum_keycodes {
579#define AG_SWAP MAGIC_SWAP_ALT_GUI 566#define AG_SWAP MAGIC_SWAP_ALT_GUI
580#define AG_NORM MAGIC_UNSWAP_ALT_GUI 567#define AG_NORM MAGIC_UNSWAP_ALT_GUI
581 568
582#define BL_ON BL_9
583#define BL_OFF BL_0
584
585// GOTO layer - 16 layers max 569// GOTO layer - 16 layers max
586// when: 570// when:
587// ON_PRESS = 1 571// ON_PRESS = 1