Class ScreenEvent.KeyboardKeyPressedEvent.Post

Enclosing class:
ScreenEvent.KeyboardKeyPressedEvent

public static class ScreenEvent.KeyboardKeyPressedEvent.Post extends ScreenEvent.KeyboardKeyPressedEvent
This event fires after GuiEventListener.keyPressed(int, int, int) if the key was not already handled. Cancel this event when you successfully use the keyboard input to prevent other handlers from using the same input.
  • Constructor Details

    • Post

      public Post(Screen screen, int keyCode, int scanCode, int modifiers)