Correctifs de bugs
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// D:\Documents\Simulator project\SimulatorDescriptor.h
|
||||
// D:\Documents\zendrive-simulator\SimulatorDescriptor.h
|
||||
|
||||
|
||||
char ReportDescriptor[125] = {
|
||||
char ReportDescriptor[122] = {
|
||||
0x05, 0x01, // USAGE_PAGE (Generic Desktop)
|
||||
0x09, 0x04, // USAGE (Joystick)
|
||||
0xa1, 0x01, // COLLECTION (Application)
|
||||
@@ -45,8 +45,8 @@ char ReportDescriptor[125] = {
|
||||
0xa1, 0x01, // COLLECTION (Application)
|
||||
0x85, 0x05, // REPORT_ID (5)
|
||||
0x05, 0x09, // USAGE_PAGE (Button)
|
||||
0x19, 0x01, // USAGE_MINIMUM (Button 1)
|
||||
0x29, 0x0b, // USAGE_MAXIMUM (Button 11)
|
||||
0x19, 0x09, // USAGE_MINIMUM (Button 9)
|
||||
0x29, 0x13, // USAGE_MAXIMUM (Button 19)
|
||||
0x15, 0x00, // LOGICAL_MINIMUM (0)
|
||||
0x25, 0x01, // LOGICAL_MAXIMUM (1)
|
||||
0x75, 0x01, // REPORT_SIZE (1)
|
||||
@@ -56,15 +56,14 @@ char ReportDescriptor[125] = {
|
||||
0x75, 0x05, // REPORT_SIZE (5)
|
||||
0x81, 0x03, // INPUT (Cnst,Var,Abs)
|
||||
0x05, 0x02, // USAGE_PAGE (Simulation Controls)
|
||||
0x15, 0x00, // LOGICAL_MINIMUM (0)
|
||||
0x26, 0xff, 0x00, // LOGICAL_MAXIMUM (255)
|
||||
0x15, 0x81, // LOGICAL_MINIMUM (-127)
|
||||
0x25, 0x7f, // LOGICAL_MAXIMUM (127)
|
||||
0xa1, 0x00, // COLLECTION (Physical)
|
||||
0x09, 0xc8, // USAGE (Steering)
|
||||
0x75, 0x08, // REPORT_SIZE (8)
|
||||
0x95, 0x01, // REPORT_COUNT (1)
|
||||
0x81, 0x02, // INPUT (Data,Var,Abs)
|
||||
0xc0, // END_COLLECTION
|
||||
0xc0, // END_COLLECTION
|
||||
0x05, 0x01 // USAGE_PAGE (Generic Desktop)
|
||||
0xc0 // END_COLLECTION
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user