mirror of
https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter
synced 2024-12-12 02:32:20 -05:00
Update x-arcade.ino
This commit is contained in:
parent
aa96cef963
commit
ec0d69295e
@ -186,8 +186,10 @@ PS2KeyRaw keyboard;
|
|||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
keyboard.begin(DATAPIN, IRQPIN);
|
keyboard.begin(DATAPIN, IRQPIN);
|
||||||
|
#ifdef DEBUG
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
Serial.println( "PS2 Raw Test of PS2 Keyboard codes" );
|
Serial.println( "PS2 Raw Test of PS2 Keyboard codes" );
|
||||||
|
#endif
|
||||||
Joystick[0].data[0] = 0x00;
|
Joystick[0].data[0] = 0x00;
|
||||||
Joystick[0].data[1] = 0x00;
|
Joystick[0].data[1] = 0x00;
|
||||||
Joystick[0].data[2] = 0x00;
|
Joystick[0].data[2] = 0x00;
|
||||||
|
Loading…
Reference in New Issue
Block a user