Skip to content

Commit

Permalink
Fix D++ Dpad button mapping (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
NympheaR authored Sep 9, 2024
1 parent 4706988 commit ae37189
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ uint16_t Utility::get_button(const uint16_t& bt){
switch (bt){
case 14: dpad = 0; break; // DUP
case 15: dpad = 4; break; // DDown
case 16: dpad = 2; break; // DLeft
case 17: dpad = 6; break; // DRight
case 16: dpad = 6; break; // DLeft
case 17: dpad = 2; break; // DRight
default: dpad = 0; break;
};
return dpad;
Expand Down

0 comments on commit ae37189

Please sign in to comment.