![]() |
Deskflow 1.27.0.5
Keyboard and mouse sharing utility
|
Keyboard input event messages. More...

Variables | |
| const char *const | kMsgDKeyDown |
| Key press event. | |
| const char *const | kMsgDKeyDown1_1 |
| Key press event (v1.1 to v1.7). | |
| const char *const | kMsgDKeyDown1_0 |
| Key press event (legacy v1.0). | |
| const char *const | kMsgDKeyRepeat |
| Key auto-repeat event. | |
| const char *const | kMsgDKeyRepeat1_1 |
| Key auto-repeat event (v1.1 to v1.7). | |
| const char *const | kMsgDKeyRepeat1_0 |
| Key auto-repeat event (legacy v1.0). | |
| const char *const | kMsgDKeyUp |
| Key release event. | |
| const char *const | kMsgDKeyUp1_0 |
| Key release event (legacy v1.0). | |
Keyboard input event messages.
|
extern |
Key press event.
Message Code: "DKDL" Direction: Primary → Secondary Format: "DKDL%2i%2i%2is" Parameters:
Example:
'a' key (KeyID 0x61), no modifiers, physical key (KeyButton 0x1E), English
Key Mapping Strategy: The KeyButton parameter is crucial for proper key release handling. The secondary computer should:
This is necessary because:
The language code helps clients handle characters from a keyboard layout they do not have active. Only sent to clients that replied 1.8 in their hello.
|
extern |
Key press event (legacy v1.0).
Message Code: "DKDN" Direction: Primary → Secondary Format: "DKDN%2i%2i" Parameters:
Legacy version without KeyButton parameter. Used only when communicating with protocol version 1.0 clients.
|
extern |
Key press event (v1.1 to v1.7).
Message Code: "DKDN" Direction: Primary → Secondary Format: "DKDN%2i%2i%2i" Parameters:
Example:
'a' key (KeyID 0x61), no modifiers, physical key (KeyButton 0x1E)
Version without the language code. Used when communicating with protocol version 1.1 through 1.7 clients (Synergy 1.4 to 1.14.1, Barrier, Input Leap). The key mapping strategy is the same as for kMsgDKeyDown.
|
extern |
Key auto-repeat event.
Message Code: "DKRP" Direction: Primary → Secondary Format: "DKRP%2i%2i%2i%2is" Parameters:
Example:
'a' key repeating 3 times, English layout
Sent when a key is held down and auto-repeating. The repeat count indicates how many repeat events occurred since the last message.
Shares the DKRP message code with kMsgDKeyRepeat1_1, so the receiver can only tell the two apart by the negotiated protocol version. Only sent to clients that replied 1.8 in their hello.
|
extern |
Key auto-repeat event (legacy v1.0).
Message Code: "DKRP" Direction: Primary → Secondary Format: "DKRP%2i%2i%2i" Parameters:
Legacy version without the KeyButton parameter.
|
extern |
Key auto-repeat event (v1.1 to v1.7).
Message Code: "DKRP" Direction: Primary → Secondary Format: "DKRP%2i%2i%2i%2i" Parameters:
Example:
'a' key repeating 3 times
Version without the language code. Used when communicating with protocol version 1.1 through 1.7 clients (Synergy 1.4 to 1.14.1, Barrier, Input Leap).
|
extern |
Key release event.
Message Code: "DKUP" Direction: Primary → Secondary Format: "DKUP%2i%2i%2i" Parameters:
Example:
Release 'a' key, physical key 0x1E
Important: The secondary computer should use KeyButton (not KeyID) to determine which physical key to release. This ensures correct behavior with dead keys and layout differences.
|
extern |
Key release event (legacy v1.0).
Message Code: "DKUP" Direction: Primary → Secondary Format: "DKUP%2i%2i" Parameters:
Legacy version without KeyButton parameter.