sfml.window.Event.KeyPressed
See theKeyPressed companion object
final case class KeyPressed(code: Key, scancode: Scancode, alt: Boolean, control: Boolean, shift: Boolean, system: Boolean)
A key was pressed
Value parameters
- alt
-
Is the Alt key pressed?
- code
-
Code of the key that has been pressed.
- control
-
Is the Control key pressed?
- scancode
-
Physical code of the key that has been pressed.
- shift
-
Is the Shift key pressed?
- system
-
Is the System key pressed?
Attributes
- Companion
- object
Members list
In this article