65 #define CMD_COUNT (CMD_LAST - CMD_FIRST + 2)
66 #define CMD_DEV_COUNT (CMD_LAST - CMD_VT_FIRST + 1)
125 int (*start)(
usbdevice* kb,
int makeactive);
126 void (*setmodeindex)(
usbdevice* kb,
int index);
132 int (*updatergb)(
usbdevice* kb,
int force);
134 void (*updateindicators)(
usbdevice* kb,
int force);
void freeprofile(usbdevice *kb)
cmdhandler do_cmd[(CMD_LAST-CMD_VT_FIRST+1)]
int updatedpi(usbdevice *kb, int force)
void(* cmdhandler)(usbdevice *kb, usbmode *modeidx, int notifyidx, int keyindex, const char *parameter)
cmdhandler_mac do_macro[(CMD_LAST-CMD_VT_FIRST+1)]
void allocprofile(usbdevice *kb)
int(* cmdhandler_io)(usbdevice *kb, usbmode *modeidx, int notifyidx, int keyindex, const char *parameter)
cmdhandler_io do_io[(CMD_LAST-CMD_VT_FIRST+1)]
int readcmd(usbdevice *kb, const char *line)
int fwupdate(usbdevice *kb, const char *path, int nnumber)
void(* cmdhandler_mac)(usbdevice *kb, usbmode *modeidx, int notifyidx, const char *keys, const char *assignment)
int loadprofile(usbdevice *kb)