qmk-firmware/quantum
Takeshi ISHII dfab177f88 Add function to support split-keyboard in rgblight.[ch]. (#5020)
* add temporary file that is rgblight.c call graph

* add rgblight_update_hook()

* update rgblight-call-graph.dot (temporary file)

* add more hook point

* add TODO comment

* temporary Revert "add TODO comment"

This reverts commit df6165aac9b3a31d1d3e31ce52aadc134b84eac2.

* temporary Revert "add more hook point"

This reverts commit 64592b06f3bcdaac47c59f922018a273bef76776.

* temporary Revert "add rgblight_update_hook()"

This reverts commit 432b74c912ed4333e6633e20a1bcda10c6a10eaf.

* add rgblight_update_hook()

* add more hook point

* add TODO comment

* implement rgblight_update_hook()

* remove rgblight_update_hook(), add RGBLIGHT_SPLIT_SET_CHANGE_XXXX

rgblight_update_hook() is too large.
change to simple flag setting.

* shrink rgblight_config_t

* implement rgblight_update_sync()

Note: The animation synchronization process has not been implemented yet.

* update quantum/rgblight-call-graph.dot (temporary file)

* rmove quantum/rgblight-call-graph.dot (temporary file)

* update rgblight.c

* Add temporary code to Helix keyboard 'five_rows' keymap to test rgblight.c .

* fix build break rgblight_update_sync() when all animation off

* fix quantum/rgblight.c:rgblight_disable_XX() add RGBLIGHT_SPLIT_SET_CHANGE_MODE

* quantum/rgblight.c change code order: move rgblight_update_sync()

* add mode_base_table[] to quantum/rgblight.c

* quantum/rgblight.c use mode_base_table[] and rgblight_status.base_mode

* quantum/rgblkght.c animation timer integration

* quantum/rgblkght.c add animation sync for split keyboard

* fix mode_base_table[] and snake effect

* fix build break keyboards/mxss.

keyboards/mxss's local rgblight.c need old version rgblight.h

* rgblight.c: fix animation sync

* quantum/rgblight.c: fix snake effect sync

* quantum/rgblight.c: animation sync interverl 30 sec

* quantum/rgblight.c: fix rgblight_effect_rainbow_swirl() and rgblight_effect_knight()

* quantum/rgblight.c: add macro RGBLIGHT_SPLIT_ANIMATION

* cherry-pick from 'rgblight_modes.h sample implementation'

* fix RGBLIGHT_SPLIT_ANIMATION check position

* Update temporary code in Helix keyboard 'five_rows' keymap to test rgblight.c

* Reduce the firmware size by 1500 bytes when rgblight_effect_breathing() is enabled.

* Changed to rgblight_sethsv_eeprom_helper() for easier reading.

* add fail-safe code to quantum/rgblight.c:rgblight_task(),rgblight_timer_enable()

* remove temporary code in Helix keyboard 'five_rows' keymap

* quantum/rgblight.c: add split-keyboard master side sync functions

add functions:
  uint8_t rgblight_get_change_flags(void);
  void rgblight_clear_change_flags(void);
  void rgblight_get_syncinfo(rgblight_syncinfo_t *syncinfo);

change function:
  void rgblight_update_sync(rgblight_syncinfo_t *syncinfo, bool write_to_eeprom);

* Change rgblight_update_sync() to use write_to_eeprom.

* remove TODO comment from quantum/rgblight.h

* Revert "fix build break keyboards/mxss."

This reverts commit 90b9a1aa7d8af226751500e49e3ea0214cc4e024.
(Separated this change into the newly opened PR #5461.)

* Revert "Reduce the firmware size by 1500 bytes when rgblight_effect_breathing() is enabled."

This reverts commit b61004e63e82cf5334cee4def4ba10cffa88885f.

* update quantum/rgblight.c: Code size reduction when not using RGBLIGHT_SPLIT.

* Add temporary code to Helix keyboard 'five_rows' keymap to test rgblight.c .

* add temporary pdhelix(Patched Helix) code

* Add temporary code to split_common/transport.c to test rgblight.c.

* Finish testing rgblight.c with helix keyboard.

Revert "Add temporary code to Helix keyboard 'five_rows' keymap to test rgblight.c ."

This reverts commit 0bf81a4723a977adc0cb09b4272ee5c9b4f2bbbb.

* Finish testing rgblight.c with quantum/split_common code.

Revert "Add temporary code to split_common/transport.c to test rgblight.c."

This reverts commit 71db3e24eef40d4c455fb9fd1664e4487c9d927a.

* remove temporary pdhelix(Patched Helix) code

This reverts commit 5287e51a394741bcb6028c7cfc0dd0c984645f76.

* Added description of RGBLIGHT_SPLIT macro to docs/feature_rgblight.md.

* add RGBLIGHT_SPLIT_SET_CHANGE_HSVS to rgblight_init()

* Changed to restart animation only when changing mode.

When changing hue, sat and val, the animation is not restarted and continues.
2019-04-19 15:05:51 -07:00
..
api
audio Adds the Planck EZ, 3737 RGB, fixes out-of-tune notes (#5532) 2019-04-08 16:57:43 -07:00
debounce [core] Fix for eager_pr #5643 2019-04-18 15:45:36 -07:00
keymap_extras Add UK variant of the SEND_STRING() LUTs 2019-02-18 08:47:31 -08:00
process_keycode fix combo enabling logic (#5610) 2019-04-14 11:02:41 -07:00
rgb_matrix_animations Fix bugs that cause compile failures when enabling only some animations. 2019-04-06 10:59:25 -07:00
serial_link
split_common Added encoder support to split common code (#5477) 2019-04-03 16:01:17 -07:00
stm32 Adds the Planck EZ, 3737 RGB, fixes out-of-tune notes (#5532) 2019-04-08 16:57:43 -07:00
template Update ps2avrgb readme template (#5584) 2019-04-11 15:39:40 -07:00
tools
visualizer Fixing dead links (#5503) 2019-03-29 06:20:25 -07:00
api.c rgblight split transfer non-eeprom config (#5396) 2019-03-15 13:46:49 -07:00
api.h
color.c RGB Matrix Overhaul (#5372) 2019-04-02 17:24:14 -07:00
color.h
config_common.h Add new keyboard Plaid and ATMEGA328p support (#5379) 2019-03-12 11:48:17 -07:00
debounce.h Removed #include "matrix.h" from debounce.h 2019-01-26 22:44:33 +11:00
dynamic_keymap.c Added SS_TAP_CODE, SS_DOWN_CODE, SS_UP_CODE 2019-03-30 14:24:13 +11:00
dynamic_keymap.h
dynamic_macro.h
encoder.c Added encoder support to split common code (#5477) 2019-04-03 16:01:17 -07:00
encoder.h Added encoder support to split common code (#5477) 2019-04-03 16:01:17 -07:00
fauxclicky.c
fauxclicky.h
keycode_config.c
keycode_config.h
keymap_common.c Next set of split_common changes (#4974) 2019-03-12 10:23:28 -07:00
keymap.h
led_matrix_drivers.c fix the led_matrix.h naming conflict 2019-02-10 15:37:12 -08:00
led_matrix.c fix the led_matrix.h naming conflict 2019-02-10 15:37:12 -08:00
led_tables.c
led_tables.h
ledmatrix.h fix the led_matrix.h naming conflict 2019-02-10 15:37:12 -08:00
matrix.c Port DIRECT_PINS from split_common/matrix.c to matrix.c (#5091) 2019-04-11 11:51:55 -07:00
mcu_selection.mk Adds Proton C Conversion (#4661) 2019-01-10 08:22:57 -08:00
pincontrol.h
pointing_device.c
pointing_device.h
quantum_keycodes.h Fix indentation in quantum_keycodes.h (#5221) 2019-02-24 15:21:09 -08:00
quantum.c Use auto output for Adafruit BLE (#4131) 2019-04-19 13:07:35 -07:00
quantum.h Change table names 2019-04-12 14:07:05 -07:00
rgb_matrix_drivers.c Features/ws2812 matrix driver (#5418) 2019-04-14 17:50:35 -07:00
rgb_matrix_types.h RGB Matrix support for Massdrop CTRL/ALT (#5328) 2019-04-03 18:30:47 -07:00
rgb_matrix.c Fix bugs that cause compile failures when enabling only some animations. 2019-04-06 10:59:25 -07:00
rgb_matrix.h Features/ws2812 matrix driver (#5418) 2019-04-14 17:50:35 -07:00
rgb.h
rgblight_list.h
rgblight_modes.h Add function to support split-keyboard in rgblight.[ch]. (#5020) 2019-04-19 15:05:51 -07:00
rgblight_reconfig.h
rgblight_types.h
rgblight.c Add function to support split-keyboard in rgblight.[ch]. (#5020) 2019-04-19 15:05:51 -07:00
rgblight.h Add function to support split-keyboard in rgblight.[ch]. (#5020) 2019-04-19 15:05:51 -07:00
send_string_keycodes.h
variable_trace.c
variable_trace.h
velocikey.c Velocikey: Match RGB animation speed to typing speed (#3754) 2019-02-21 07:22:46 -08:00
velocikey.h Velocikey: Match RGB animation speed to typing speed (#3754) 2019-02-21 07:22:46 -08:00