Class SDLEventHandler

java.lang.Object
com.mojang.blaze3d.platform.SDLEventHandler

public class SDLEventHandler extends Object
  • Field Details

    • dropFiles

      private final List<String> dropFiles
    • minecraft

      private final Minecraft minecraft
    • window

      private final Window window
  • Constructor Details

    • SDLEventHandler

      public SDLEventHandler(Minecraft minecraft, Window window)
  • 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)