Skip to content

Commit

Permalink
Keyboard Driver - A3/A4 Fix (OpenStickCommunity#1144)
Browse files Browse the repository at this point in the history
We added A3 and A4 assignment, but need to add it to the Keyboard Driver
  • Loading branch information
arntsonl authored Sep 20, 2024
1 parent f26f03c commit fd18b3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/drivers/keyboard/KeyboardDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ void KeyboardDriver::process(Gamepad * gamepad) {
if(gamepad->pressedR3()) { pressKey(keyboardMapping.keyButtonR3); }
if(gamepad->pressedA1()) { pressKey(keyboardMapping.keyButtonA1); }
if(gamepad->pressedA2()) { pressKey(keyboardMapping.keyButtonA2); }
if(gamepad->pressedA3()) { pressKey(keyboardMapping.keyButtonA3); }
if(gamepad->pressedA4()) { pressKey(keyboardMapping.keyButtonA4); }
if(gamepad->pressedE1()) { pressKey(keyboardMapping.keyButtonE1); }
if(gamepad->pressedE2()) { pressKey(keyboardMapping.keyButtonE2); }
if(gamepad->pressedE3()) { pressKey(keyboardMapping.keyButtonE3); }
Expand Down

0 comments on commit fd18b3c

Please sign in to comment.