This commit is contained in:
Apprentice-Alchemist
2022-03-12 21:36:37 +01:00
parent f544134144
commit 18f680e247

View File

@@ -739,12 +739,12 @@ class NativeApplication
@:keep /*private*/ class KeyEventInfo
{
public var keyCode:#if neko Float #else Int #end;
public var keyCode: Float;
public var modifier:Int;
public var type:KeyEventType;
public var windowID:Int;
public function new(type:KeyEventType = null, windowID:Int = 0, keyCode:#if neko Float #else Int #end = 0, modifier:Int = 0)
public function new(type:KeyEventType = null, windowID:Int = 0, keyCode: Float = 0, modifier:Int = 0)
{
this.type = type;
this.windowID = windowID;