asyncvnc
asyncvnc copied to clipboard
Asynchronous VNC for Python
Extracts the numpy magic from video.read() into a separate video._update_rect() method Adds some tests.
Adds zlib StreamReader wrapper for zlib encoding (6) Combines the code for raw ecodings (0/6) Adds tests for zlib StreamReader wrapper This PR allows for a better separation of the...
client.keyboard.press('Ctrl', 'Shift', 'i') This will only result in Ctrl + i The use of the Shift Button does not register. What could be done? (Connecting to Linux via VNC)
Connecting to macOS (via ```asyncssh```) with SSH tunnel fails every time, connecting without tunnel works fine. The behaviour is consistent on macOS 12, 13, 14. ``` async with asyncssh.connect(client.hostname, username=client.username,...
This synchronizes the update request sent and the expected result. This allows you to get an image of part of the screen without having to transfer all the data from...
``` 1: self.video.refresh(x, y, width, height) 2: while True: 3: update_type = await self.read() 4: if update_type is UpdateType.VIDEO: 5: if self.video.is_complete(): 6: return self.video.as_rgba() ``` line 1: Sends refresh...
Fixes the numbers mistake (BELL/CLIPBOARD) for server -> client and the padding mistake (Clipboard.write) for client -> server messages. See: #13 Fixes the test tests/test_clipboard.py for RFC-6143 compliance.
**Expects the wrong numbers for Bell/ServerCutText in a message from a server to the client.** asyncvnc.py: ``` #: Clipboard update. CLIPBOARD = 2 #: Bell update. BELL = 3 ```...
According to the [RFB protocol](https://www.rfc-editor.org/rfc/rfc6143.html#section-7.6), the current values for update types Bell (3) and ServerCutText/Clipboard (2) are mixed up. The correct values should be: - **2**: Bell - **3**: ServerCutText...
I needed to input "Enter" key for my automation. This simple PR adds the corresponding keymap required.