/// <summary>Load resources here.</summary> /// <param name="e">Not used.</param> protected override void OnLoad(EventArgs e) { base.OnLoad(e); new KeyboardControl(this); mouseControl = new MouseControl(this); if (Joysticks.Count == 1) { joystickControl = new JoystickControl(Joysticks[0], this); } Reset(); }
/// <summary>Load resources here.</summary> /// <param name="e">Not used.</param> protected override void OnLoad(EventArgs e) { base.OnLoad(e); new KeyboardControl(this); mouseControl = new MouseControl(this); if (Joysticks.Count == 1) joystickControl = new JoystickControl(Joysticks[0], this); Reset(); }