qmk-firmware/tmk_core/common
Kenneth Aloysius 365b863578 Backlighting for JJ40 and underglow initialisation code (#2260)
* Cleanup Mechmini keymap. Once the custom RGB function is defined, there is no need to manually handle RGB code.

* Change default to KEYMAP_MIT, not KEYMAP_OFFSET

* Add custom RGB code for JJ40

* Reset Mechmini advertised power draw to 500. Will have to test actual maximum power draw later.

* RGB working on JJ40.

* Fix: saturation increase/decrease flipped

* Add new directory for my custom keymap with RGB keycodes

* Swap LAlt and LGUI

* Update JJ40 max power draw with measured value

* Update: fun40 rules.mk to enable underglow; earlier failed Travis CI

* Fix: init RGB LEDs on boot. Also added HHKB-like keymap for XD60.

* Super rudimentary backlight test, init RGB LEDs on boot

* Backlighting works - stays on for now

* Toggling working

* Now can override backlight.c functions. Problem was functions in backlight.c weren't called before due to a lack of matrix_scan_quantum() in matrix.c

* Timers not working

* Delete global.h

* Cleanup

* Compiles

* Good sign: LEDs stop working again

* Handle timer1 overflow

* Progress: fix: forgot to init

* Backlighting fully working now except breathing.

* Revert keymap to original keycodes

* Update XD60 keymap README

* Update JJ40 keymap with backlight toggles

* Breathing working just fine.

* Update references

* Add backlight_set() call

* Cleanup code to disable backlight

* Fix: does not compile

* Fix: missing call to rgblight_task.

* Testing with BACKLIGHT_BREATHING

* Cleanup

* Cleanup comments

* More commenting cleanup.

* Do not enable BACKLIGHT_BREATHING by default
2018-01-18 16:02:32 -05:00
..
avr Updates bootloader settings, adds file size check (#2029) 2017-11-27 23:08:21 -05:00
chibios Clueboard 60% support (#1746) 2017-09-29 16:17:30 -07:00
mbed Added User Print - A "light" console out option (#8) 2016-09-07 23:50:58 -05:00
test Add wait support for tests 2017-07-08 21:59:51 -04:00
action.c backlight breathing overhaul (#2187) 2018-01-01 17:47:51 -05:00
action.h Add one-hand support. 2016-08-20 17:46:53 -07:00
action_code.h backlight breathing overhaul (#2187) 2018-01-01 17:47:51 -05:00
action_layer.c make 'layer_state_set' visible to user code 2017-12-15 13:23:30 -05:00
action_layer.h make 'layer_state_set' visible to user code 2017-12-15 13:23:30 -05:00
action_macro.c stops forcing debug_action 2016-04-28 23:23:33 -04:00
action_macro.h Add support for various tapping macros 2017-01-28 18:42:35 +11:00
action_tapping.c Adding permissive_hold 2017-06-03 10:28:46 -04:00
action_tapping.h RETRO_TAPPING (#1922) 2017-10-31 11:15:22 -04:00
action_util.c Fix problems with undefined inlines in debug mode 2017-06-18 21:22:22 +03:00
action_util.h Move functions for adding keys from to reports to report.h 2017-06-18 21:22:22 +03:00
backlight.c Backlighting for JJ40 and underglow initialisation code (#2260) 2018-01-18 16:02:32 -05:00
backlight.h Backlight Breathing for Planck and Atomic 2016-05-09 13:17:15 -04:00
bootloader.h Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
bootmagic.c Use keyboard config for nkro (#7) 2016-09-06 23:19:01 -05:00
bootmagic.h Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
command.c Simplified and polished a bit the code changes on tmk_core 2017-01-21 17:18:05 -05:00
command.h Warning reductions (#430) 2016-06-21 17:42:29 -04:00
debug.c Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
debug.h Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
eeconfig.c Add support for GeminiPR steno protocol. 2017-07-27 16:10:36 -04:00
eeconfig.h Added "EECONFIG_HANDEDNESS" to the eeconfig.h , because when RGB was enabled it was overwritting the old EECONFIG_HANDEDNESS address (10), so it is now on a non-conflicting addres (14). 2017-08-13 14:24:04 -04:00
eeprom.h Emulate eeprom 2017-06-18 21:10:42 +03:00
host.c Use keyboard config for nkro (#7) 2016-09-06 23:19:01 -05:00
host.h Use keyboard config for nkro (#7) 2016-09-06 23:19:01 -05:00
host_driver.h cleaning up midid 2016-11-21 20:14:16 -05:00
keyboard.c I found a typo! 2017-11-22 11:40:46 -05:00
keyboard.h improvements 2017-05-13 13:19:28 -07:00
keycode.h some major steps toward making the usb-usb converter work 2017-08-15 23:14:41 -04:00
led.h Backlight abstraction and other changes (#439) 2016-06-23 22:18:20 -04:00
magic.c Use keyboard config for nkro (#7) 2016-09-06 23:19:01 -05:00
magic.h MAGIC functionality, AG swap in default layout 2016-04-16 18:51:58 -04:00
matrix.h Minor cleanup 2017-02-05 19:55:27 -05:00
mousekey.c Remove floating point calculation in mouse move. Saves approx 650 bytes if no other floating point used. 2017-08-15 19:51:06 -04:00
mousekey.h Make MOUSEKEY_MOVE_MAX and MOUSEKEY_WHEEL_MAX configurable 2017-04-13 16:00:29 +03:00
nodebug.h Backlight Breathing for Planck and Atomic 2016-05-09 13:17:15 -04:00
print.c Add ChibiOS support for QMK (#465) 2016-07-01 10:04:53 -04:00
print.h Added User Print - A "light" console out option (#8) 2016-09-07 23:50:58 -05:00
progmem.h add pgm_read_dword for Infinity ErgoDox 2017-11-06 12:09:54 -05:00
raw_hid.h Initial version of Raw HID interface 2016-12-01 00:44:54 +11:00
report.c Unsign key argument in add_key_to_report 2017-12-19 09:25:26 -05:00
report.h Unsign key argument in add_key_to_report 2017-12-19 09:25:26 -05:00
sendchar.h Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
sendchar_null.c Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
sendchar_uart.c Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
sleep_led.h Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
suspend.h Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
timer.h Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
uart.c Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
uart.h Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
util.c Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
util.h Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
virtser.h Added USB Virtual Serial support 2016-08-23 04:16:35 +00:00
wait.h Clueboard 60% support (#1746) 2017-09-29 16:17:30 -07:00