Skip to content

Commit

Permalink
hid/hdls: Use HiddbgNpadButton.
Browse files Browse the repository at this point in the history
  • Loading branch information
yellows8 committed Dec 8, 2020
1 parent b924d35 commit a5f53af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hid/hdls/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ int main(int argc, char* argv[])
state.buttons = 0;

if (padGetButtons(&pad) & HidNpadButton_R)
state.buttons |= KEY_HOME;
state.buttons |= HiddbgNpadButton_Home;

if (padGetButtons(&pad) & HidNpadButton_L)
state.buttons |= KEY_CAPTURE;
state.buttons |= HiddbgNpadButton_Capture;

if (padGetButtons(&pad) & HidNpadButton_Up)
state.buttons |= HidNpadButton_ZR;
Expand Down

0 comments on commit a5f53af

Please sign in to comment.