Skip to content

Commit

Permalink
Separate pedals for Formula Force GP wheel.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matlo committed May 9, 2016
1 parent facfc35 commit 0d655a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions shared/async/src/linux/uhidasync.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,6 @@ static __u8 momo_rdesc_fixed[] = {
0xC0 /* End Collection */
};

//TODO MLA: try to separate the pedal axes
static __u8 ffgp_rdesc_fixed[] = {
0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
// 0x09, 0x04, // Usage (Joystick)
Expand Down Expand Up @@ -362,13 +361,13 @@ static __u8 ffgp_rdesc_fixed[] = {
0x75, 0x08, // Report Size (8)
0x26, 0xFF, 0x00, // Logical Maximum (255)
0x46, 0xFF, 0x00, // Physical Maximum (255)
0x06, 0x00, 0xFF, // Usage Page (Vendor Defined 0xFF00)
//0x06, 0x00, 0xFF, // Usage Page (Vendor Defined 0xFF00)
0x09, 0x01, // Usage (0x01)
0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
0x09, 0x31, // Usage (Y)
0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
0x06, 0x00, 0xFF, // Usage Page (Vendor Defined 0xFF00)
//0x06, 0x00, 0xFF, // Usage Page (Vendor Defined 0xFF00)
0x09, 0x01, // Usage (0x01)
0x95, 0x03, // Report Count (3)
0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
Expand Down

0 comments on commit 0d655a2

Please sign in to comment.