Static variables
staticALLOW_KEY_REPEAT:Bool = false
This enable the native key repeat behavior, and will report several times isPressed() in case a key is kept pressed for a long time if this is allowed by the target platform.
staticinlineread onlyMOUSE_WHEEL_DOWN:Int = 6
Mouse wheel does not have an off signal, and should be checked only through isPressed
method.
Note that there may be multiple wheel scrolls between 2 frames, and to receive more accurate
results, it is recommended to directly listen to wheel events which also provide OS-generated wheel delta value.
See Interactive.onWheel
for per-interactive events. For scene-based see Scene.addEventListener
when event is EWheel
. For global hook use Window.addEventTarget
method.
staticinlineread onlyMOUSE_WHEEL_UP:Int = 5
Mouse wheel does not have an off signal, and should be checked only through isPressed
method.
Note that there may be multiple wheel scrolls between 2 frames, and to receive more accurate
results, it is recommended to directly listen to wheel events which also provide OS-generated wheel delta value.
See Interactive.onWheel
for per-interactive events. For scene-based see Scene.addEventListener
when event is EWheel
. For global hook use Window.addEventTarget
method.