python-uinput icon indicating copy to clipboard operation
python-uinput copied to clipboard

wrong keyboard mapping

Open roipoussiere opened this issue 4 years ago • 2 comments

This script, based on the provided keyboard example:

import time
import uinput

def main():
    events = (uinput.KEY_A, uinput.KEY_Z,)

    with uinput.Device(events) as device:
        time.sleep(1) 
        device.emit_click(uinput.KEY_A)
        device.emit_click(uinput.KEY_Z)

if __name__ == "__main__":
    main()

... produce qw instead of az.

I use an Azerty keyboard.

roipoussiere avatar Nov 18 '19 17:11 roipoussiere

I have the exact same issue, @roipoussiere did you find any solution ?

clementmoine avatar Apr 12 '20 23:04 clementmoine

No :/

roipoussiere avatar May 01 '20 13:05 roipoussiere