Methods

tick(delta:Float):Void

keyDown(keycode:Int, scancode:Int, repeat:Bool, mod:ModState, timestamp:Float, windowId:Int):Void

keyUp(keycode:Int, scancode:Int, repeat:Bool, mod:ModState, timestamp:Float, windowId:Int):Void

text(text:String, start:Int, length:Int, type:TextEventType, timestamp:Float, windowId:Int):Void

mouseMove(x:Int, y:Int, xrel:Int, yrel:Int, timestamp:Float, windowId:Int):Void

mouseDown(x:Int, y:Int, button:Int, timestamp:Float, windowId:Int):Void

mouseUp(x:Int, y:Int, button:Int, timestamp:Float, windowId:Int):Void

mouseWheel(x:Float, y:Float, timestamp:Float, windowId:Int):Void

touchDown(x:Float, y:Float, dx:Float, dy:Float, touchId:Int, timestamp:Float):Void

touchUp(x:Float, y:Float, dx:Float, dy:Float, touchId:Int, timestamp:Float):Void

touchMove(x:Float, y:Float, dx:Float, dy:Float, touchId:Int, timestamp:Float):Void

gamepadAxis(gamepad:Int, axis:Int, value:Float, timestamp:Float):Void

gamepadDown(gamepad:Int, button:Int, value:Float, timestamp:Float):Void

gamepadUp(gamepad:Int, button:Int, value:Float, timestamp:Float):Void

gamepadGyro(gamepad:Int, dx:Float, dy:Float, dz:Float, timestamp:Float):Void

gamepadDevice(gamepad:Int, name:String, type:GamepadDeviceEventType, timestamp:Float):Void

windowEvent(type:WindowEventType, timestamp:Float, windowId:Int, x:Int, y:Int):Void

sdlEvent(event:Event):Void

Available on clay native