test HID code