[network/kdeconnect-meta] /: Document specialKey mapping
Albert Vaca Cintora <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit e41a145f31f1aeab36af71d466f616a308be1021 by Albert Vaca Cintora.
Committed on 02/08/2026 at 21:05.
Pushed by albertvaka into branch 'master'.
Document specialKey mapping
M +38 -3 protocol.md
M +2 -2 schemas/kdeconnect.mousepad.echo.json
https://invent.kde.org/network/kdeconnect-meta/-/commit/e41a145f31f1aeab36af71d466f616a308be1021
diff --git a/protocol.md b/protocol.md
index 98bc0df..1dc90fc 100644
--- a/protocol.md
+++ b/protocol.md
@@ -797,9 +797,44 @@ This packet is an echo for a `kdeconnect.mousepad.request` packet.
* `specialKey`: [**`Number`**](#number)
- **`range`**: `0–32`
-
- A request to press-release a single non-printable character, usually a control character or function key such as Backspace or F10.
+ **`range`**: `1–32`
+
+ A request to press-release a single non-printable character, usually a control character or func`tion key such as Backspace or F10. The mapping is as follows:
+
+```
+BackSpace // 1
+Tab // 2
+Linefeed // 3
+Left // 4
+Up // 5
+Right // 6
+Down // 7
+Page_Up // 8
+Page_Down // 9
+Home // 10
+End // 11
+Return // 12
+Delete // 13
+Escape // 14
+Sys_Req // 15
+Scroll_Lock // 16
+Control_L // 17
+Alt_L // 18
+Shift_L // 19
+Super_L // 20
+F1 // 21
+F2 // 22
+F3 // 23
+F4 // 24
+F5 // 25
+F6 // 26
+F7 // 27
+F8 // 28
+F9 // 29
+F10 // 30
+F11 // 31
+F12 // 32
+```
* `alt`: [**`Boolean`**](#boolean)
diff --git a/schemas/kdeconnect.mousepad.echo.json b/schemas/kdeconnect.mousepad.echo.json
index 0a2e016..20497d8 100644
--- a/schemas/kdeconnect.mousepad.echo.json
+++ b/schemas/kdeconnect.mousepad.echo.json
@@ -39,9 +39,9 @@
},
"specialKey": {
"type": "number",
- "minimum": 0,
+ "minimum": 1,
"maximum": 32,
- "description": "A request to press-release a single non-printable character, usually a control character or function key such as Backspace or F10."
[suppressed due to size limit]
},
"alt": {
"type": "boolean",