1
0
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:
Jarno Lehtinen 2019-04-16 14:24:43 +03:00 committed by GitHub
parent aa96cef963
commit ec0d69295e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;