aenea icon indicating copy to clipboard operation
aenea copied to clipboard

Wayland server

Open chep opened this issue 7 years ago • 3 comments

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

chep avatar Aug 03 '18 09:08 chep

Neat, thanks for sharing!

calmofthestorm avatar Aug 03 '18 17:08 calmofthestorm

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.

chep avatar Sep 04 '18 13:09 chep

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.

drmfinlay avatar May 03 '19 09:05 drmfinlay