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
1 changed files with 2 additions and 0 deletions

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;