Bug 103984 - Can't send escape through uinput since version 1.9.3
Summary: Can't send escape through uinput since version 1.9.3
Status: RESOLVED NOTOURBUG
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-29 23:30 UTC by Francisco Lopes
Modified: 2017-11-30 01:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Francisco Lopes 2017-11-29 23:30:44 UTC
Hi, I'm the author of caps2esc, and an ArchLinux user. I've noticed that in the last ArchLinux update, it upgraded libinput to 1.9.3, and since then, sending the escape key using libevdev_uinput_write_event to a virtual device is not producing the expected key event in the system anymore.

Up to now I only identified the issue happening with the escape key, I can't say whether it's affecting others.

Related issues:

- https://gitlab.com/interception/linux/plugins/caps2esc/issues/4
Comment 1 Francisco Lopes 2017-11-29 23:40:28 UTC
I've actually solely tested this on Xorg, should I migrate it?
Comment 2 Francisco Lopes 2017-11-30 01:33:09 UTC
The issue was identified in the user code due to a lack of SYN event when manipulating uinput. Peter Hutterer helped me on that. The commit on libinput master that triggered this is db3b6fe5f7f847075ab3af1bc0a32241143d8993.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.