aenea
aenea copied to clipboard
Wayland server
Hi,
I'm now using sway (https://github.com/swaywm/sway) and I got some problems because only xwayland application worked with aenea.
I just started another server implementation using evdev. It works on wayland, I don't know if it also works on X11:
https://github.com/chep/aenea
I wrote it quickly yesterday and I'm not a python guy so I don't send a pull request but maybe it can help someone who wants to make a full wayland server.
What it does:
- fits MY needs
- uses azerty keyboard
- write_text and key_press implemented
Problems:
-
I have some problems with keyboard layout, I have an AZERTY keyboard and using 'KEY_A' writes 'Q'... I don't know how to use system settings.
-
Read/write access to /dev/uinput is needed.
-
Poor python code?
-
Not well tested
-
lot of unimplemented features
-
code not commented (work in progress)
Any help is welcome
Neat, thanks for sharing!
My code is updated.
Only keyboard is working: qwerty and azerty are working. It should not be complicated to add another mapping, just boring.
All keys and modifiers seems to work (key press and write_text). Code is more readable.
There should be a way to use system config to select keyboard layout without redefining all mappings but I can't find it.
I'm still not able to move the mouse or simulate buttons.
I noticed a few of these issues when working on #196. I can help out with some of them. I'll open a PR soon to fix some issues and add some documentation.