public InputDeviceMenu(Keyboards.MultipleKeyboardManager keyboardManager, Mice.MultipleMiceManager miceManager) { this.keyboardManager = keyboardManager; this.miceManager = miceManager; base.width = 900; base.height = 370; CalculateElementPositions(); }
public AttachKeyboardButton(int x, int y, Keyboards.MultipleKeyboardManager keyboardManager) : base(x, y, "Attach keyboard") { this.keyboardManager = keyboardManager; base.isDisabled = PlayerIndexController._PlayerIndex != null; }