Joystick Sensor: Single Axis

Joystick Sensor: Single Axis
  • Moving the joystick in the selected Axis Direction sends a positive pulse to the connected controller(s)
     
  • Returning the joystick to the center sends a negative pulse to the connected controller(s)
Index:
  • The game engine can handle input from multiple connected joysticks
     
  • Index number selects a connected joystick
     
  • Range:
    • 0 - 7
Event Type: Single Axis
  • The joystick sensor is triggered by the movement of the Joystick in the single axis direction
Axis Number:
  • The number of the single axis that triggers the sensor
     
  • Range:
    • 1 - 16
       
    • 1 = Tilt: Left/Right
       
    • 2 = Tilt: Front/Back
       
    • 3 = Paddle: Up/Down
       
    • 4 = Twist: Left/Right
       
    • 5 - 16 = ?????
Axis Threshold:
  • Creates a circular dead zone around the center of the joystick
     
  • Range: 
    • 0 - 32768
       
    • 0 = no dead zone
       
    • 32768 = all dead zone.
Joystick:
  • The type of Sensor
Name:
  • Sensor name
Pin:
  • Enabled: 
    • Always display the Sensor
  • Disabled: 
    • Only display when the State Mask group the Sensor is linked to is being displayed
Checkbox:
  • Enabled:
    • Sensor is turned on
  • Disabled:
    • Sensor is turned off
True Level Trigger:
  • Enabled:
    • Joystick moved in the selected Axis Direction:
      • Sends a positive pulse to the connected controller(s) with each logic tic
    • Joystick returned to center from selected Axis Direction:
      • Sends one negative pulse to the connected controller(s)
    • Joystick centered:
      • No pulse sent
  • Disabled:
    • Joystick moved in the selected Axis Direction:
      • Sends one positive pulse to the connected controller(s)
    • Joystick returned to center from selected Axis Direction:
      • Sends one negative pulse to connected controller(s)
    • Joystick centered:
      • No positive pulse
  • The default logic tic rate is 60 per second
False Level Trigger:
  • Enabled:
    • Joystick moved in the selected Axis Direction:
      • Sends one positive pulse to the connected controller(s)
    • Joystick returned to center from selected Axis Direction:
      • Sends a negative pulse to the connected controller(s) with each logic tic
    • Joystick centered:
      • Sends a negative pulse to the connected controller(s) with each logic tic
  • Disabled:
    • Joystick moved in the selected Axis Direction:
      • Sends one positive pulse to the connected controller(s)
    • Joystick returned to center from selected Axis Direction:
      • Sends one negative pulse to connected controller(s)
    • Joystick centered:
      • No pulse sent
  • The default logic tic rate is 60 per second
Skip:
  • Used with True Level Trigger and False Level Trigger
     
  • Skips the number of logic tics entered before sending the next pulse.
Level:
  • Enabled:
    • Switching from a State Mask group the sensor belongs to to a State Mask group it doesn't belong to:
      • Sensor is deactivated
    • Switching from a State Mask group the sensor doesn't belong to to a State Mask group it belongs to:
      • Sensor is activated. Uses last input before being deactivated
  • Disabled:
    • Switching from a State Mask group the sensor belongs to to a State Mask group it doesn't belong to:
      • Sensor is deactivated
    • Switching from a State Mask group the sensor doesn't belong to to a State Mask group it belongs to:
      • Sensor is activated
Tap:
  • Enabled:
    • Joystick moved in the selected Axis Direction:
      • A positive pulse is immediately followed by a negative pulse (next frame)
    • Joystick returns to center:
      • No pulse sent
  • Disabled:
    • Joystick moved in the selected Axis Direction:
      • A positive pulse is sent to the connected controller(s)
    • Joystick returns to center:
      • A negative pulse is sent to the connected controller(s)
  • True Level Trigger enabled and Skip = 0: 
    • Never has a chance to send a negative pulse
Invert:
  • Inverts the output of the triggers.
     
  • A positive trigger event sends a negative pulse.
     
  • A negative trigger event sends a positive pulse.
Note:
  • Sensors can be connected to more than one controller
     
  • Sensors connected to a controller(s) belong to the same State Mask group(s) as the controller(s)