type t = {key : Keycode.t; shift : bool; control : bool; alt : bool}
A record containing information about a key event
See : OgamlCore.KeyCode
Record fields
key : Keycode.t
|
Key coresponding to the event |
shift : bool
|
true iff the shift modifier was active during the event |
control : bool
|
true iff the ctrl modifier (or cmd under OSX) was active during the event |
alt : bool
|
true iff the alt modifier was active during the event |
See : OgamlCore.KeyCode