C firmware for AVR micrcontrollers implementing HID interface