Interface ScreenKeyboardEvents.AllowKeyRelease
- Enclosing class:
ScreenKeyboardEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Environment(CLIENT)
@FunctionalInterface
public static interface ScreenKeyboardEvents.AllowKeyRelease
-
Method Summary
Modifier and TypeMethodDescriptionboolean
allowKeyRelease
(Screen screen, int key, int scancode, int modifiers) Checks if a pressed key should be allowed to be released.
-
Method Details
-
allowKeyRelease
Checks if a pressed key should be allowed to be released.- Parameters:
key
- the named key code which can be identified by the constants inGLFW
scancode
- the unique/platform-specific scan code of the keyboard inputmodifiers
- a GLFW bitfield describing the modifier keys that are held down- Returns:
- whether the key press should be released
- See Also:
-