You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk-fw/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.
7 years ago
..
api Merge ChibiOS and LUFA descriptor support (#2362) 7 years ago
audio Add functions so you can configure programatically 7 years ago
keymap_extras Fix typo in keymap_swedish.h (#3877) 7 years ago
process_keycode Add On/Off keycodes 7 years ago
serial_link
split_common Add support for a different pinout on Split boards (#3869) 7 years ago
template Updated templates for use by new_project.sh (#3783) 7 years ago
tools
visualizer
api.c
api.h
color.c Adds IS31FL3731 RGB Matrix Implementation (#2910) 7 years ago
color.h Adds IS31FL3731 RGB Matrix Implementation (#2910) 7 years ago
config_common.h Adds support for Planck Rev 6 (#2666) 7 years ago
dynamic_keymap.c Zeal60/Zeal65/M60-A implementation (#3879) 7 years ago
dynamic_keymap.h Zeal60/Zeal65/M60-A implementation (#3879) 7 years ago
dynamic_macro.h
fauxclicky.c
fauxclicky.h
keycode_config.c Fix #1566 - NKRO reseting issue 7 years ago
keycode_config.h
keymap.h Merge ChibiOS and LUFA descriptor support (#2362) 7 years ago
keymap_common.c Lets split eh (#3120) 7 years ago
led_tables.c
led_tables.h
matrix.c Disable JTAG in keyboard init 7 years ago
pincontrol.h
pointing_device.c
pointing_device.h
quantum.c Create AG_TOGG code to toggle Alt/Gui swap. 7 years ago
quantum.h Make `PREVENT_STUCK_MODIFIERS` the default (#3107) 7 years ago
quantum_keycodes.h Add On/Off keycodes 7 years ago
rgb.h Add effect speed support for RGB Matrix *No EEPROM yet* (#2922) 7 years ago
rgb_matrix.c RGB Matrix refactoring to open up for new drivers (#3913) 7 years ago
rgb_matrix.h RGB Matrix refactoring to open up for new drivers (#3913) 7 years ago
rgb_matrix_drivers.c RGB Matrix refactoring to open up for new drivers (#3913) 7 years ago
rgblight.c rgblight.[ch] more configurable (#3582) 7 years ago
rgblight.h rgblight.[ch] more configurable (#3582) 7 years ago
rgblight_list.h Add and fix _noeeprom functions to many of the RGB Underglow functions (#3070) 7 years ago
rgblight_reconfig.h rgblight.[ch] more configurable (#3582) 7 years ago
rgblight_types.h Adds support for Planck Rev 6 (#2666) 7 years ago
send_string_keycodes.h Clean up SEND_STRING keycodes and add media keys (#3214) 7 years ago
variable_trace.c
variable_trace.h