1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/tmk_core/common
Chris Lewis c1c5922aae Velocikey: Match RGB animation speed to typing speed (#3754)
* Draft commit of typing speed RGB control

* More information in the readme

* Support all RGB animation modes (Fixes #1)

* Added support for all RGB light modes to use typing speed

Except christmas lights because that is seizure-inducing at high speeds!

* Introduced a value range specific to each RGB mode

Because some modes are a little too much when running at full speed!

* Update readme.md

* Update readme.md

* Re-arrange typing_speed definitions (Fixes #5) (#6)

* Re-arrange variable definitions to avoid including quantum.h from rgblight.c

* Fix a compilation error when trying to run make test:all

* Tweaks to the typing speed decay rate

* Renamed to momentum; moved implementation into dedicated files

* Groundwork for toggling momentum on/off (currently always on)

* Add EEPROM toggle for momentum-matching

* Moved momentum out of RGBLIGHT_ENABLE toggles so it's more generic

* Move momentum decay task out of rgblight_task()

* Fix missing momentum.h in lufa.c

* Experimental LED support (untested)

* Draft commit of typing speed RGB control

* More information in the readme

* Support all RGB animation modes (Fixes #1)

* Added support for all RGB light modes to use typing speed

Except christmas lights because that is seizure-inducing at high speeds!

* Introduced a value range specific to each RGB mode

Because some modes are a little too much when running at full speed!

* Update readme.md

* Update readme.md

* Re-arrange typing_speed definitions (Fixes #5) (#6)

* Re-arrange variable definitions to avoid including quantum.h from rgblight.c

* Fix a compilation error when trying to run make test:all

* Tweaks to the typing speed decay rate

* Renamed to momentum; moved implementation into dedicated files

* Groundwork for toggling momentum on/off (currently always on)

* Add EEPROM toggle for momentum-matching

* Moved momentum out of RGBLIGHT_ENABLE toggles so it's more generic

* Move momentum decay task out of rgblight_task()

* Fix missing momentum.h in lufa.c

* Added documentation

* Renamed feature to velocikey

* Reverted readme to original state

* Correct the readme title

* Updated feature name in the docs

* Update EECONFIG name

* Add compile-time toggles for velocikey

* Update feature documentation

* Revert "Merge branch 'led-support' into master"

This reverts commit e123ff5feb, reversing
changes made to df111a55b9.

* Move velocikey EECONFIG definition to depend on VELOCIKEY_ENABLE

* Rename decay_task function to decelerate

* Apply suggestions from code review

Co-Authored-By: chrislewisdev <chris@chrislewisdev.com>

* Re-order eeconfig definitions

* Apply coding conventions

* Apply #ifdef check in lufa.c

* Refactored interval time checks into one functionc

* Small rename

* Fix unused function error for layouts not using all rgb effects

* Only update EEPROM if Velocikey is enabled

* Incorporate code review feedback

* Small adjustment to top-end decay rate

* Add Velocikey documentation to table of contents

* Bring tetris:default keymap size down by disabling audio
2019-02-21 07:22:46 -08:00
..
arm_atsam Update to arm_atsam wait and timer routines 2019-01-07 12:44:55 -08:00
avr Add kb and user level keyboard initialization functions (#3113) 2019-02-14 20:18:54 -08:00
chibios Add Satisfaction75 to QMK, Enable EEPROM on stm32f072 (#5094) 2019-02-13 08:03:26 -08: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 compiles, but long delay on startup and problems 2019-02-10 15:37:12 -08:00
action.h Add support for RETRO_TAPPING to LT(layer, kc) 2019-01-25 11:27:14 -08:00
action_code.h Generate API docs from source code comments (#2491) 2018-03-22 02:50:38 -04:00
action_layer.c Change return type of layer_switch_get_layer() to uint8_t (#5011) 2019-01-31 16:40:12 -08:00
action_layer.h Change return type of layer_switch_get_layer() to uint8_t (#5011) 2019-01-31 16:40:12 -08:00
action_macro.c Generate API docs from source code comments (#2491) 2018-03-22 02:50:38 -04:00
action_macro.h Add support for various tapping macros 2017-01-28 18:42:35 +11:00
action_tapping.c Generate API docs from source code comments (#2491) 2018-03-22 02:50:38 -04:00
action_tapping.h RETRO_TAPPING (#1922) 2017-10-31 11:15:22 -04:00
action_util.c Add One Shot Key callbacks (#4697) 2019-02-05 10:19:56 -08:00
action_util.h Add One Shot Key callbacks (#4697) 2019-02-05 10:19:56 -08:00
backlight.c Backlight status functions (#4259) 2018-11-14 07:45:46 -08:00
backlight.h Backlight status functions (#4259) 2018-11-14 07:45:46 -08:00
bootloader.h Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
bootmagic.c Generate API docs from source code comments (#2491) 2018-03-22 02:50:38 -04:00
bootmagic.h Generate API docs from source code comments (#2491) 2018-03-22 02:50:38 -04:00
command.c Change Command keycode defaults to match corresponding Bootmagic codes (#5078) 2019-02-17 22:23:32 -08:00
command.h Change Command keycode defaults to match corresponding Bootmagic codes (#5078) 2019-02-17 22:23:32 -08: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 Velocikey: Match RGB animation speed to typing speed (#3754) 2019-02-21 07:22:46 -08:00
eeconfig.h Velocikey: Match RGB animation speed to typing speed (#3754) 2019-02-21 07:22:46 -08:00
eeprom.h Final HS60v2 changes. (#4790) 2019-01-06 17:22:19 -08:00
host.c Use a single endpoint for HID reports (#3951) 2018-11-15 22:22:05 -08:00
host.h Tidy up IS_{,HOST_}LED_{ON,OFF} macros (#4894) 2019-01-20 20:16:36 -08:00
host_driver.h Merge ChibiOS and LUFA descriptor support (#2362) 2018-02-08 15:07:46 -05:00
keyboard.c Velocikey: Match RGB animation speed to typing speed (#3754) 2019-02-21 07:22:46 -08:00
keyboard.h Add kb and user level keyboard initialization functions (#3113) 2019-02-14 20:18:54 -08:00
keycode.h Add MOD_MASK_* macros to core code (#4337) 2019-01-25 13:02:38 -08:00
led.h Generate API docs from source code comments (#2491) 2018-03-22 02:50:38 -04:00
magic.c Generate API docs from source code comments (#2491) 2018-03-22 02:50:38 -04:00
magic.h MAGIC functionality, AG swap in default layout 2016-04-16 18:51:58 -04:00
matrix.h add col type defines 2018-07-20 23:09:25 -04:00
mousekey.c Diagonal micro move fix 2018-06-28 22:10:53 -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 Fixed docs/newbs_testing_debugging.md and tmk_core/common/print.h 2018-11-27 14:40:19 -05:00
progmem.h Add missing parentheses to some important macros (#4775) 2019-01-08 15:08:17 -08:00
raw_hid.h Initial version of Raw HID interface 2016-12-01 00:44:54 +11:00
report.c Use a single endpoint for HID reports (#3951) 2018-11-15 22:22:05 -08:00
report.h Add underscores to names of brightness control constants in report.h (#4764) 2019-01-05 08:31:24 -08: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 Add Suspend functions (#3112) 2018-06-03 17:57:35 -04: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 Update to arm_atsam wait and timer routines 2019-01-07 12:44:55 -08:00