public class GlfwJoystickInput
extends java.lang.Object
implements com.jme3.input.JoyInput
JoyInput.| Modifier and Type | Class and Description |
|---|---|
protected class |
GlfwJoystickInput.GlfwJoystick |
| Constructor and Description |
|---|
GlfwJoystickInput() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
fireJoystickConnectedEvent(int jid) |
void |
fireJoystickDisconnectedEvent(int jid) |
long |
getInputTimeNanos() |
void |
initialize() |
boolean |
isInitialized() |
com.jme3.input.Joystick[] |
loadJoysticks(com.jme3.input.InputManager inputManager) |
void |
reloadJoysticks() |
void |
setInputListener(com.jme3.input.RawInputListener listener) |
void |
setJoyRumble(int joyId,
float amount) |
void |
update() |
public void setJoyRumble(int joyId,
float amount)
setJoyRumble in interface com.jme3.input.JoyInputpublic void fireJoystickConnectedEvent(int jid)
public void fireJoystickDisconnectedEvent(int jid)
public void reloadJoysticks()
public com.jme3.input.Joystick[] loadJoysticks(com.jme3.input.InputManager inputManager)
loadJoysticks in interface com.jme3.input.JoyInputpublic void initialize()
initialize in interface com.jme3.input.Inputpublic void update()
update in interface com.jme3.input.Inputpublic void destroy()
destroy in interface com.jme3.input.Inputpublic boolean isInitialized()
isInitialized in interface com.jme3.input.Inputpublic void setInputListener(com.jme3.input.RawInputListener listener)
setInputListener in interface com.jme3.input.Inputpublic long getInputTimeNanos()
getInputTimeNanos in interface com.jme3.input.Input