public ControlHandler() { cActions = new List<string>(); kbHandler = new KeyboardHandler(); wmHandler = new WiimoteHandler(); wiimoteIsConnected = wmHandler.CheckConnection(); }
public ControlHandler() { cActions = new List<string>(); kbHandler = new KeyboardHandler(); wmHandler = new WiimoteHandler(); wiimoteIsConnected = wmHandler.CheckConnection(); for (int i = 0; i < 10; i++) { keyBindings[i, 1] = kbHandler.GetKeyBind(i); keyBindings[i, 2] = wmHandler.getKeyBind(i); } }