qmk-dactyl-manuform-a/quantum
James Laird-Wah f70f45ee67 RGB Matrix refactoring to open up for new drivers (#3913)
* rgb_matrix: use a driver ops struct

This is intended to avoid #ifdef proliferation on adding more drivers,
eg. model01, which use different architectures.

* rgb_matrix: document driver struct members

* rgb_matrix: remove unused LED testing code

* rgb_matrix: don't build into IS31x drivers unless being used

* rgb_matrix: refactor make config options

This ensures that the necessary files are included for any custom
RGB_MATRIX_ENABLE value, without having to add entries here for specific
boards. This particularly affects model01 because its controller is
integrated and won't be used anywhere else, so it's preferable not to
put it in common_features.mk.

This now validates the value of RGB_MATRIX_ENABLE.

It was necessary to fix an error in ergodox_ez rules.mk using the wrong
comment separator, yielding an invalid value.

* IS31x drivers: don't write the control registers all the time

This is only needed when they are changed. This is done in init() and
board- or keymap-specific code is free to make further changes.

* rgb_matrix: move structs from chip drivers to rgb_matrix_drivers.c

This approach is specific to the rgb_matrix functionality, so keep it
neatly separated from the raw chip drivers.
2018-09-27 10:40:18 -04:00
..
api Merge ChibiOS and LUFA descriptor support (#2362) 2018-02-08 15:07:46 -05:00
audio Add functions so you can configure programatically 2018-09-25 13:28:36 -07:00
keymap_extras Fix typo in keymap_swedish.h (#3877) 2018-09-09 19:49:26 -07:00
process_keycode Add On/Off keycodes 2018-09-25 13:28:36 -07:00
serial_link
split_common Add support for a different pinout on Split boards (#3869) 2018-09-09 19:42:46 -07:00
template Updated templates for use by new_project.sh (#3783) 2018-08-29 10:57:30 -07:00
tools
visualizer
api.c
api.h
color.c Adds IS31FL3731 RGB Matrix Implementation (#2910) 2018-05-08 15:24:18 -04:00
color.h Adds IS31FL3731 RGB Matrix Implementation (#2910) 2018-05-08 15:24:18 -04:00
config_common.h Adds support for Planck Rev 6 (#2666) 2018-07-16 11:48:31 -04:00
dynamic_keymap.c Zeal60/Zeal65/M60-A implementation (#3879) 2018-09-13 14:37:13 -04:00
dynamic_keymap.h Zeal60/Zeal65/M60-A implementation (#3879) 2018-09-13 14:37:13 -04:00
dynamic_macro.h
fauxclicky.c
fauxclicky.h
keycode_config.c Fix #1566 - NKRO reseting issue 2018-03-25 13:17:52 -04:00
keycode_config.h
keymap.h Merge ChibiOS and LUFA descriptor support (#2362) 2018-02-08 15:07:46 -05:00
keymap_common.c Lets split eh (#3120) 2018-07-16 22:25:02 -04:00
led_tables.c
led_tables.h
matrix.c Disable JTAG in keyboard init 2018-06-28 08:52:21 -04:00
pincontrol.h
pointing_device.c
pointing_device.h
quantum.c Create AG_TOGG code to toggle Alt/Gui swap. 2018-09-17 15:04:22 -07:00
quantum.h Make `PREVENT_STUCK_MODIFIERS` the default (#3107) 2018-09-17 13:48:02 -04:00
quantum_keycodes.h Add On/Off keycodes 2018-09-25 13:28:36 -07:00
rgb.h Add effect speed support for RGB Matrix *No EEPROM yet* (#2922) 2018-05-08 23:23:21 -04:00
rgb_matrix.c RGB Matrix refactoring to open up for new drivers (#3913) 2018-09-27 10:40:18 -04:00
rgb_matrix.h RGB Matrix refactoring to open up for new drivers (#3913) 2018-09-27 10:40:18 -04:00
rgb_matrix_drivers.c RGB Matrix refactoring to open up for new drivers (#3913) 2018-09-27 10:40:18 -04:00
rgblight.c rgblight.[ch] more configurable (#3582) 2018-09-13 10:24:09 -07:00
rgblight.h rgblight.[ch] more configurable (#3582) 2018-09-13 10:24:09 -07:00
rgblight_list.h Add and fix _noeeprom functions to many of the RGB Underglow functions (#3070) 2018-05-29 11:05:22 -04:00
rgblight_reconfig.h rgblight.[ch] more configurable (#3582) 2018-09-13 10:24:09 -07:00
rgblight_types.h Adds support for Planck Rev 6 (#2666) 2018-07-16 11:48:31 -04:00
send_string_keycodes.h Clean up SEND_STRING keycodes and add media keys (#3214) 2018-06-28 08:55:04 -04:00
variable_trace.c
variable_trace.h