Class JoyAxisEvent

java.lang.Object
com.jme3.input.event.InputEvent
com.jme3.input.event.JoyAxisEvent

public class JoyAxisEvent extends InputEvent
Joystick axis event.
  • Constructor Details

    • JoyAxisEvent

      public JoyAxisEvent(JoystickAxis axis, float value)
      Creates a new event for a joystick axis.
      Parameters:
      axis - - The axis that generated this event.
      value - - The value of the axis.
    • JoyAxisEvent

      public JoyAxisEvent(JoystickAxis axis, float value, float rawValue)
      Creates a new event for a joystick axis.
      Parameters:
      axis - - The axis that generated this event.
      value - - The value of the axis, after rescaling took place.
      rawValue - - The original axis value before it was rescaled by JoystickCompatibilityMappings.
  • Method Details