C program using the Griffin Powermate in HID mode.