| Modifier and Type | Class and Description | 
|---|---|
| protected class  | JInputJoyInput.JInputJoystick | 
AXIS_POV_X, AXIS_POV_Y| Constructor and Description | 
|---|
| JInputJoyInput() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | destroy()Ceases listening to events from the device. | 
| long | getInputTimeNanos() | 
| void | initialize()Initializes the native side to listen into events from the device. | 
| boolean | isInitialized() | 
| Joystick[] | loadJoysticks(InputManager inputManager)Loads a list of joysticks from the system. | 
| void | setInputListener(RawInputListener listener)Sets the input listener to receive events from this device. | 
| void | setJoyRumble(int joyId,
            float amount)Causes the joystick at  joyIdindex to rumble with
 the given amount. | 
| void | update()Queries the device for input. | 
public void setJoyRumble(int joyId,
                         float amount)
JoyInputjoyId index to rumble with
 the given amount.setJoyRumble in interface JoyInputjoyId - The joystick indexamount - Rumble amount. Should be between 0 and 1.public Joystick[] loadJoysticks(InputManager inputManager)
JoyInputloadJoysticks in interface JoyInputinputManager - The input manager requesting to load joystickspublic void initialize()
Inputinitialize in interface Inputpublic void update()
Inputupdate in interface InputInput.setInputListener(com.jme3.input.RawInputListener)public void destroy()
Inputpublic boolean isInitialized()
isInitialized in interface InputInput.initialize(), 
Input.destroy()public void setInputListener(RawInputListener listener)
InputsetInputListener in interface Inputpublic long getInputTimeNanos()
getInputTimeNanos in interface Input