Commit Graph

18 Commits (0346bc2c5b5dc18b54384b7a5bb1094337f7afe2)

Author SHA1 Message Date
Drashna Jaelre 526eabb6f8 Make sure that both RGBLIGHT_ENABLE is defined, for RGBLIGHT_SLEEP 7 years ago
Drashna Jaelre cb91320d6d Add Suspend functions (#3112)
* Add suspend functions

* Disable RGB code if it's disabled

* Add suspend code to ChibiOS for future compatibility

* Add keyboard_init functions

* Change where references so it will compile

* Wrong command chained in wake up kb function

* Fix non-feature file changes

* Add documentation

* Re-add matrix init docs

* add rgblight code to example

* Remove keyboard init stuff for separate PR
7 years ago
Drashna Jaelre 751719e6cb Add and fix _noeeprom functions to many of the RGB Underglow functions (#3070)
* And and fix _noeeprom functions to many of the RGB Underglow functions

* Many functions are unnecessarily calling the eeprom write code. The toggle/enable is command is especially guilty of this, as it writes to EEPROM 3 times.  But rgb mode writes twice, every time it's called. And init resets the rgb eeprom range and then writes back to it twice!
* Fixed the rgblight_sethsv_noeeprom to work as expected, by moving a lot of the code to a helper function.
* Added a noeeprom function for mode, enable, disable, and toggle functions. (didn't bother for increase/decrease stuff, and didn't add new keycodes)
* Add to predefined colors list
* Add new functions to manual/docs

* Update RGB Sleep feature to use _noeeprom

Because that's exactly what it should be doing, actually!
7 years ago
U-LANDSRAAD\drashna bdb718af0d Fix RGB Sleep code 7 years ago
skullydazed 7c9d5ace14 Generate API docs from source code comments (#2491)
* Generate api docs from source code

* Add a bunch of doxygen comments

* more doxygen comments

* Add the in-progress api docs

* script to generate docs from travis

* Add doc generation to the travis job

* make travis_docs.sh commit the work it does

* make sure the docs script exits cleanly
7 years ago
Drashna Jaelre ff728a8a01 [Proposal?] Allow RGB Underglow to turn off when host is idle/asleep (#2104)
* Add RGB Underglow Sleeping

* Add RGBLIGHT_SLEEP to toggle/control RGB light behavior

* Update rgb docs

* Update for RGB disable command
7 years ago
Fred Sundvik abda6ff7bb Include host.h from suspend.c 8 years ago
Wilba6582 cf3926a8e1 Fixed NO_SUSPEND_POWER_DOWN handling 9 years ago
Wilba6582 5893f0fa1f Fixed NO_SUSPEND_POWER_DOWN handling 9 years ago
Jack Humbert 8e88d55bfd reverts #343 for the most part (#474) 9 years ago
Eric Tang aaa758f1d3 Optimize matrix scanning (#343) 9 years ago
Jack Humbert 157ddccc2c start-up sound working, removes tick with some devices 9 years ago
IBNobody 4b3358acc2 Fixed speaker being on during sleep. 9 years ago
IBNobody a70f439672 Added command to turn LED indicators off while sleeping 9 years ago
Peter Eichinger c5f90eb99b Remove led_off() it is not used 9 years ago
Peter Eichinger b2badef7d0 Backlight fix from reddit
https://www.reddit.com/r/olkb/comments/41ur41/crazy_flashing_when_my_computer_sleeps/
9 years ago
tmk 6b588eb7f7 Add keyboard_setup() and matrix_setup() 10 years ago
tmk 1a02ebcc61 Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 10 years ago