qmk_firmware
qmk_firmware copied to clipboard
Implement Airplane Radio Button
Description
Adds a keycode to toggle the system's "Airplane mode" via HID (disable WiFi and Bluetooth).
Add Keycode KC_AIRPLANE_MODE
with alias KC_AIRP
.
Needs to be enabled with EXTRAKEY_ENABLE = yes
.
Types of Changes
- [ ] Core
- [ ] Bugfix
- [ ] New feature
- [x] Enhancement/optimization
- [ ] Keyboard (addition or update)
- [ ] Keymap/layout/userspace (addition or update)
- [x] Documentation
Checklist
- [x] My code follows the code style of this project: C, Python
- [x] I have read the PR Checklist document and have made the appropriate changes.
- [x] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly.
- [x] I have read the CONTRIBUTING document.
- [ ] I have added tests to cover my changes.
- [x] I have tested the changes and verified that they work and don't break anything (as well as I can manage).
I've tested using a Keychron Q1 keyboard and the following systems:
- Works
- GNOME on Linux 6.0.6
- Windows 10
- Doesn't work
- MacOS Monterery (Apparently it doesn't have an airplane mode)
- Android 13
~I haven't tested Windows yet but I know from another HID implementation that Windows does recognize this usage.~
As this missed the boat for the last breaking changes cycle, we'll need keycodes 0.0.3 instead. 0.0.2 has been locked in.
Thank you for your contribution!
This pull request has been automatically marked as stale because it has not had activity in the last 45 days. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, or re-open when it's ready.
For maintainers: Please label with bug
, awaiting review
, breaking_change
, in progress
, or on hold
to prevent the issue from being re-flagged.
Thank you for your contribution! This pull request has been automatically closed because it has not had activity in the last 30 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. // [stale-action-closed]
Hmm what happened here?