mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-06-20 21:12:38 +02:00
hid/hdls: Use HiddbgNpadButton.
This commit is contained in:
parent
b924d358ec
commit
a5f53afed0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user