void cmd_dpisel(usbdevice *kb, usbmode *mode, int dummy1, int dummy2, const char *stage)
char * printdpi(const dpiset *dpi, const usbdevice *kb)
int loaddpi(usbdevice *kb, dpiset *dpi, lighting *light)
void cmd_snap(usbdevice *kb, usbmode *mode, int dummy1, int dummy2, const char *enable)
void cmd_lift(usbdevice *kb, usbmode *mode, int dummy1, int dummy2, const char *height)
int updatedpi(usbdevice *kb, int force)
void cmd_dpi(usbdevice *kb, usbmode *mode, int dummy, const char *stages, const char *values)
int savedpi(usbdevice *kb, dpiset *dpi, lighting *light)