summaryrefslogtreecommitdiff
path: root/src/class/hid/hid_host.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-02-24 14:07:33 +0700
committerhathach <[email protected]>2021-05-18 12:58:24 +0700
commit68fa17e17ca900ec2800c55c9345a2a0fed3fca9 (patch)
tree5c0822180827bbd7753ce8a873ded5ed8cdd06b9 /src/class/hid/hid_host.h
parentf1148ca5ac8f56774af4b58175d0d61442f86544 (diff)
more API rename
Diffstat (limited to 'src/class/hid/hid_host.h')
-rw-r--r--src/class/hid/hid_host.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/class/hid/hid_host.h b/src/class/hid/hid_host.h
index d43158186..f777fe45d 100644
--- a/src/class/hid/hid_host.h
+++ b/src/class/hid/hid_host.h
@@ -47,6 +47,16 @@
#endif
//--------------------------------------------------------------------+
+// Application API (Multiple Instances)
+// CFG_TUH_HID > 1
+//--------------------------------------------------------------------+
+
+
+//--------------------------------------------------------------------+
+// Application API (Single Instance)
+//--------------------------------------------------------------------+
+
+//--------------------------------------------------------------------+
// KEYBOARD Application API
//--------------------------------------------------------------------+
/** \addtogroup ClassDriver_HID_Keyboard Keyboard
@@ -63,7 +73,7 @@ extern uint8_t const hid_keycode_to_ascii_tbl[2][128]; // TODO used weak attr if
* \retval true if device supports Keyboard interface
* \retval false if device does not support Keyboard interface or is not mounted
*/
-bool tuh_hid_keyboard_is_mounted(uint8_t dev_addr);
+bool tuh_hid_keyboard_mounted(uint8_t dev_addr);
/** \brief Check if the interface is currently busy or not
* \param[in] dev_addr device address
@@ -128,7 +138,7 @@ void tuh_hid_keyboard_unmounted_cb(uint8_t dev_addr);
* \retval true if device supports Mouse interface
* \retval false if device does not support Mouse interface or is not mounted
*/
-bool tuh_hid_mouse_is_mounted(uint8_t dev_addr);
+bool tuh_hid_mouse_mounted(uint8_t dev_addr);
/** \brief Check if the interface is currently busy or not
* \param[in] dev_addr device address