11 #import <Foundation/Foundation.h>
12 #import "RDPSession.h"
16 @protocol RDPKeyboardDelegate <NSObject>
18 - (void)modifiersChangedForKeyboard:(
RDPKeyboard *)keyboard;
26 int _virtual_key_map[256];
27 int _unicode_map[256];
28 NSDictionary *_special_keys;
30 NSObject<RDPKeyboardDelegate> *_delegate;
38 @property(assign) id<RDPKeyboardDelegate> delegate;
39 @property(readonly) BOOL ctrlPressed;
40 @property(readonly) BOOL altPressed;
41 @property(readonly) BOOL shiftPressed;
42 @property(readonly) BOOL winPressed;
48 - (void)initWithSession:(
RDPSession *)session delegate:(NSObject<RDPKeyboardDelegate> *)delegate;
54 - (void)sendUnicode:(
int)character;
57 - (void)sendVirtualKeyCode:(
int)keyCode;
60 - (void)toggleCtrlKey;
66 - (void)toggleShiftKey;
72 - (void)sendEnterKeyStroke;
73 - (void)sendEscapeKeyStroke;
74 - (void)sendBackspaceKeyStroke;