diff options
| author | Thomas Weißschuh <thomas@t-8ch.de> | 2021-09-15 17:40:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-15 08:40:22 -0700 |
| commit | 83988597f4d916a37b2b0987f393ceaa007532eb (patch) | |
| tree | ba5d07ccf743cb27bee77b4d6cd2128035ce365e /quantum/keyboard.c | |
| parent | 1a68feb842ebcc6a7d1aef7cd7f83865cc18fab1 (diff) | |
| download | qmk_firmware-83988597f4d916a37b2b0987f393ceaa007532eb.tar.gz qmk_firmware-83988597f4d916a37b2b0987f393ceaa007532eb.zip | |
Add Support for USB programmable buttons (#12950)
Diffstat (limited to 'quantum/keyboard.c')
| -rw-r--r-- | quantum/keyboard.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/quantum/keyboard.c b/quantum/keyboard.c index 5846507b3..6054faa03 100644 --- a/quantum/keyboard.c +++ b/quantum/keyboard.c | |||
| @@ -76,6 +76,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 76 | #ifdef JOYSTICK_ENABLE | 76 | #ifdef JOYSTICK_ENABLE |
| 77 | # include "process_joystick.h" | 77 | # include "process_joystick.h" |
| 78 | #endif | 78 | #endif |
| 79 | #ifdef PROGRAMMABLE_BUTTON_ENABLE | ||
| 80 | # include "programmable_button.h" | ||
| 81 | #endif | ||
| 79 | #ifdef HD44780_ENABLE | 82 | #ifdef HD44780_ENABLE |
| 80 | # include "hd44780.h" | 83 | # include "hd44780.h" |
| 81 | #endif | 84 | #endif |
| @@ -542,6 +545,10 @@ MATRIX_LOOP_END: | |||
| 542 | digitizer_task(); | 545 | digitizer_task(); |
| 543 | #endif | 546 | #endif |
| 544 | 547 | ||
| 548 | #ifdef PROGRAMMABLE_BUTTON_ENABLE | ||
| 549 | programmable_button_send(); | ||
| 550 | #endif | ||
| 551 | |||
| 545 | // update LED | 552 | // update LED |
| 546 | if (led_status != host_keyboard_leds()) { | 553 | if (led_status != host_keyboard_leds()) { |
| 547 | led_status = host_keyboard_leds(); | 554 | led_status = host_keyboard_leds(); |
