summaryrefslogtreecommitdiff
path: root/src/class/hid
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-17 12:14:11 +0700
committerhathach <[email protected]>2018-12-17 12:14:11 +0700
commit902697ca079a179221da92f8cb9f873768a5d0d7 (patch)
tree8bc9238d3aa66b4b02139a9e24005e1ce4c3630a /src/class/hid
parent455da57f9d66a342383334f3af82c27b57feb6cd (diff)
add dcd_get_microframe()
Diffstat (limited to 'src/class/hid')
-rw-r--r--src/class/hid/hid_device.c2
-rw-r--r--src/class/hid/hid_device.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/class/hid/hid_device.c b/src/class/hid/hid_device.c
index 70aa7370d..3b882f705 100644
--- a/src/class/hid/hid_device.c
+++ b/src/class/hid/hid_device.c
@@ -207,6 +207,7 @@ bool tud_hid_keyboard_key_press(char ch)
return tud_hid_keyboard_keycode(modifier, keycode);
}
+#if 0 // should be at application
bool tud_hid_keyboard_key_sequence(const char* str, uint32_t interval_ms)
{
// Send each key in string
@@ -231,6 +232,7 @@ bool tud_hid_keyboard_key_sequence(const char* str, uint32_t interval_ms)
return true;
}
+#endif
#endif // CFG_TUD_HID_ASCII_TO_KEYCODE_LOOKUP
diff --git a/src/class/hid/hid_device.h b/src/class/hid/hid_device.h
index 885f33443..f3d5087a2 100644
--- a/src/class/hid/hid_device.h
+++ b/src/class/hid/hid_device.h
@@ -95,7 +95,6 @@ static inline bool tud_hid_keyboard_key_release(void) { return tud_hid_keyboard_
#if CFG_TUD_HID_ASCII_TO_KEYCODE_LOOKUP
bool tud_hid_keyboard_key_press(char ch);
-bool tud_hid_keyboard_key_sequence(const char* str, uint32_t interval_ms);
typedef struct{
uint8_t shift;