qmk-firmware/quantum
Drashna Jaelre dab4967f1b
Add Dip Switch as a core feature (#6140)
* Add Dip Switches as a core feature

* Add documentation for Dip Switch feature

* Update Preonic Rev3 to use new feature and remove custom matrix

* Apply suggestions from code review

Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>

* Remove custom matrix line completely

Rather than just disabling it

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* DIP changes

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Use better check for DIP Switch configuration

* Add to show features

* Add bitmask callback for dip switch

* Fix OLKB Boards dip switch config

* Update docs to include bitmask example

* Fix comments/documentation

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Fix issues with docs and use example from @tuzonghua

* Fix wording

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Fix example to use proper formatting

Bad, BAAAAAAD drashna!!!

* Handle dip switch initialization better
2019-09-03 08:34:31 -07:00
..
api clang-format changes 2019-08-30 15:01:52 -07:00
audio clang-format changes 2019-08-30 15:01:52 -07:00
debounce clang-format changes 2019-08-30 15:01:52 -07:00
keymap_extras clang-format changes 2019-08-30 15:01:52 -07:00
process_keycode clang-format changes 2019-08-30 15:01:52 -07:00
rgb_matrix_animations clang-format changes 2019-08-30 15:01:52 -07:00
rgb_matrix_runners clang-format changes 2019-08-30 15:01:52 -07:00
serial_link clang-format changes 2019-08-30 15:01:52 -07:00
split_common clang-format changes 2019-08-30 15:01:52 -07:00
stm32 clang-format changes 2019-08-30 15:01:52 -07:00
template clang-format changes 2019-08-30 15:01:52 -07:00
tools Backlight abstraction and other changes (#439) 2016-06-23 22:18:20 -04:00
visualizer clang-format changes 2019-08-30 15:01:52 -07:00
api.c clang-format changes 2019-08-30 15:01:52 -07:00
api.h clang-format changes 2019-08-30 15:01:52 -07:00
color.c clang-format changes 2019-08-30 15:01:52 -07:00
color.h clang-format changes 2019-08-30 15:01:52 -07:00
config_common.h clang-format changes 2019-08-30 15:01:52 -07:00
debounce.h Removed #include "matrix.h" from debounce.h 2019-01-26 22:44:33 +11:00
dip_switch.c Add Dip Switch as a core feature (#6140) 2019-09-03 08:34:31 -07:00
dip_switch.h Add Dip Switch as a core feature (#6140) 2019-09-03 08:34:31 -07:00
dynamic_keymap.c clang-format changes 2019-08-30 15:01:52 -07:00
dynamic_keymap.h clang-format changes 2019-08-30 15:01:52 -07:00
dynamic_macro.h clang-format changes 2019-08-30 15:01:52 -07:00
encoder.c clang-format changes 2019-08-30 15:01:52 -07:00
encoder.h Added encoder support to split common code (#5477) 2019-04-03 16:01:17 -07:00
fauxclicky.c clang-format changes 2019-08-30 15:01:52 -07:00
fauxclicky.h clang-format changes 2019-08-30 15:01:52 -07:00
keycode_config.c clang-format changes 2019-08-30 15:01:52 -07:00
keycode_config.h clang-format changes 2019-08-30 15:01:52 -07:00
keymap.h clang-format changes 2019-08-30 15:01:52 -07:00
keymap_common.c clang-format changes 2019-08-30 15:01:52 -07:00
led_matrix.c clang-format changes 2019-08-30 15:01:52 -07:00
led_matrix_drivers.c clang-format changes 2019-08-30 15:01:52 -07:00
led_tables.c clang-format changes 2019-08-30 15:01:52 -07:00
led_tables.h Move CIE1931 and breathing tables to its own file 2017-04-09 18:34:59 +03:00
ledmatrix.h clang-format changes 2019-08-30 15:01:52 -07:00
matrix.c clang-format changes 2019-08-30 15:01:52 -07:00
mcu_selection.mk Add ATmega32U2 to mcu_selection.mk (#6561) 2019-08-17 14:29:41 -07:00
pincontrol.h clang-format changes 2019-08-30 15:01:52 -07:00
pointing_device.c clang-format changes 2019-08-30 15:01:52 -07:00
pointing_device.h clang-format changes 2019-08-30 15:01:52 -07:00
quantum.c Add Dip Switch as a core feature (#6140) 2019-09-03 08:34:31 -07:00
quantum.h Add Dip Switch as a core feature (#6140) 2019-09-03 08:34:31 -07:00
quantum_keycodes.h clang-format changes 2019-08-30 15:01:52 -07:00
rgb.h clang-format changes 2019-08-30 15:01:52 -07:00
rgb_matrix.c clang-format changes 2019-08-30 15:01:52 -07:00
rgb_matrix.h clang-format changes 2019-08-30 15:01:52 -07:00
rgb_matrix_drivers.c clang-format changes 2019-08-30 15:01:52 -07:00
rgb_matrix_types.h clang-format changes 2019-08-30 15:01:52 -07:00
rgblight.c clang-format changes 2019-08-30 15:01:52 -07:00
rgblight.h clang-format changes 2019-08-30 15:01:52 -07:00
rgblight_breathe_table.h clang-format changes 2019-08-30 15:01:52 -07:00
rgblight_list.h clang-format changes 2019-08-30 15:01:52 -07:00
rgblight_modes.h clang-format changes 2019-08-30 15:01:52 -07:00
rgblight_post_config.h clang-format changes 2019-08-30 15:01:52 -07:00
rgblight_reconfig.h clang-format changes 2019-08-30 15:01:52 -07:00
send_string_keycodes.h clang-format changes 2019-08-30 15:01:52 -07:00
variable_trace.c clang-format changes 2019-08-30 15:01:52 -07:00
variable_trace.h clang-format changes 2019-08-30 15:01:52 -07:00
velocikey.c clang-format changes 2019-08-30 15:01:52 -07:00
velocikey.h clang-format changes 2019-08-30 15:01:52 -07:00