Example #1
0
 /// <summary>
 /// Processes a joystick hat motion event. This event is triggered by
 /// SDL. Only
 /// sprites that are JoystickSensitive are processed.
 /// </summary>
 /// <param name="args">Event args</param>
 public virtual void Update(JoystickBallEventArgs args)
 {
 }
Example #2
0
 static void OnJoystickBallMotion(JoystickBallEventArgs e)
 {
     if (JoystickBallMotion != null)
     {
         JoystickBallMotion(instance, e);
     }
 }