KeyboardEvent.hx 582 B

1234567891011121314
  1. package flash.events;
  2. extern class KeyboardEvent extends Event {
  3. var altKey : Bool;
  4. var charCode : UInt;
  5. var ctrlKey : Bool;
  6. var keyCode : UInt;
  7. var keyLocation : flash.ui.KeyLocation;
  8. var shiftKey : Bool;
  9. 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;
  10. function updateAfterEvent() : Void;
  11. static var KEY_DOWN : String;
  12. static var KEY_UP : String;
  13. }