qmk_firmware icon indicating copy to clipboard operation
qmk_firmware copied to clipboard

Implement Airplane Radio Button

Open JohnAZoidberg opened this issue 2 years ago • 1 comments

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).

JohnAZoidberg avatar Jan 03 '23 08:01 JohnAZoidberg

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.~

JohnAZoidberg avatar Jan 03 '23 08:01 JohnAZoidberg

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.

tzarc avatar Mar 23 '23 04:03 tzarc

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.

github-actions[bot] avatar May 10 '23 01:05 github-actions[bot]

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]

github-actions[bot] avatar Jun 09 '23 02:06 github-actions[bot]

Hmm what happened here?

nyabinary avatar Jul 24 '23 23:07 nyabinary