ldube commented on code in PR #8921:
URL: https://github.com/apache/nuttx/pull/8921#discussion_r1152377489


##########
drivers/usbhost/usbhost_hidkbd.c:
##########
@@ -353,10 +387,13 @@ static uint32_t g_devinuse;
 /* The following are used to managed the class creation operation */
 
 static mutex_t g_lock = NXMUTEX_INITIALIZER;
-static sem_t g_syncsem = SEM_INITIALIZER(0);
 static FAR struct usbhost_state_s *g_priv;
 
-/* The following tables map keyboard scan codes to printable ASIC
+/* Global caps lock status */
+
+static bool g_caps_lock = false;

Review Comment:
   Because more than one keyboard can be active at the same time.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to