Alternate kernel for more comprehensive keyboard inputs and other layout variations (inspired from previous work by NotKit and nsensfel) #2
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.
This has not been tested, but is an attempt at merging @nsensfel PR #1 for
F1
-F12
keys onFn
+ digits row, and @NotKit's commits to the SFOS kernel to move/
and?
to theSym
key and remapYellow arrows
toRIGHT_ALT
.This deviates from the key labels, but has significant pros that some users may prefer: more keys for desktop applications, sometimes very important, and
Yellow arrows
become a real modifier that can be chorded with other keys, for more keybinds in Phosh or an embedded WM. Being replicated on both sides of the keyboard, this adds many handy keybinds (see droidian/droidian#7).Both patches are kind of incompatible, since @nsensfel's PR needs a
Fn
modifier, and @NotKit's changes remove defaultFn
keys by makingYellow arrows
act asRIGHT_ALT
. Therefore, I tried to remap theYellow F
button asFn
instead ofSuper/Meta
(in NotKit commits) orISO_Level3_Shift
(Droidian default). WithFn
allowing things likeF1
-F12
orHome
,End
,PgUp
andPgDn
, I feel it is more useful than a standard modifier available only on one side of a thumb keyboard.Thinking about it now, I'm wondering if
Yellow arrows
should not be madeSuper/Meta
(keycode 125) instead ofRIGHT_ALT
(100). I guess that only matters for programs that expect one and don't allow rebindings shortcuts.I don't think I have the setup in place for compiling the kernel according to the porting documentation and trying this out, so I'm posting it here in the mean time. Comments welcome, especially if you think the commits are broken (not sure about the addition of
oeml
andoemr
for instance).