-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
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
seeking for your help about @No0ne fork #100
Comments
No0ne@dbb8a5f#diff-560156d3a7c437865b720d969a0fda0eebd224fb7df6fb1901c60b3b2c994e81 As you can see here, there are three buttons defined. The select key should be mapped to the button when you press the joystick in. Like on a Playstation controller the joystick is also a button. |
ok, I missed that, because I made a custom case for it and the way it's made I have missed that. thanks for your help. I'm just a beginner swift coder so I can barely understand your code. Is there a chance that this push button and button 2 or other will work together? because definitely I'll not be able to code it myself. thanks |
Do you use the Waveshare 1.3inch OLED HAT or something else? |
I use the same as yours in the project.
… Le 8 mars 2021 à 12:42, No0ne ***@***.***> a écrit :
Do you use the Waveshare 1.3inch OLED HAT or something else?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hardware approach: solder a wire from pin 33 to pin 38. Software approach one button: change the line Software approach both buttons: this would require more code changes! |
is it possible to do something with a "or" condition ? |
You need to do the initialization and listen for button presses separately for each pin. |
the matter is not that I don't want to compile, it's more that I don't know how, even if if change the pin to 20 like you suggested in the source file |
but I'm willing to learn how, if you don't mind to suggest a how to, please |
Its documented here: https://github.com/ALSchwalm/pISO/blob/master/README.md |
If you don't want to code or compile, the hardware approach with a wire between pin 33 and pin 38 on the gpio header or waveshare board should be the easiest solution. |
ok I'll try, and I keep the hardware approach in mind, thank you. |
#Hi @No0ne,
I made one piso from your fork, but I don't have the key 2 working, just joystick up and down as expected, what check should I do to get it working ? thanks
The text was updated successfully, but these errors were encountered: