Implemented for example on Framework Laptops as the Airplane Mode button.
Sponsored by: Framework Computer Inc
Differential D56026
hid/hsctrl: Add support for Wireless Radio Button Authored by git_danielschaefer.me on Sun, Mar 22, 10:22 AM.
Details
Diff Detail
Event TimelineComment Actions Can confirm this works on my machine too! Although sometimes when I press the button fast enough, it doesn't register. It always does when I hold it down for more than a fraction of a second though. Assuming this will be fixed once we're able to pass GPIO interrupts to iichid. for reference: https://www.usb.org/sites/default/files/hutrr40radiohidusagesfinal_0.pdf btw, only tangentially related, but see D55265 for a bit of discussion on what a generic rfkill interface would look like on freebsd
This comment was removed by wulf. Comment Actions Radio button can not be correctly handled with hidmap. MS does strange things here assuming every event in report as a keypress. E.g. ASUS TUF always reported radio key as depressed that brokes Linux but works on Windows Comment Actions this revision does exactly what i think you're describing. Would you have liked it to be done some way else?
| |||||||||||||||||||||||||