Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland server #165

Open
chep opened this issue Aug 3, 2018 · 3 comments
Open

Wayland server #165

chep opened this issue Aug 3, 2018 · 3 comments

Comments

@chep
Copy link
Contributor

chep commented Aug 3, 2018

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

@calmofthestorm
Copy link
Member

Neat, thanks for sharing!

@chep
Copy link
Contributor Author

chep commented Sep 4, 2018

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.

@drmfinlay
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants