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

How to do arrow keys on MacOS? #95

Open lholliger opened 7 years ago

lholliger commented 7 years ago

What would the name be for left, right, up, and down arrow keys for MacOS?

whackamadoodle3000 commented 7 years ago

I have the same issue.

MemoryCrash commented 7 years ago

@orcapt find mac.py , and append
'left' : 0x7B, 'right' : 0x7C, 'down' : 0x7D, 'up' : 0x7E, in character_translate_table,can solve the problem.

pepijndevos commented 7 years ago

If you make sure arrow keys work on all platforms, I'd be happy to accept a pull request to add this.

On Thu, Aug 3, 2017 at 7:52 AM, dailei notifications@github.com wrote:

@orcapt https://github.com/orcapt find mac.py , and append 'left' : 0x7B, 'right' : 0x7C, 'down' : 0x7D, 'up' : 0x7E, in character_translate_table,can solve the problem.

— 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/95#issuecomment-319874637, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKSoQ4Tbn9fOpdDx6AuSCqoWN_7yEPdks5sUWADgaJpZM4K3yvS .

Benjamin-Lee commented 6 years ago

This worked for me!

ibushong commented 4 years ago

These are not working for me in MacOS Catalina. Does anyone have updated values?