mirror of
https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter
synced 2024-08-13 15:43:47 -04:00
Update RetroJoystickAdapter_Playstation.ino
This commit is contained in:
parent
dbc3e386e6
commit
9c03755ca5
@ -87,12 +87,12 @@ class Joystick_ {
|
|||||||
private:
|
private:
|
||||||
uint8_t joystickId;
|
uint8_t joystickId;
|
||||||
uint8_t reportId;
|
uint8_t reportId;
|
||||||
int8_t olddata[JOYSTICK_STATE_SIZE];
|
uint8_t olddata[JOYSTICK_STATE_SIZE];
|
||||||
int8_t flag;
|
uint8_t flag;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
int8_t type;
|
uint8_t type;
|
||||||
int8_t data[JOYSTICK_STATE_SIZE];
|
uint8_t data[JOYSTICK_STATE_SIZE];
|
||||||
|
|
||||||
Joystick_(uint8_t initJoystickId, uint8_t initReportId) {
|
Joystick_(uint8_t initJoystickId, uint8_t initReportId) {
|
||||||
// Setup HID report structure
|
// Setup HID report structure
|
||||||
|
Loading…
Reference in New Issue
Block a user