xkeysnail
xkeysnail copied to clipboard
Incompatible with libinput-1.16.0
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に投稿することにしました.
I reported to libinput issue. Incompatible xkeysnail with libinput-1.16.0 (#512) · Issues · libinput / libinput · GitLab
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.
Does anyone know of a work around for this problem other than downgrading libinput? Debian testing requires libinput 1.16 now.
@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.
Thanks @jvasile, I've used PR98 for a couple weeks successfully. Will try 101 and report if there are any problems.
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.