Subversion Repositories group.electronics

Rev

Rev 28 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28 Rev 31
Line 1... Line 1...
1
#include <avr/pgmspace.h>
1
#include <avr/pgmspace.h>
2
 
2
 
3
PROGMEM char usbHidReportDescriptor[42] = {
3
PROGMEM char usbHidReportDescriptor[44] = {
4
    0x05, 0x01,                    // USAGE_PAGE (Generic Desktop)
4
    0x05, 0x01,                    // USAGE_PAGE (Generic Desktop)
5
    0x09, 0x05,                    // USAGE (Game Pad)
5
    0x09, 0x04,                    // USAGE (Joystick)
6
    0xa1, 0x01,                    // COLLECTION (Application)
6
    0xa1, 0x01,                    // COLLECTION (Application)
-
 
7
    0x09, 0x01,                    //   COLLECTION (Pointer)
7
    0xa1, 0x00,                    //   COLLECTION (Physical)
8
    0xa1, 0x00,                    //   COLLECTION (Physical)
8
    0x05, 0x01,                    //     USAGE_PAGE (Generic Desktop)
9
    0x05, 0x01,                    //     USAGE_PAGE (Generic Desktop)
9
    0x09, 0x30,                    //     USAGE (X)
10
    0x09, 0x30,                    //     USAGE (X)
10
    0x09, 0x31,                    //     USAGE (Y)
11
    0x09, 0x31,                    //     USAGE (Y)
11
    0x15, 0x81,                    //     LOGICAL_MINIMUM (-127)
12
    0x15, 0x81,                    //     LOGICAL_MINIMUM (-127)