-
Notifications
You must be signed in to change notification settings - Fork 67
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
bindkey(number) do not respond on raspbian #591
Comments
It's working fine on Mac as well. I'll need to do some testing on a Pi... |
I've tested this on my pi - and I get the expected response when I press the 1 key. @jakpanu - does it work when you're pressing 1s along the top row? Or, maybe it is a numlock issue? |
OK, just tested this direct on the pi (not through VNC) and it's definitely a keypad issue. It must be that there's a different binding for the keypad, I'll need to get digging |
The bindings for keys on the keypad are: So for now, if you are adding a number key, I will bind both the keypad and key to the same event |
Hopefully this resolves it |
I try to use bindKey to do something when I press "1" or other numbers on a keypad. Below code is run normally on Windows. But on Raspbian, its response only when I press "c" but no response when I press "1" on the keypad. What's wrong?
from appJar import gui
def pnt(a):
print(a)
with gui("xx") as app:
app.bindKey("c", pnt)
app.bindKey("Key-1", pnt)
The text was updated successfully, but these errors were encountered: