We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firstly I am not sure if this is a bug or not but the following causes an app to crash:
if (((Down & HidNpadButton_B) || ((Held & HidNpadButton_L) && ( Held & HidNpadButton_R))) && mainApp->IsShown())
If changed to Down, it doesn't crash: if (((Down & HidNpadButton_B) || ((Down & HidNpadButton_L) && ( Down & HidNpadButton_R))) && mainApp->IsShown())
If you hold 2 "Held" buttons at a time using the above the app crashes, to get around it I had to do this:
if (((Down & HidNpadButton_B) || ((Held & HidNpadButton_L) && ( Down & HidNpadButton_R)) || ((Down & HidNpadButton_L) && ( Held & HidNpadButton_R))) && mainApp->IsShown())
That way I could hold both buttons and it would work, Is this a bug or am I just being stupid?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Firstly I am not sure if this is a bug or not but the following causes an app to crash:
if (((Down & HidNpadButton_B) || ((Held & HidNpadButton_L) && ( Held & HidNpadButton_R))) && mainApp->IsShown())
If changed to Down, it doesn't crash:
if (((Down & HidNpadButton_B) || ((Down & HidNpadButton_L) && ( Down & HidNpadButton_R))) && mainApp->IsShown())
If you hold 2 "Held" buttons at a time using the above the app crashes, to get around it I had to do this:
if (((Down & HidNpadButton_B) || ((Held & HidNpadButton_L) && ( Down & HidNpadButton_R)) || ((Down & HidNpadButton_L) && ( Held & HidNpadButton_R))) && mainApp->IsShown())
That way I could hold both buttons and it would work, Is this a bug or am I just being stupid?
The text was updated successfully, but these errors were encountered: