moses-palmer

Results 100 comments of moses-palmer

A possible workaround for the bug in _PyHook_ is to use a simpler mechanism when hooking on _Windows_. That is what I use in _pynput_ (see here: https://github.com/moses-palmer/pynput/blob/master/lib/pynput/_util/win32.py#L244). The strange...

I vaguely remember this being an issue with _fake_input_, since it uses a lot of implicit state. In _pynput_, I had to use _send_event_ of the Window object to work...

_PyUserInput_ on _Linux_ requires an active _X_ session. _X_ is the application on most _Linux_ systems that is responsible for managing the display, and mouse and keyboard input. When you...

While you wait for the licence to change, you may try pynput (https://pypi.python.org/pypi/pynput), which is licenced under the LGPL.

What does the following command yield? Run in a terminal: ``` python -c "import os, Xlib.display; print(os.getenv('DISPLAY')); ``` print(Xlib.display.Display())" Can you run other Python applications that use _Python Xlib__?_ 2016-01-22...

The errors indicate that the problems that you experience are not related to _PyUserInput_, but rather an _X_ misconfiguration or unexpected machine state. The value for for the environment variable...

Thank you for your report. The issue---or rather, the solution to the issue---you linked was specific to to *Windows*. Since you have not used the bug issue template, I do...

Thank you for your report. I suppose that this could be achieved by querying the state of the keyboard and mouse when instantiation listeners, and then sending fake events for...

Thank you for your report. I have made a small change to the way the virtual key code is calculated for keypad keys, and it works on my system. The...

Thank you for your report, and I apologise for this late reply. When working with *macOS* specific functionality, you may want to consult [`darwin_vks.py`](https://github.com/moses-palmer/pynput/blob/master/lib/pynput/_util/darwin_vks.py) for a list of character codes....