public class DefaultLwjgl3Input extends AbstractInput implements Lwjgl3Input
Input.Buttons, Input.Keys, Input.OnscreenKeyboardType, Input.Orientation, Input.Peripheral, Input.TextInputListener| Constructor and Description |
|---|
DefaultLwjgl3Input(Lwjgl3Window window) |
isCatchBackKey, isCatchKey, isCatchMenuKey, isKeyJustPressed, isKeyPressed, setCatchBackKey, setCatchKey, setCatchMenuKeyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCatchBackKey, isCatchKey, isCatchMenuKey, isKeyJustPressed, isKeyPressed, setCatchBackKey, setCatchKey, setCatchMenuKeypublic DefaultLwjgl3Input(Lwjgl3Window window)
public void resetPollingStates()
resetPollingStates in interface Lwjgl3Inputpublic void windowHandleChanged(long windowHandle)
windowHandleChanged in interface Lwjgl3Inputpublic void update()
update in interface Lwjgl3Inputpublic void prepareNext()
prepareNext in interface Lwjgl3Inputpublic int getMaxPointers()
getMaxPointers in interface Inputpublic boolean justTouched()
justTouched in interface Inputpublic float getPressure()
getPressure in interface Inputpublic float getPressure(int pointer)
getPressure in interface Inputpublic boolean isButtonPressed(int button)
isButtonPressed in interface Inputpublic boolean isButtonJustPressed(int button)
isButtonJustPressed in interface Inputpublic void getTextInput(Input.TextInputListener listener, String title, String text, String hint)
getTextInput in interface Inputpublic void getTextInput(Input.TextInputListener listener, String title, String text, String hint, Input.OnscreenKeyboardType type)
getTextInput in interface Inputpublic long getCurrentEventTime()
getCurrentEventTime in interface Inputpublic void setInputProcessor(InputProcessor processor)
setInputProcessor in interface Inputpublic InputProcessor getInputProcessor()
getInputProcessor in interface Inputpublic void setCursorCatched(boolean catched)
setCursorCatched in interface Inputpublic boolean isCursorCatched()
isCursorCatched in interface Inputpublic void setCursorPosition(int x,
int y)
setCursorPosition in interface Inputpublic int getGdxKeyCode(int lwjglKeyCode)
public void dispose()
dispose in interface Disposablepublic float getAccelerometerX()
getAccelerometerX in interface Inputpublic float getAccelerometerY()
getAccelerometerY in interface Inputpublic float getAccelerometerZ()
getAccelerometerZ in interface Inputpublic boolean isPeripheralAvailable(Input.Peripheral peripheral)
isPeripheralAvailable in interface Inputpublic int getRotation()
getRotation in interface Inputpublic Input.Orientation getNativeOrientation()
getNativeOrientation in interface Inputpublic void setOnscreenKeyboardVisible(boolean visible)
setOnscreenKeyboardVisible in interface Inputpublic void setOnscreenKeyboardVisible(boolean visible,
Input.OnscreenKeyboardType type)
setOnscreenKeyboardVisible in interface Inputpublic void cancelVibrate()
cancelVibrate in interface Inputpublic float getAzimuth()
getAzimuth in interface Inputpublic void getRotationMatrix(float[] matrix)
getRotationMatrix in interface Inputpublic float getGyroscopeX()
getGyroscopeX in interface Inputpublic float getGyroscopeY()
getGyroscopeY in interface Inputpublic float getGyroscopeZ()
getGyroscopeZ in interface InputCopyright © 2021. All rights reserved.