Class SDLEventHandler
java.lang.Object
com.mojang.blaze3d.platform.SDLEventHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate static longgetWindowHandle(org.lwjgl.sdl.SDL_Event event) private voidprivate voidhandleDropCompleteEvent(org.lwjgl.sdl.SDL_Event event) private voidhandleDropFileEvent(org.lwjgl.sdl.SDL_Event event) private voidhandleKeyEvent(org.lwjgl.sdl.SDL_Event event) private voidprivate voidhandleMouseButtonEvent(org.lwjgl.sdl.SDL_Event event) private voidhandleMouseMotionEvent(org.lwjgl.sdl.SDL_Event event) private voidhandleMouseWheelEvent(org.lwjgl.sdl.SDL_Event event) private voidhandleTextEditingEvent(org.lwjgl.sdl.SDL_Event event) private voidhandleTextInputEvent(org.lwjgl.sdl.SDL_Event event) private static booleanisShiftInvertedScroll(double y, double x) voidvoid
-
Field Details
-
dropFiles
-
minecraft
-
window
-
-
Constructor Details
-
SDLEventHandler
-
-
Method Details
-
getWindowHandle
private static long getWindowHandle(org.lwjgl.sdl.SDL_Event event) -
pollEvents
public void pollEvents() -
pumpEvents
public void pumpEvents() -
flushInputEvents
public void flushInputEvents() -
handleKeymapChangedEvent
private void handleKeymapChangedEvent() -
handleKeyEvent
private void handleKeyEvent(org.lwjgl.sdl.SDL_Event event) -
handleTextInputEvent
private void handleTextInputEvent(org.lwjgl.sdl.SDL_Event event) -
handleTextEditingEvent
private void handleTextEditingEvent(org.lwjgl.sdl.SDL_Event event) -
handleMouseMotionEvent
private void handleMouseMotionEvent(org.lwjgl.sdl.SDL_Event event) -
handleMouseButtonEvent
private void handleMouseButtonEvent(org.lwjgl.sdl.SDL_Event event) -
handleDropFileEvent
private void handleDropFileEvent(org.lwjgl.sdl.SDL_Event event) -
handleDropBeginEvent
private void handleDropBeginEvent() -
handleMouseWheelEvent
private void handleMouseWheelEvent(org.lwjgl.sdl.SDL_Event event) -
isShiftInvertedScroll
private static boolean isShiftInvertedScroll(double y, double x) -
handleDropCompleteEvent
private void handleDropCompleteEvent(org.lwjgl.sdl.SDL_Event event)
-