Package com.jme3.input.lwjgl
Class JInputJoyInput.JInputJoystick
java.lang.Object
com.jme3.input.AbstractJoystick
com.jme3.input.lwjgl.JInputJoyInput.JInputJoystick
- All Implemented Interfaces:
 Joystick
- Enclosing class:
 - JInputJoyInput
 
- 
Constructor Summary
ConstructorsConstructorDescriptionJInputJoystick(InputManager inputManager, JoyInput joyInput, net.java.games.input.Controller controller, int joyId, String name)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAxis(net.java.games.input.Component comp) protected voidaddButton(net.java.games.input.Component comp) protected voidaddComponent(net.java.games.input.Component comp) Returns the POV X axis for this joystick.Returns the POV Y axis for this joystick.getXAxis()Returns the X axis for this joystick.intGets the index number for the X axis on the joystick.getYAxis()Returns the Y axis for this joystick.intGets the index number for the Y axis on the joystick.Methods inherited from class com.jme3.input.AbstractJoystick
addAxis, addButton, assignAxis, assignButton, getAxes, getAxis, getAxisCount, getButton, getButtonCount, getButtons, getInputManager, getJoyId, getJoyInput, getName, rumble, toString 
- 
Constructor Details
- 
JInputJoystick
public JInputJoystick(InputManager inputManager, JoyInput joyInput, net.java.games.input.Controller controller, int joyId, String name)  
 - 
 - 
Method Details
- 
addComponent
protected void addComponent(net.java.games.input.Component comp)  - 
addButton
protected void addButton(net.java.games.input.Component comp)  - 
addAxis
protected void addAxis(net.java.games.input.Component comp)  - 
getXAxis
Description copied from interface:JoystickReturns the X axis for this joystick.E.g. for most gamepads, the left control stick X axis will be returned.
- Returns:
 - the pre-existing instance
 - See Also:
 
 - 
getYAxis
Description copied from interface:JoystickReturns the Y axis for this joystick.E.g. for most gamepads, the left control stick Y axis will be returned.
- Returns:
 - the pre-existing instance
 - See Also:
 
 - 
getPovXAxis
Description copied from interface:JoystickReturns the POV X axis for this joystick. This is a convenience axis providing an x-axis subview of the HAT axis.- Returns:
 - the pre-existing instance
 - See Also:
 
 - 
getPovYAxis
Description copied from interface:JoystickReturns the POV Y axis for this joystick. This is a convenience axis providing a y-axis subview of the HAT axis.- Returns:
 - the pre-existing instance
 - See Also:
 
 - 
getXAxisIndex
public int getXAxisIndex()Description copied from class:AbstractJoystickGets the index number for the X axis on the joystick.E.g. for most gamepads, the left control stick X axis will be returned.
- Specified by:
 getXAxisIndexin interfaceJoystick- Overrides:
 getXAxisIndexin classAbstractJoystick- Returns:
 - The axis index for the X axis for this joystick.
 - See Also:
 
 - 
getYAxisIndex
public int getYAxisIndex()Description copied from class:AbstractJoystickGets the index number for the Y axis on the joystick.E.g. for most gamepads, the left control stick Y axis will be returned.
- Specified by:
 getYAxisIndexin interfaceJoystick- Overrides:
 getYAxisIndexin classAbstractJoystick- Returns:
 - The axis index for the Y axis for this joystick.
 - See Also:
 
 
 -