This is an automated email from the ASF dual-hosted git repository. pushminakazi pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push: new 6aac136 Update KeyboardEvent.as 6aac136 is described below commit 6aac1365fb2919c41c32f3e11d96ead104535ba9 Author: pashminakazi <42200979+pashminak...@users.noreply.github.com> AuthorDate: Thu Nov 22 12:30:07 2018 +0500 Update KeyboardEvent.as --- .../projects/MXRoyale/src/main/royale/mx/events/KeyboardEvent.as | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/KeyboardEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/KeyboardEvent.as index 272944a..6284848 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/KeyboardEvent.as +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/KeyboardEvent.as @@ -39,6 +39,7 @@ import org.apache.royale.events.IRoyaleEvent; COMPILE::SWF public class KeyboardEvent extends flash.events.KeyboardEvent { + public function KeyboardEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = false, charCodeValue:uint = 0, keyCodeValue:uint = 0, keyLocationValue:uint = 0, ctrlKeyValue:Boolean = false, altKeyValue:Boolean = false, @@ -50,6 +51,14 @@ public class KeyboardEvent extends flash.events.KeyboardEvent public static const KEY_DOWN:String = platformConstant1("keyDown"); + public static const HOME:uint = platformConstant(36); + public static const BACKSPACE:uint = platformConstant(8); + public static const LEFT:uint = platformConstant(37); + public static const RIGHT:uint = platformConstant(39); + public static const DELETE:uint = platformConstant(46); + public static const END:uint = platformConstant(35); + public static const KEY_UP:String = platformConstant1("keyUp"); + public function get KEY_DOWN():String { return "keyDown";