Forward Remote punctuation keys by default

This commit is contained in:
ak47 committed 2026-11-07 19:00:51 -05:00
1 parent 8f51511801
commit a3c4e888c7
8 files changed
+139 -9

No files matched your search

+7 -4
View File
@@ -13,7 +13,9 @@ release; a full 256-key queue stops the connection.
## Mapping contract
Construct an immutable map with an explicit profile:
Construct an immutable map with a selected profile. Connections default to `us`
so every currently supported key, including punctuation, is forwarded without
opening More options:
- `portable`: lowercase Latin letter key names, top-row digits, F1–F24,
left/right Shift, Control, Alt and Super, Menu, Caps Lock, Num Lock, Scroll
@@ -23,9 +25,10 @@ Construct an immutable map with an explicit profile:
0xA6–0xB7 (`XF86Back` through `XF86Calculator`; see `mediaKeys` in
`src/keyboard.go`). These are layout independent and sent extended, as
Windows does.
- `us`: the same keys plus the eleven US OEM punctuation key identities.
This requires an explicit US-layout agreement; it is never an automatic
fallback. OEM meanings on other layouts remain unsupported.
- `us` (default): the same keys plus the eleven US OEM punctuation key
identities. These use US-layout meanings on the Windows wire protocol;
other OEM layouts remain unsupported. More options can explicitly select
`portable` to omit those keys.
Input names must identify the unshifted key under the agreed layout, rather
than the resulting text. `a` names the letter key; `A`, `exclam`, `ISO_Left_Tab`,