Files
lime/externs/air/flash/events/KeyboardEvent.hx
2017-08-25 14:04:53 -07:00

19 lines
675 B
Haxe

package flash.events;
extern class KeyboardEvent extends Event {
var altKey : Bool;
var charCode : UInt;
#if air
var commandKey : Bool;
#end
var controlKey : Bool;
var ctrlKey : Bool;
var keyCode : UInt;
var keyLocation : flash.ui.KeyLocation;
var shiftKey : Bool;
function new(type : String, bubbles : Bool = true, cancelable : Bool = false, charCodeValue : UInt = 0, keyCodeValue : UInt = 0, keyLocationValue : flash.ui.KeyLocation = 0, ctrlKeyValue : Bool = false, altKeyValue : Bool = false, shiftKeyValue : Bool = false) : Void;
function updateAfterEvent() : Void;
static var KEY_DOWN(default,never) : String;
static var KEY_UP(default,never) : String;
}