protected Keyboard(ScanMapBase scanMap) { if (mQueuedKeys != null) { Debugger.DoSend("Skipping creation of key queue!"); } mQueuedKeys = new Queue<KeyEvent>(); Debugger.DoSend("mQueuedKeys created"); SetKeyLayout(scanMap); Debugger.DoSend("Keylayout set"); Initialize(); Debugger.DoSend("Initialized"); UpdateLeds(); Debugger.DoSend("Leds updated"); }
public void SetKeyLayout(ScanMapBase layout) { KeyLayout = layout; }