sshkeyboard icon indicating copy to clipboard operation
sshkeyboard copied to clipboard

A library to react to user keyboard input, even through SSH

Results 13 sshkeyboard issues
Sort by recently updated
recently updated
newest added

When I hold left or right arrow I get at random intervals some kind of interruption and subsequential call of the 'release' function. The debug logs tell at such events...

The following error occurred: " ****raise ModuleNotFoundError( ModuleNotFoundError: The module 'fcntl' is removed from the Python standard library in the Pyodide distribution due to browser limitations.**** " After debugging, I...

On Raspberry Pi OS Bulleye (Debian 11) running Python 3.9.2 with sshkeyboard 2.3.1, the console ceases to echo after running a Python script invoking sshkeuboard in a threaded environment. Circumvention...

``` from sshkeyboard import listen_keyboard def press(key): print(f"'{key}' pressed") def release(key): print(f"'{key}' released") listen_keyboard( on_press=press, on_release=release, ) ``` When above code runs from command prompt, only keystrokes entered on command...

I tried the first example from the repo in my ssh environment and encountered this error: ![Screenshot 2022-12-20 112438](https://user-images.githubusercontent.com/1385633/208715726-64902f7e-a610-4e58-9e16-c91f7fde95ae.png)

```py from sshkeyboard import listen_keyboard, stop_listening class StopException(Exception): pass def keypress(key): if key == 's': # stop_listening() raise StopException() print(key) while True: print('listening from now') try: listen_keyboard(on_press=keypress, until='enter', sequential=True, delay_second_char=0,...

Hello, I ran into an issue where keyboard access isn't returned after calling stop_listening(). If I run an application with this library then stop the application, I can't see any...

Hello, The latest version of raspberry pi comes with python 3.5. I tried to install python 3.10 to work with sshkeyboard, but RPi module cannot be manually install for python...

add _clean_up() method and call from stop_listening as cleanup code was not running after #listen section. Created .pyi files for typing.

Hi, I've been trying to use sshkeyboard for the GUI in a websockets-based client application. The main application is running in the main asyncio loop and I ended up running...