SavinaRoja / PyUserInput

A module for cross-platform control of the mouse and keyboard in python that is simple to install and use.
GNU General Public License v3.0
1.07k stars 244 forks source link

Arrow Keys, Esc and Num Pad Keys? (Linux) #96

Closed deysumitkr closed 7 years ago

deysumitkr commented 7 years ago

How can we send Arrow Keys (Up, Down, Left, Right), Esc and NumPad Keys? Is it possible to send CapsLock and NumLock keys as well?

[Platform: Ubuntu]

pepijndevos commented 7 years ago

You can send the key codas directly, but there is no easy mapping like there is for printable ascii.

On 02 Jun 2017, at 23:58, Sumit Kumar Dey notifications@github.com wrote:

How can we send Arrow Keys (Up, Down, Left, Right), Esc and NumPad Keys? Is it possible to send CapsLock and NumLock keys as well?

[Platform: Ubuntu]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SavinaRoja/PyUserInput/issues/96, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKSoZU4E1LRDULIifF1K3HPrsh1lCr0ks5sAIWIgaJpZM4Nu1lg.

deysumitkr commented 7 years ago

Okay Found it! All special keys are mentioned in pykeyboard/x11.py