Class CharEvent

java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.CharEvent

public final class CharEvent extends Event
This event is fired when a character is input. It is fired in the GLFWCharCallback that is assigned to GLFW.glfwSetCharCallback(long, GLFWCharCallbackI). Cancelling it will make the input character not be processed internally.
  • Field Details

    • window

      public final long window
    • codepoint

      public int codepoint
  • Constructor Details

    • CharEvent

      public CharEvent(long window, int codepoint)