You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Pynput 1.7.7, the behaviour of canonical() changed so that now it caused an exception in my program. pynput.keyboard.Listener().canonical(pynput.keyboard.Key.f1) used to return pynput.keyboard.Key.f1 but now returns <65470> of type KeyCode. This is missing the attribute name which would have returned "f1" and makes the key code clearly understandable. It seems that in e7964a6, an exception should be made for special keys.
The text was updated successfully, but these errors were encountered:
On Pynput 1.7.7, the behaviour of canonical() changed so that now it caused an exception in my program.
pynput.keyboard.Listener().canonical(pynput.keyboard.Key.f1)
used to returnpynput.keyboard.Key.f1
but now returns<65470>
of type KeyCode. This is missing the attributename
which would have returned "f1" and makes the key code clearly understandable. It seems that in e7964a6, an exception should be made for special keys.The text was updated successfully, but these errors were encountered: