Beispiel #1
0
 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");
 }
Beispiel #2
0
 public void SetKeyLayout(ScanMapBase layout)
 {
     KeyLayout = layout;
 }