• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

READMEH A D27-Feb-2022807 2419

kdeconnect_remotekeyboard.jsonH A D27-Feb-202210 KiB152151

remotekeyboardplugin.cppH A D27-Feb-20224.4 KiB134106

remotekeyboardplugin.hH A D27-Feb-20221.8 KiB5739

README

1Sends key-events to remote devices. The payload structure corresponds basically
2to that of remote key-presses in the mousepad-plugin (with the exception of the
3"sendAck"-flag) , e.g.:
4
5{
6    "key": "a",
7    "specialKey": 12,
8    "shift": false,
9    "ctrl": false,
10    "alt": false,
11    "sendAck": true
12}
13
14If "specialKey" is a valid keycode according to the internal map (1 <= x <= 32),
15the event is interpreted as a special event and the contents of "key" are not
16considered.
17
18"key" may contain multi-char strings for performance reasons. In that case,
19the peer is expected to print the whole string.
20
21If "sendAck" is set to true, the device expects the remote peer to echo the
22event in case it could be handled. This can be used to determine whether the
23remote device is ready to accept remote keypresses.
24