12 const int keycount = 20;
15 { 0x07, 0x40, keycount, 0 },
23 pthread_mutex_lock(
imutex(kb));
29 pthread_mutex_unlock(
imutex(kb));
36 for(
int i = 0; i < keycount; i++){
37 msg[1][i * 2 + 4] = i + 1;
68 0x07, 0x0a, 0, 0, (
uchar)rate
int cmd_active_mouse(usbdevice *kb, usbmode *dummy1, int dummy2, int dummy3, const char *dummy4)
int cmd_idle_mouse(usbdevice *kb, usbmode *dummy1, int dummy2, int dummy3, const char *dummy4)
#define NEEDS_FW_UPDATE(kb)
int cmd_pollrate(usbdevice *kb, usbmode *dummy1, int dummy2, int rate, const char *dummy3)
int setactive_mouse(usbdevice *kb, int active)
Definitions for using USB interface.
#define usbsend(kb, messages, count)
usbsend macro is used to wrap _usbsend() with debugging information (file and lineno) ...
uchar keys[((((152+22+12)+25)+7)/8)]