aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/vusb/main.c
diff options
context:
space:
mode:
authorTakuya Urakawa <urkwtky@gmail.com>2020-03-31 05:15:05 +0900
committerGitHub <noreply@github.com>2020-03-30 21:15:05 +0100
commit89a675d57c14b3980ba73198b692d6fb5a62f105 (patch)
tree0bbc4da65471d0a489746ab8c359da2a42774225 /tmk_core/protocol/vusb/main.c
parentb892a1429d753d83d179fea26a2c7b84edab840d (diff)
downloadqmk_firmware-89a675d57c14b3980ba73198b692d6fb5a62f105.tar.gz
qmk_firmware-89a675d57c14b3980ba73198b692d6fb5a62f105.zip
add hid_raw feature to VUSB (#8380)
* rewrite usbhid feature on vusb * Apply suggestions from code review Co-Authored-By: Ryan <fauxpark@gmail.com> * fix typo * fix typo again * Update tmk_core/protocol/vusb/vusb.c Co-Authored-By: Ryan <fauxpark@gmail.com> * clean up defines Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'tmk_core/protocol/vusb/main.c')
-rw-r--r--tmk_core/protocol/vusb/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tmk_core/protocol/vusb/main.c b/tmk_core/protocol/vusb/main.c
index 219989876..1ab765343 100644
--- a/tmk_core/protocol/vusb/main.c
+++ b/tmk_core/protocol/vusb/main.c
@@ -108,6 +108,13 @@ int main(void) {
108 keyboard_task(); 108 keyboard_task();
109 } 109 }
110 vusb_transfer_keyboard(); 110 vusb_transfer_keyboard();
111#ifdef RAW_ENABLE
112 usbPoll();
113
114 if (usbConfiguration && usbInterruptIsReady3()) {
115 raw_hid_task();
116 }
117#endif
111 } 118 }
112 } 119 }
113} 120}