[Win] Optional fix for media arrow keys#722
Closed
RedBearAK wants to merge 2 commits intorbreaves:masterfrom
Closed
[Win] Optional fix for media arrow keys#722RedBearAK wants to merge 2 commits intorbreaves:masterfrom
RedBearAK wants to merge 2 commits intorbreaves:masterfrom
Conversation
Apple laptop keyboards have the PgUp/PgDn/Home/End navigation functions on Fn+arrow keys (even if not explicitly labeled on the keys). Most PC laptops also have these functions on the arrow keys, but some PC laptop keyboards have media functions (Play_Pause/Stop/Prev/Next) on the arrow keys instead. This makes it impossible to use the Fn+arrow keys for shortcuts like text selection (with Shift), or general navigation. This optional fix for this issue (disabled by default) will cause media arrow keys to behave like an Apple keyboard when used with the Fn key. All possible modifier combinations are mapped to what they would have been without Kinto's modifier remap. This PR creates a new tray menu item that will toggle the fix on and off, and it can be toggled with Shift+Opt+Cmd+M. The tray menu item will update with a check mark when the fix is active, and a MsgBox alerts the user when it is toggled on and off. If desired the user can set the fix to be enabled by default by changing a single variable value near the top of `kinto.ahk`. The toggles to disable/enable will still function. Companion to part of PR rbreaves#499 which is for Linux.
RedBearAK
added a commit
to RedBearAK/kinto
that referenced
this pull request
Jun 23, 2022
Replacement for PR rbreaves#722. This does the same thing but in a much smarter way with fewer lines. Apple laptop keyboards have the PgUp/PgDn/Home/End navigation functions on Fn+arrow keys (even if not explicitly labeled on the keys). Most PC laptops also have these functions on the arrow keys, but some PC laptop keyboards have media functions (Play_Pause/Stop/Prev/Next) on the arrow keys instead. This makes it impossible to use the Fn+arrow keys for shortcuts like text selection (with Shift), or general navigation. This optional fix for this issue (disabled by default) will cause media arrow keys to behave like an Apple keyboard when used with the Fn key. All possible modifier combinations are mapped to what they would have been without Kinto's modifier remap. This PR creates a new tray menu item that will toggle the fix on and off, and it can be toggled with Shift+Opt+Cmd+M. The tray menu item will update with a check mark when the fix is active, and a MsgBox alerts the user when it is toggled on and off. If desired the user can set the fix to be enabled by default by changing a single variable value near the top of kinto.ahk. The toggles to disable/enable will still function. Companion to part of PR rbreaves#499 which is for Linux.
Contributor
Author
|
Closing in favor of PR #724, which does the same thing but smarter, with fewer lines, using a |
donaldguy
added a commit
to donaldguy/kinto
that referenced
this pull request
Apr 26, 2025
…#744, & rbreaves#867 from, respectively: RedBear/patch-46 (via donaldguy/661-on-forced-master), RedBear/patch-40 (via donaldguy/harmonize-724-and-719), RedBearAK/patch-59, RedBearAK/mac_numpad_feature (via donaldguy/harmonize-744-and-724) & RedBearAK/patch-70 w/ menu order of OptSpecialChars, then Mac Numpad, then Media Arrows Fix & kinto.ahk logic blocks in that same order. (Grand)parents are: - @^1 rbreaves/master@{2025-04-25 19:00} [= @^2^1 = @^3~4 = @^4~2 = @^5~3] (bed5f37~..4a3bfe7) - @^2^2 rbreaves#661: [Win] Enable Cmd+Grave (backtick) same application window switching (3799224~..66ccab5) - @^2 ^^ fixed for force push of rbreaves/master on 2022-05-14 (95e92b4) - @^3 rbreaves#732: [Win] Enhance OptSpecialChars dead keys processing (2a65285~..dab20fd) - @^4~^2 rbreaves#724: [Win] Optional fix for media arrow keys (new) (e3e912f~..cea4111) - @^4~ ^^ merge with rbreaves#719, choosing arrows fix after OptSpecialChars (3d9670b) - @^4^2 rbreaves#744: Mac Numpad Features (7f3c95e~..d0d0bd1) - @^4 ^^ merge with rbreaves#722+rbreaves#719, chosing numpad between arrows & chars (b0ee59a) - @^5 rbreaves#867: [Win] New Fixes for Finder Mods (2024-06)
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.
Apple laptop keyboards have the PgUp/PgDn/Home/End navigation functions on Fn+arrow keys (even if not explicitly labeled on the keys). Most PC laptops also have these functions on the arrow keys, but some PC laptop keyboards have media functions (Play_Pause/Stop/Prev/Next) on the arrow keys instead. This makes it impossible to use the Fn+arrow keys for shortcuts like text selection (with Shift), or general navigation.
This optional fix for this issue (disabled by default) will cause media arrow keys to behave like an Apple keyboard when used with the Fn key. All possible modifier combinations are mapped to what they would have been without Kinto's modifier remap.
This PR creates a new tray menu item that will toggle the fix on and off, and it can be toggled with Shift+Opt+Cmd+M. The tray menu item will update with a check mark when the fix is active, and a MsgBox alerts the user when it is toggled on and off.
If desired the user can set the fix to be enabled by default by changing a single variable value near the top of
kinto.ahk. The toggles to disable/enable will still function.Companion to part of PR #499 which is for Linux.