Skip to content

Commit

Permalink
Fix ZL/ZR on 3DS
Browse files Browse the repository at this point in the history
  • Loading branch information
Clownacy committed Nov 3, 2020
1 parent 94ad828 commit 2196b51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Backends/Controller/3DS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ bool ControllerBackend_GetJoystickStatus(bool **buttons, unsigned int *button_co
button_buffer[8] |= hid_buttons & KEY_CPAD_DOWN; // Down
button_buffer[9] |= hid_buttons & KEY_CPAD_LEFT; // Left
button_buffer[10] |= hid_buttons & KEY_CPAD_RIGHT;// Right
button_buffer[11] |= hid_buttons & KEY_L;
button_buffer[12] |= hid_buttons & KEY_R;
button_buffer[11] |= hid_buttons & KEY_ZL;
button_buffer[12] |= hid_buttons & KEY_ZR;
button_buffer[13] |= hid_buttons & KEY_SELECT;
button_buffer[14] |= hid_buttons & KEY_DLEFT;
button_buffer[15] |= hid_buttons & KEY_DRIGHT;
Expand Down

0 comments on commit 2196b51

Please sign in to comment.