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

Incompatible with libinput-1.16.0 #99

Open
ncaq opened this issue Aug 5, 2020 · 6 comments
Open

Incompatible with libinput-1.16.0 #99

ncaq opened this issue Aug 5, 2020 · 6 comments

Comments

@ncaq
Copy link

ncaq commented Aug 5, 2020

I'm using Gentoo.
Recently libinput was updated to libinput-1.16.0.
Then xkeysnail doesn't output the keys anymore.

As a result, the PC does not accept any key input.

xkeysnail does not print out the error message.

I've seen this happening with 0.2.0 and 0.3.0.

I downgraded to libinput-1.15.6 and it works fine.

It might be a bug in libinput, though,
Since xkeysnail got stuck and might help people who are searching for it,
I've decided to post it here in the issue for now.


私はGentooを使っています.
先日libinputがlibinput-1.16.0にアップデートされました.
するとxkeysnailがキー出力を行わなくなりました.

結果としてPCは一切のキー入力を受け付けなくなります.

xkeysnailはエラー出力を行いません.

0.2.0と0.3.0で確認済みの現象です.

libinput-1.15.6にダウングレードしたら正常に動きました.

libinputのバグかもしれませんが,
xkeysnailが動かなくなって検索してくる人の助けになるかもしれないので,
とりあえずここのissueに投稿することにしました.

@ncaq
Copy link
Author

ncaq commented Aug 5, 2020

@ncaq
Copy link
Author

ncaq commented Aug 6, 2020

This bug seems to be caused by py-evdev-uinput being recognized as a joystick.
The author of libinput has spec'd this into a wontfix.
It certainly doesn't seem to recognize a joystick as a keyboard.
Perhaps we need to fix things around gvalkov/python-evdev: Python bindings for the Linux input subsystem.

@singletS
Copy link

Does anyone know of a work around for this problem other than downgrading libinput? Debian testing requires libinput 1.16 now.

@jvasile
Copy link
Contributor

jvasile commented Sep 2, 2020

@singletS Take a look at PR 101, which I think solves this problem on my machine by disabling the joystick functionality. If that doesn't work, take a look at PR 98, which disables the joystick and mouse buttons.

@singletS
Copy link

singletS commented Sep 5, 2020

Thanks @jvasile, I've used PR98 for a couple weeks successfully. Will try 101 and report if there are any problems.

@ncaq
Copy link
Author

ncaq commented Oct 23, 2020

I test with libinput of version 1.16.2.
xkeysnail is worked!
I think it's because of Revert the joystick check (!483) · Merge Requests · libinput / libinput · GitLab.
However, I think we'll have to deal with it at some point.

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