Ejemplo n.º 1
0
 public KeyStateContext(KeyboardHelper parent)
 {
     _keyStates       = new IKeyState[] { new KeyStateUnshifted(parent), new KeyStateShifted(parent) };
     _currentKeyState = _keyStates[0];
 }
Ejemplo n.º 2
0
 public KeyStateUnshifted(KeyboardHelper parent)
 {
     _parent = parent;
 }