Summary: | evdev keys KEY_RFKILL and KEY_WWAN are not currently mapped | ||
---|---|---|---|
Product: | xkeyboard-config | Reporter: | Benjamin Berg <benjamin> |
Component: | General | Assignee: | xkb |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | andyrtr, benjamin, chenhan.hsiao.tw |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Map evdev keycodes KEY_RFKILL and KEY_WWAN to XF86RFKill and XF86WWAN |
Description
Benjamin Berg
2017-05-08 14:03:03 UTC
Created attachment 131261 [details] [review] Map evdev keycodes KEY_RFKILL and KEY_WWAN to XF86RFKill and XF86WWAN In particular KEY_RFKILL is required for properly handling airplane mode in userspace. I am worried. Is the key code 255 allowed?? Sorry, stupid question in the previous comment. Of course Hibernate key was using 255. What is going to configurations actually using 255 for hibernation? I believe it is permissible but I have not actually verified this as of now. I have not verified as of now, but am happy to do so before this is merged. I don't think any key was mapped to 255 in the past. So effectively this should be removing a dead key (XF86Hibernate) and adding the new XF86RFKill. I've just submitted a slightly different patch (which adds mappings for a few more keys) upstream here: https://patchwork.freedesktop.org/patch/155965/ I will push this upstream as soon as I get an ack. Committed! Enjoy! And thank you:) |
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.