Python Forum
Are there any python alternatives for LuaMacros? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Are there any python alternatives for LuaMacros? (/thread-25655.html)



Are there any python alternatives for LuaMacros? - NathanStanley - Apr-07-2020

Currently attempting to create a shortcut keyboard- a second keyboard plugged into my PC which has all it's key-presses intercepted and interpreted into defined shortcuts.

Currently, the only program I'm capable of finding is LuaMacros- it does this, I've run a few tests and it seems like I would be able to do... something of what I want with it... but is there any alternative for this with python? Like, maybe a python library to intercept key-presses and differentiate between multiple keyboards?

I've done a bit of research and haven't found any. For more idea of what I'm talking about, here is a Tom Scott segment discussing this issue.


(It appears the timestamp is not embedding correctly. Skip to 10:19


Thanks in advance, would appreciate any guidance or suggestions on a direction I should explore.


RE: Are there any python alternatives for LuaMacros? - Larz60+ - Apr-07-2020

Although I haven't used this package yet, it looks like it will satisfy your needs: https://pypi.org/project/keyboard/
for full list, see: https://pypi.org/search/?q=keyboard