@kkbin505,
I want to congratulate you for developing this excellent piece of software as it has greatly simplified using a RC gamepad (BetaFPV ELRS LiteRadio 3) in place of a BT gamepad (PS4/XBox) for remote control of my Donkey Car test vehicle.
I am presently using the default frame rate of 150 frames/sec on my BetaFPV LiteRadio 3 and testing has shown the joystick axes/switches responses to be virtually instantaneous.
I believe that the Joystick HID descriptor report, shown below, controls the definition of the joystick axes and switches:
Joystick_ Joystick(JOYSTICK_DEFAULT_REPORT_ID,JOYSTICK_TYPE_GAMEPAD,
0, 0, // Button Count, Hat Switch Count
true, true, true, // X, Y, Z
true, true, true, // Rx, Ry, Rz
false, false, // Rudder, Throttle
false, false, false); // Accelerator, Brake, Steering
Based on a search of the IoT for information concerning the HID descriptor report, the HID descriptor shown above does not match any of the HID descriptor report documentation I could find.
I suspect that the HID descriptor report shown above is unique to the Arduino Joystick Library requirements?
Could you please explain, or point me to a tutorial, how you constructed the HID descriptor report so that it can be easily modified for a user's unique joystick requirement.
Regards,
TCIII
@kkbin505,
I want to congratulate you for developing this excellent piece of software as it has greatly simplified using a RC gamepad (BetaFPV ELRS LiteRadio 3) in place of a BT gamepad (PS4/XBox) for remote control of my Donkey Car test vehicle.
I am presently using the default frame rate of 150 frames/sec on my BetaFPV LiteRadio 3 and testing has shown the joystick axes/switches responses to be virtually instantaneous.
I believe that the Joystick HID descriptor report, shown below, controls the definition of the joystick axes and switches:
Based on a search of the IoT for information concerning the HID descriptor report, the HID descriptor shown above does not match any of the HID descriptor report documentation I could find.
I suspect that the HID descriptor report shown above is unique to the Arduino Joystick Library requirements?
Could you please explain, or point me to a tutorial, how you constructed the HID descriptor report so that it can be easily modified for a user's unique joystick requirement.
Regards,
TCIII