| |||||||
| Hardware Hacking The hammer and tongs school of Overclocking. (NOT for the beginner and you assume all risks) |
![]() |
| | LinkBack | Thread Tools | Rate Thread |
| ||||
| Haven't done that. I rather thought it was a relatively simple process, from what little I've read.
__________________ Avatar and sig graphic by Pitch. Subscribers! Ask about a custom graphic or avatar today! Gizmo Thermal Diode Mod and Direct-Die Water Block 8-Cheetah 18GiB U-2 SCSI MegaRAID Enterprise 1500/128MiB Samsung SyncMaster 955DF TTGI/Superflower TTS-520 PSU ![]() ![]() ![]() |
| ||||
| I've been trying to get my head around it - for some reason the concepts seem simple, but putting them into practice hasn't been. I know that Windows is a bit picky about the descriptors, but even modifying existing examples haven't got me very far!
__________________ |
| ||||
| For example, if I use this the following example (I forget where I found it sadly), then all is sweet. Code: //Six button gamepad (length 47)
{0x05,0x01, // Usage Page (Generic Desktop)
0x09,0x05, // Usage (Gamepad)
0xa1,0x01, // 2 Collection (Application)
0x09, 0x01, // USAGE (Pointer)
0xa1, 0x00, // COLLECTION (Physical)
0x09, 0x30, // USAGE (X)
0x09, 0x31, // USAGE (Y)
0x15, 0x00, // LOGICAL_MINIMUM (0)
0x26, 0xFF, // LOGICAL_MAXIMUM (255)
0x00, 0x75, 0x08,// REPORT_SIZE (8)
0x95, 0x02, // REPORT_COUNT (2)
0x81, 0x02, // INPUT (Data,Var,Abs)
0xc0, // END_COLLECTION
0x05, 0x09, // USAGE_PAGE (Button)
0x19, 0x01, // USAGE_MINIMUM (Button 1)
0x29, 0x06, // USAGE_MAXIMUM (Button 6)
0x15, 0x00, // LOGICAL_MINIMUM (0)
0x25, 0x01, // LOGICAL_MAXIMUM (1)
0x75, 0x01, // REPORT_SIZE (1)
0x95, 0x06, // REPORT_COUNT (6)
0x81, 0x02, // INPUT (Data,Var,Abs)
0x95, 0x02, // REPORT_COUNT (2)
0x81, 0x03, // INPUT (Constant,Var,Abs)
0xc0 } // END_COLLECTION
Code: 0x19, 0x01, // USAGE_MINIMUM (Button 1) 0x29, 0x07, // USAGE_MAXIMUM (Button 7) 0x15, 0x00, // LOGICAL_MINIMUM (0) 0x25, 0x01, // LOGICAL_MAXIMUM (1) 0x75, 0x01, // REPORT_SIZE (1) 0x95, 0x07, // REPORT_COUNT (7) Am I just a bit thick, or am I missing something fundamental?
__________________ Last edited by Áedán; 30th October, 2008 at 03:27 AM. Reason: speeling |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Rate This Thread | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Building a system | WonderBread | AMD Motherboards & CPUs | 28 | 5th November, 2005 04:34 AM |
| Building Forum | amarkarian | Random Nonsense! | 16 | 25th May, 2005 03:41 PM |
| Are you building a new Folder? | LP | Samuknow's AOA FOLDING@HOME Team | 34 | 23rd November, 2003 06:07 AM |
| Team building! | Daniel ~ | Samuknow's AOA FOLDING@HOME Team | 8 | 24th September, 2001 10:17 PM |