void colprintf( char *prefix, const char *col, char* format, va_list *args ); void info( char* format, ... ); void err( char* format, ... ); void warn( char* format, ... ); int hextoint(char *hex); int readresult(hid_device *dev, uint8_t *retbuf); void showlevel(uint8_t *buf);