diff options
Diffstat (limited to 'rfb/rfbclient.h')
-rw-r--r-- | rfb/rfbclient.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h index a7d77bb..1dfd56a 100644 --- a/rfb/rfbclient.h +++ b/rfb/rfbclient.h @@ -94,6 +94,7 @@ typedef struct { struct _rfbClient; +typedef void (*HandleKeyboardLedStateProc)(struct _rfbClient* client, int value, int pad); typedef rfbBool (*HandleCursorPosProc)(struct _rfbClient* client, int x, int y); typedef void (*SoftCursorLockAreaProc)(struct _rfbClient* client, int x, int y, int w, int h); typedef void (*SoftCursorUnlockScreenProc)(struct _rfbClient* client); @@ -196,7 +197,12 @@ typedef struct _rfbClient { rfbVNCRec* vncRec; + /* Keyboard State support (is 'Caps Lock' set on the remote display???) */ + int KeyboardLedStateEnabled; + int CurrentKeyboardLedState; + /* hooks */ + HandleKeyboardLedStateProc HandleKeyboardLedState; HandleCursorPosProc HandleCursorPos; SoftCursorLockAreaProc SoftCursorLockArea; SoftCursorUnlockScreenProc SoftCursorUnlockScreen; |