Commit 3dff7658 authored by steven_carr's avatar steven_carr

KeyboardLedState Encoding Masks are now defined for portability

parent 1955526d
......@@ -461,6 +461,9 @@ typedef struct {
#define rfbEncodingQualityLevel9 0xFFFFFFE9
/*****************************************************************************
*
* Server -> client message definitions
......@@ -547,6 +550,21 @@ typedef struct {
* left-to-right within a scanline with no padding in between.
*/
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* KeyboardLedState Encoding. The X coordinate contains the Locked Modifiers
* so that a remote troubleshooter can identify that the users 'Caps Lock'
* is set... (It helps a *lot* when the users are untrained)
*/
#define rfbKeyboardMaskShift 1
#define rfbKeyboardMaskCapsLock 2
#define rfbKeyboardMaskControl 4
#define rfbKeyboardMaskAlt 8
#define rfbKeyboardMaskMeta 16
#define rfbKeyboardMaskSuper 32
#define rfbKeyboardMaskHyper 64
#define rfbKeyboardMaskNumLock 128
#define rfbKeyboardMaskScrollLock 256
#define rfbKeyboardMaskAltGraph 512
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* CopyRect Encoding. The pixels are specified simply by the x and y position
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment