class Gsw::Keys
- Gsw::Keys
- Reference
- Object
Defined in:
gsw/utils/keys.crConstant Summary
-
ACCEPT =
LibRay::KEY_ENTER
-
CANCEL =
LibRay::KEY_BACKSPACE
-
TAB =
258
-
TILDE =
96
Class Method Summary
- .down?(key : Int32)
- .down?(keys : Array(Int32))
- .held?(frame_time, key : Int32, initial_timer, hold_timer)
- .held?(frame_time, keys : Array(Int32), initial_timer, hold_timer)
- .pressed?(key : Int32)
- .pressed?(keys : Array(Int32))
- .pressed_or_held?(frame_time, key : Int32, initial_timer, hold_timer)
- .pressed_or_held?(frame_time, keys : Array(Int32), initial_timer, hold_timer)
- .puts_pressed
- .released?(key : Int32)
- .released?(keys : Array(Int32))
- .up?(key : Int32)
- .up?(key : Array(Int32))