Add missing key mappings for F15-F18 and Right Ctrl for Ayaneo Air 1S - #637
Open
bl1nk wants to merge 1 commit into
Open
Add missing key mappings for F15-F18 and Right Ctrl for Ayaneo Air 1S#637bl1nk wants to merge 1 commit into
bl1nk wants to merge 1 commit into
Conversation
bl1nk
force-pushed
the
bl1nk/fix-ayaneo-air-1s-button-mappings
branch
from
August 5, 2026 13:45
cde9911 to
0a403dd
Compare
Contributor
|
Thanks, must have used the wrong map when figuring this out somehow. Are the other keys in the allow list part of the mapping? If not we should remove them so they don't show up in the input test. |
pastaq
requested changes
Aug 5, 2026
| - Keyboard:KeyF18 | ||
| - Keyboard:KeyLeftAlt | ||
| - Keyboard:KeyLeftCtrl | ||
| - Keyboard:KeyLeftMeta |
Contributor
There was a problem hiding this comment.
KeyLeftAlt, KeyLeftCtrl, and KeyO don't appear in the capability map, so they should be removed at the same time.
Volume keys are fine because we want to expose those to the system.
Author
There was a problem hiding this comment.
Right! I did not see it emit the O or LeftAlt and LeftCtrl keys so I removed them. Thanks for the review.
…rl to allowlist The PR at ShadowBlip#617 introduced an allowlist for keys. The Ayaneo Air 1S (7840U+780M) sends and expects: - LeftMeta + D -> QAM - RightCtrl + LeftMeta + F15 -> TopLeft - RightCtrl + LeftMeta + F16 -> TopRight - RightCtrl + LeftMeta + F17 -> Guide - RightCtrl + LeftMeta + F18 -> Keyboard The only button that was working with the previous allowlist was QAM as RightCtrl and F15-F18 were not included. This commit adds those missing keys to the allowlist so that the Ayaneo Air 1S can properly be used with InputPlumber. It also removes LeftAlt, LeftCtrl and O from the allowlist as they are not used by the device. This allowlist now matches the chord mapping in rootfs/usr/share/inputplumber/capability_maps/ayaneo_type4.yaml Fixes: ublue-os/bazzite#5373
bl1nk
force-pushed
the
bl1nk/fix-ayaneo-air-1s-button-mappings
branch
from
August 5, 2026 17:52
0a403dd to
88b8247
Compare
pastaq
approved these changes
Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey! First contribution here.
I just updated to Bazzite 44 as there has been a call for testers.
The PR at #617 introduced an allowlist for keys. The Ayaneo Air 1S (7840U+780M) sends and expects:
The only button that was working with the previous allowlist was QAM as RightCtrl and F15-F18 were not included. This commit adds those missing keys to the allowlist so that the Ayaneo Air 1S can properly be used with InputPlumber.
This allowlist matches the chord mapping in
rootfs/usr/share/inputplumber/capability_maps/ayaneo_type4.yaml. I verified this using an override inPartly fixes ublue-os/bazzite#5373
I verified this is working as expected by creating an override in
/etc/inputplumber/devices.d/50-ayaneo_air_1s.yamlreflecting the diff of this PR. Also I tested what chord the device is sending by stopping inputplumber and runningevtest.