Closed Karol-G closed 4 years ago
Ok. I managed to solve it myself:
def key_down(key):
put, _ = session.console.keyboard.SCANCODES[key]
session.console.keyboard.put_scancodes(list(put))
def key_up(key):
_, release = session.console.keyboard.SCANCODES[key]
session.console.keyboard.put_scancodes(list(release))
Best Karol
Hi,
I managed to send keystrokes to the VM with:
However I also need to keep them pressed / hold them down and then release them later. I could not find anything in https://buildmedia.readthedocs.org/media/pdf/pyvbox/latest/pyvbox.pdf
Something like this would be best:
Best Karol