Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
espresso
v0.2.1
Espresso
APIUnavailableError
Bounds
ButtonState
ClientAPI
ContextCreationAPI
ContextRobustness
Coordinates
Cursor
CursorMode
CursorShape
EnumCopy
FormatUnavailableError
FrameSize
GamepadAxis
GamepadButton
GamepadState
GammaRamp
GLFWError
Image
InvalidEnumError
InvalidValueError
Joystick
JoystickConnectEvent
JoystickHatState
Key
Keyboard
KeyboardCharEvent
KeyboardCharModsEvent
KeyboardEvent
KeyboardKeyEvent
KeyState
ModifierKey
Monitor
MonitorConnectEvent
Mouse
MouseButton
MouseButtonEvent
MouseEnterEvent
MouseEvent
MouseMoveEvent
MouseScrollEvent
NoCurrentContextError
NotInitializedError
NoWindowContextError
OpenGLProfile
OutOfMemoryError
PlatformError
Position
ReleaseBehavior
Scale
Size
Timer
VersionUnavailableError
VideoMode
Window
WindowBuilder
WindowClosingEvent
WindowDropEvent
WindowEvent
WindowFocusEvent
WindowIconifyEvent
WindowMaximizeEvent
WindowMoveEvent
WindowRefreshEvent
WindowResizeEvent
WindowScaleEvent
WindowTopic
Generated using Crystal 1.14.0
2024-11-26 19:04:02 UTC
enum
Espresso::
KeyState
Defined in:
espresso/input/keyboard/key_state.cr
Enum Members
Released
=
0
Pressed
=
1
Repeated
=
2
Instance Method Summary
#pressed?
#released?
#repeated?
Instance Method Detail
def
pressed?
#
[
View source
]
def
released?
#
[
View source
]
def
repeated?
#
[
View source
]