Software for USB-connected relays with HID interface