First commit
This commit is contained in:
86
hGameTest/node_modules/openfl/lib/_gen/lime/ui/FileDialog.js
generated
vendored
Normal file
86
hGameTest/node_modules/openfl/lib/_gen/lime/ui/FileDialog.js
generated
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
// Class: lime.ui.FileDialog
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var __map_reserved = {};
|
||||
|
||||
// Imports
|
||||
|
||||
var $hxClasses = require("./../../hxClasses_stub").default;
|
||||
var $import = require("./../../import_stub").default;
|
||||
function lime_ui_FileDialogType() {return require("./../../lime/ui/FileDialogType");}
|
||||
function lime_graphics_Image() {return require("./../../lime/graphics/Image");}
|
||||
function haxe_io_Path() {return require("./../../haxe/io/Path");}
|
||||
function lime_app__$Event_$Array_$String_$_$Void() {return require("./../../lime/app/_Event_Array_String__Void");}
|
||||
function lime_app__$Event_$String_$Void() {return require("./../../lime/app/_Event_String_Void");}
|
||||
function lime_app__$Event_$lime_$utils_$Resource_$Void() {return require("./../../lime/app/_Event_lime_utils_Resource_Void");}
|
||||
function lime_app__$Event_$Void_$Void() {return require("./../../lime/app/_Event_Void_Void");}
|
||||
|
||||
// Constructor
|
||||
|
||||
var FileDialog = function() {
|
||||
this.onSelectMultiple = new (lime_app__$Event_$Array_$String_$_$Void().default)();
|
||||
this.onSelect = new (lime_app__$Event_$String_$Void().default)();
|
||||
this.onSave = new (lime_app__$Event_$String_$Void().default)();
|
||||
this.onOpen = new (lime_app__$Event_$lime_$utils_$Resource_$Void().default)();
|
||||
this.onCancel = new (lime_app__$Event_$Void_$Void().default)();
|
||||
}
|
||||
|
||||
// Meta
|
||||
|
||||
FileDialog.__name__ = ["lime","ui","FileDialog"];
|
||||
FileDialog.prototype = {
|
||||
browse: function(type,filter,defaultPath,title) {
|
||||
if(type == null) {
|
||||
type = (lime_ui_FileDialogType().default).OPEN;
|
||||
}
|
||||
this.onCancel.dispatch();
|
||||
return false;
|
||||
},
|
||||
open: function(filter,defaultPath,title) {
|
||||
this.onCancel.dispatch();
|
||||
return false;
|
||||
},
|
||||
save: function(data,filter,defaultPath,title) {
|
||||
if(data == null) {
|
||||
this.onCancel.dispatch();
|
||||
return false;
|
||||
}
|
||||
var type = "application/octet-stream";
|
||||
var defaultExtension = "";
|
||||
if((lime_graphics_Image().default).__isPNG(data)) {
|
||||
type = "image/png";
|
||||
defaultExtension = ".png";
|
||||
} else if((lime_graphics_Image().default).__isJPG(data)) {
|
||||
type = "image/jpeg";
|
||||
defaultExtension = ".jpg";
|
||||
} else if((lime_graphics_Image().default).__isGIF(data)) {
|
||||
type = "image/gif";
|
||||
defaultExtension = ".gif";
|
||||
} else if((lime_graphics_Image().default).__isWebP(data)) {
|
||||
type = "image/webp";
|
||||
defaultExtension = ".webp";
|
||||
}
|
||||
var path = defaultPath != null ? (haxe_io_Path().default).withoutDirectory(defaultPath) : "download" + defaultExtension;
|
||||
var buffer = data.getData();
|
||||
require ('file-saverjs')(new Blob([buffer],{ type : type}),path,true);
|
||||
this.onSave.dispatch(path);
|
||||
return true;
|
||||
}
|
||||
};
|
||||
FileDialog.prototype.__class__ = $hxClasses["lime.ui.FileDialog"] = FileDialog;
|
||||
|
||||
// Init
|
||||
|
||||
|
||||
|
||||
// Statics
|
||||
|
||||
|
||||
|
||||
|
||||
// Export
|
||||
|
||||
exports.default = FileDialog;
|
||||
33
hGameTest/node_modules/openfl/lib/_gen/lime/ui/FileDialogType.js
generated
vendored
Normal file
33
hGameTest/node_modules/openfl/lib/_gen/lime/ui/FileDialogType.js
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
// Enum: lime.ui.FileDialogType
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
// Imports
|
||||
|
||||
var $estr = require("./../../estr_stub").default;
|
||||
var $hxClasses = require("./../../hxClasses_stub").default;
|
||||
|
||||
// Definition
|
||||
|
||||
var FileDialogType = $hxClasses["lime.ui.FileDialogType"] = { __ename__: ["lime","ui","FileDialogType"], __constructs__: ["OPEN","OPEN_MULTIPLE","SAVE","OPEN_DIRECTORY"] }
|
||||
|
||||
FileDialogType.SAVE = ["SAVE",2];
|
||||
FileDialogType.SAVE.toString = $estr;
|
||||
FileDialogType.SAVE.__enum__ = FileDialogType;
|
||||
|
||||
FileDialogType.OPEN_MULTIPLE = ["OPEN_MULTIPLE",1];
|
||||
FileDialogType.OPEN_MULTIPLE.toString = $estr;
|
||||
FileDialogType.OPEN_MULTIPLE.__enum__ = FileDialogType;
|
||||
|
||||
FileDialogType.OPEN_DIRECTORY = ["OPEN_DIRECTORY",3];
|
||||
FileDialogType.OPEN_DIRECTORY.toString = $estr;
|
||||
FileDialogType.OPEN_DIRECTORY.__enum__ = FileDialogType;
|
||||
|
||||
FileDialogType.OPEN = ["OPEN",0];
|
||||
FileDialogType.OPEN.toString = $estr;
|
||||
FileDialogType.OPEN.__enum__ = FileDialogType;
|
||||
|
||||
|
||||
exports.default = FileDialogType;
|
||||
76
hGameTest/node_modules/openfl/lib/_gen/lime/ui/Gamepad.js
generated
vendored
Normal file
76
hGameTest/node_modules/openfl/lib/_gen/lime/ui/Gamepad.js
generated
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
// Class: lime.ui.Gamepad
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var __map_reserved = {};
|
||||
|
||||
// Imports
|
||||
|
||||
var $hxClasses = require("./../../hxClasses_stub").default;
|
||||
var $import = require("./../../import_stub").default;
|
||||
function lime_ui_Joystick() {return require("./../../lime/ui/Joystick");}
|
||||
function haxe_ds_IntMap() {return require("./../../haxe/ds/IntMap");}
|
||||
function lime_app__$Event_$lime_$ui_$Gamepad_$Void() {return require("./../../lime/app/_Event_lime_ui_Gamepad_Void");}
|
||||
function lime_app__$Event_$Void_$Void() {return require("./../../lime/app/_Event_Void_Void");}
|
||||
function lime_app__$Event_$lime_$ui_$GamepadButton_$Void() {return require("./../../lime/app/_Event_lime_ui_GamepadButton_Void");}
|
||||
function lime_app__$Event_$lime_$ui_$GamepadAxis_$Float_$Void() {return require("./../../lime/app/_Event_lime_ui_GamepadAxis_Float_Void");}
|
||||
|
||||
// Constructor
|
||||
|
||||
var Gamepad = function(id) {
|
||||
this.onDisconnect = new (lime_app__$Event_$Void_$Void().default)();
|
||||
this.onButtonUp = new (lime_app__$Event_$lime_$ui_$GamepadButton_$Void().default)();
|
||||
this.onButtonDown = new (lime_app__$Event_$lime_$ui_$GamepadButton_$Void().default)();
|
||||
this.onAxisMove = new (lime_app__$Event_$lime_$ui_$GamepadAxis_$Float_$Void().default)();
|
||||
this.id = id;
|
||||
this.connected = true;
|
||||
}
|
||||
|
||||
// Meta
|
||||
|
||||
Gamepad.__name__ = ["lime","ui","Gamepad"];
|
||||
Gamepad.prototype = {
|
||||
get_guid: function() {
|
||||
var devices = (lime_ui_Joystick().default).__getDeviceData();
|
||||
return devices[this.id].id;
|
||||
},
|
||||
get_name: function() {
|
||||
var devices = (lime_ui_Joystick().default).__getDeviceData();
|
||||
return devices[this.id].id;
|
||||
}
|
||||
};
|
||||
Gamepad.prototype.__class__ = $hxClasses["lime.ui.Gamepad"] = Gamepad;
|
||||
|
||||
// Init
|
||||
|
||||
|
||||
|
||||
// Statics
|
||||
|
||||
Gamepad.addMappings = function(mappings) {
|
||||
}
|
||||
Gamepad.__connect = function(id) {
|
||||
if(!Gamepad.devices.exists(id)) {
|
||||
var gamepad = new Gamepad(id);
|
||||
Gamepad.devices.set(id,gamepad);
|
||||
Gamepad.onConnect.dispatch(gamepad);
|
||||
}
|
||||
}
|
||||
Gamepad.__disconnect = function(id) {
|
||||
var gamepad = Gamepad.devices.get(id);
|
||||
if(gamepad != null) {
|
||||
gamepad.connected = false;
|
||||
}
|
||||
Gamepad.devices.remove(id);
|
||||
if(gamepad != null) {
|
||||
gamepad.onDisconnect.dispatch();
|
||||
}
|
||||
}
|
||||
Gamepad.devices = new (haxe_ds_IntMap().default)()
|
||||
Gamepad.onConnect = new (lime_app__$Event_$lime_$ui_$Gamepad_$Void().default)()
|
||||
|
||||
// Export
|
||||
|
||||
exports.default = Gamepad;
|
||||
100
hGameTest/node_modules/openfl/lib/_gen/lime/ui/Joystick.js
generated
vendored
Normal file
100
hGameTest/node_modules/openfl/lib/_gen/lime/ui/Joystick.js
generated
vendored
Normal file
@@ -0,0 +1,100 @@
|
||||
// Class: lime.ui.Joystick
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var __map_reserved = {};
|
||||
|
||||
// Imports
|
||||
|
||||
var $hxClasses = require("./../../hxClasses_stub").default;
|
||||
var $import = require("./../../import_stub").default;
|
||||
function haxe_ds_IntMap() {return require("./../../haxe/ds/IntMap");}
|
||||
function lime_app__$Event_$lime_$ui_$Joystick_$Void() {return require("./../../lime/app/_Event_lime_ui_Joystick_Void");}
|
||||
function lime_app__$Event_$Int_$Float_$Float_$Void() {return require("./../../lime/app/_Event_Int_Float_Float_Void");}
|
||||
function lime_app__$Event_$Int_$lime_$ui_$JoystickHatPosition_$Void() {return require("./../../lime/app/_Event_Int_lime_ui_JoystickHatPosition_Void");}
|
||||
function lime_app__$Event_$Void_$Void() {return require("./../../lime/app/_Event_Void_Void");}
|
||||
function lime_app__$Event_$Int_$Void() {return require("./../../lime/app/_Event_Int_Void");}
|
||||
function lime_app__$Event_$Int_$Float_$Void() {return require("./../../lime/app/_Event_Int_Float_Void");}
|
||||
|
||||
// Constructor
|
||||
|
||||
var Joystick = function(id) {
|
||||
this.onTrackballMove = new (lime_app__$Event_$Int_$Float_$Float_$Void().default)();
|
||||
this.onHatMove = new (lime_app__$Event_$Int_$lime_$ui_$JoystickHatPosition_$Void().default)();
|
||||
this.onDisconnect = new (lime_app__$Event_$Void_$Void().default)();
|
||||
this.onButtonUp = new (lime_app__$Event_$Int_$Void().default)();
|
||||
this.onButtonDown = new (lime_app__$Event_$Int_$Void().default)();
|
||||
this.onAxisMove = new (lime_app__$Event_$Int_$Float_$Void().default)();
|
||||
this.id = id;
|
||||
this.connected = true;
|
||||
}
|
||||
|
||||
// Meta
|
||||
|
||||
Joystick.__name__ = ["lime","ui","Joystick"];
|
||||
Joystick.prototype = {
|
||||
get_guid: function() {
|
||||
var devices = Joystick.__getDeviceData();
|
||||
return devices[this.id].id;
|
||||
},
|
||||
get_name: function() {
|
||||
var devices = Joystick.__getDeviceData();
|
||||
return devices[this.id].id;
|
||||
},
|
||||
get_numAxes: function() {
|
||||
var devices = Joystick.__getDeviceData();
|
||||
return devices[this.id].axes.length;
|
||||
},
|
||||
get_numButtons: function() {
|
||||
var devices = Joystick.__getDeviceData();
|
||||
return devices[this.id].buttons.length;
|
||||
},
|
||||
get_numHats: function() {
|
||||
return 0;
|
||||
},
|
||||
get_numTrackballs: function() {
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
Joystick.prototype.__class__ = $hxClasses["lime.ui.Joystick"] = Joystick;
|
||||
|
||||
// Init
|
||||
|
||||
|
||||
|
||||
// Statics
|
||||
|
||||
Joystick.__connect = function(id) {
|
||||
if(!Joystick.devices.exists(id)) {
|
||||
var joystick = new Joystick(id);
|
||||
Joystick.devices.set(id,joystick);
|
||||
Joystick.onConnect.dispatch(joystick);
|
||||
}
|
||||
}
|
||||
Joystick.__disconnect = function(id) {
|
||||
var joystick = Joystick.devices.get(id);
|
||||
if(joystick != null) {
|
||||
joystick.connected = false;
|
||||
}
|
||||
Joystick.devices.remove(id);
|
||||
if(joystick != null) {
|
||||
joystick.onDisconnect.dispatch();
|
||||
}
|
||||
}
|
||||
Joystick.__getDeviceData = function() {
|
||||
if(navigator.getGamepads) {
|
||||
return navigator.getGamepads();
|
||||
} else if(navigator.webkitGetGamepads) {
|
||||
return navigator.webkitGetGamepads();
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Joystick.devices = new (haxe_ds_IntMap().default)()
|
||||
Joystick.onConnect = new (lime_app__$Event_$lime_$ui_$Joystick_$Void().default)()
|
||||
|
||||
// Export
|
||||
|
||||
exports.default = Joystick;
|
||||
58
hGameTest/node_modules/openfl/lib/_gen/lime/ui/Mouse.js
generated
vendored
Normal file
58
hGameTest/node_modules/openfl/lib/_gen/lime/ui/Mouse.js
generated
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
// Class: lime.ui.Mouse
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var __map_reserved = {};
|
||||
|
||||
// Imports
|
||||
|
||||
var $hxClasses = require("./../../hxClasses_stub").default;
|
||||
var $import = require("./../../import_stub").default;
|
||||
function lime__$backend_html5_HTML5Mouse() {return require("./../../lime/_backend/html5/HTML5Mouse");}
|
||||
|
||||
// Constructor
|
||||
|
||||
var Mouse = function(){}
|
||||
|
||||
// Meta
|
||||
|
||||
Mouse.__name__ = ["lime","ui","Mouse"];
|
||||
Mouse.prototype = {
|
||||
|
||||
};
|
||||
Mouse.prototype.__class__ = $hxClasses["lime.ui.Mouse"] = Mouse;
|
||||
|
||||
// Init
|
||||
|
||||
|
||||
|
||||
// Statics
|
||||
|
||||
Mouse.hide = function() {
|
||||
(lime__$backend_html5_HTML5Mouse().default).hide();
|
||||
}
|
||||
Mouse.show = function() {
|
||||
(lime__$backend_html5_HTML5Mouse().default).show();
|
||||
}
|
||||
Mouse.warp = function(x,y,window) {
|
||||
(lime__$backend_html5_HTML5Mouse().default).warp(x,y,window);
|
||||
}
|
||||
Mouse.get_cursor = function() {
|
||||
return (lime__$backend_html5_HTML5Mouse().default).get_cursor();
|
||||
}
|
||||
Mouse.set_cursor = function(value) {
|
||||
return (lime__$backend_html5_HTML5Mouse().default).set_cursor(value);
|
||||
}
|
||||
Mouse.get_lock = function() {
|
||||
return (lime__$backend_html5_HTML5Mouse().default).get_lock();
|
||||
}
|
||||
Mouse.set_lock = function(value) {
|
||||
return (lime__$backend_html5_HTML5Mouse().default).set_lock(value);
|
||||
}
|
||||
|
||||
|
||||
// Export
|
||||
|
||||
exports.default = Mouse;
|
||||
69
hGameTest/node_modules/openfl/lib/_gen/lime/ui/MouseCursor.js
generated
vendored
Normal file
69
hGameTest/node_modules/openfl/lib/_gen/lime/ui/MouseCursor.js
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
// Enum: lime.ui.MouseCursor
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
// Imports
|
||||
|
||||
var $estr = require("./../../estr_stub").default;
|
||||
var $hxClasses = require("./../../hxClasses_stub").default;
|
||||
|
||||
// Definition
|
||||
|
||||
var MouseCursor = $hxClasses["lime.ui.MouseCursor"] = { __ename__: ["lime","ui","MouseCursor"], __constructs__: ["ARROW","CROSSHAIR","DEFAULT","MOVE","POINTER","RESIZE_NESW","RESIZE_NS","RESIZE_NWSE","RESIZE_WE","TEXT","WAIT","WAIT_ARROW","CUSTOM"] }
|
||||
|
||||
MouseCursor.MOVE = ["MOVE",3];
|
||||
MouseCursor.MOVE.toString = $estr;
|
||||
MouseCursor.MOVE.__enum__ = MouseCursor;
|
||||
|
||||
MouseCursor.RESIZE_NESW = ["RESIZE_NESW",5];
|
||||
MouseCursor.RESIZE_NESW.toString = $estr;
|
||||
MouseCursor.RESIZE_NESW.__enum__ = MouseCursor;
|
||||
|
||||
MouseCursor.ARROW = ["ARROW",0];
|
||||
MouseCursor.ARROW.toString = $estr;
|
||||
MouseCursor.ARROW.__enum__ = MouseCursor;
|
||||
|
||||
MouseCursor.POINTER = ["POINTER",4];
|
||||
MouseCursor.POINTER.toString = $estr;
|
||||
MouseCursor.POINTER.__enum__ = MouseCursor;
|
||||
|
||||
MouseCursor.RESIZE_NWSE = ["RESIZE_NWSE",7];
|
||||
MouseCursor.RESIZE_NWSE.toString = $estr;
|
||||
MouseCursor.RESIZE_NWSE.__enum__ = MouseCursor;
|
||||
|
||||
MouseCursor.CROSSHAIR = ["CROSSHAIR",1];
|
||||
MouseCursor.CROSSHAIR.toString = $estr;
|
||||
MouseCursor.CROSSHAIR.__enum__ = MouseCursor;
|
||||
|
||||
MouseCursor.RESIZE_NS = ["RESIZE_NS",6];
|
||||
MouseCursor.RESIZE_NS.toString = $estr;
|
||||
MouseCursor.RESIZE_NS.__enum__ = MouseCursor;
|
||||
|
||||
MouseCursor.RESIZE_WE = ["RESIZE_WE",8];
|
||||
MouseCursor.RESIZE_WE.toString = $estr;
|
||||
MouseCursor.RESIZE_WE.__enum__ = MouseCursor;
|
||||
|
||||
MouseCursor.TEXT = ["TEXT",9];
|
||||
MouseCursor.TEXT.toString = $estr;
|
||||
MouseCursor.TEXT.__enum__ = MouseCursor;
|
||||
|
||||
MouseCursor.WAIT = ["WAIT",10];
|
||||
MouseCursor.WAIT.toString = $estr;
|
||||
MouseCursor.WAIT.__enum__ = MouseCursor;
|
||||
|
||||
MouseCursor.DEFAULT = ["DEFAULT",2];
|
||||
MouseCursor.DEFAULT.toString = $estr;
|
||||
MouseCursor.DEFAULT.__enum__ = MouseCursor;
|
||||
|
||||
MouseCursor.CUSTOM = ["CUSTOM",12];
|
||||
MouseCursor.CUSTOM.toString = $estr;
|
||||
MouseCursor.CUSTOM.__enum__ = MouseCursor;
|
||||
|
||||
MouseCursor.WAIT_ARROW = ["WAIT_ARROW",11];
|
||||
MouseCursor.WAIT_ARROW.toString = $estr;
|
||||
MouseCursor.WAIT_ARROW.__enum__ = MouseCursor;
|
||||
|
||||
|
||||
exports.default = MouseCursor;
|
||||
49
hGameTest/node_modules/openfl/lib/_gen/lime/ui/Touch.js
generated
vendored
Normal file
49
hGameTest/node_modules/openfl/lib/_gen/lime/ui/Touch.js
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
// Class: lime.ui.Touch
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var __map_reserved = {};
|
||||
|
||||
// Imports
|
||||
|
||||
var $hxClasses = require("./../../hxClasses_stub").default;
|
||||
var $import = require("./../../import_stub").default;
|
||||
function lime_app__$Event_$lime_$ui_$Touch_$Void() {return require("./../../lime/app/_Event_lime_ui_Touch_Void");}
|
||||
|
||||
// Constructor
|
||||
|
||||
var Touch = function(x,y,id,dx,dy,pressure,device) {
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.id = id;
|
||||
this.dx = dx;
|
||||
this.dy = dy;
|
||||
this.pressure = pressure;
|
||||
this.device = device;
|
||||
}
|
||||
|
||||
// Meta
|
||||
|
||||
Touch.__name__ = ["lime","ui","Touch"];
|
||||
Touch.prototype = {
|
||||
|
||||
};
|
||||
Touch.prototype.__class__ = $hxClasses["lime.ui.Touch"] = Touch;
|
||||
|
||||
// Init
|
||||
|
||||
|
||||
|
||||
// Statics
|
||||
|
||||
|
||||
Touch.onCancel = new (lime_app__$Event_$lime_$ui_$Touch_$Void().default)()
|
||||
Touch.onEnd = new (lime_app__$Event_$lime_$ui_$Touch_$Void().default)()
|
||||
Touch.onMove = new (lime_app__$Event_$lime_$ui_$Touch_$Void().default)()
|
||||
Touch.onStart = new (lime_app__$Event_$lime_$ui_$Touch_$Void().default)()
|
||||
|
||||
// Export
|
||||
|
||||
exports.default = Touch;
|
||||
231
hGameTest/node_modules/openfl/lib/_gen/lime/ui/Window.js
generated
vendored
Normal file
231
hGameTest/node_modules/openfl/lib/_gen/lime/ui/Window.js
generated
vendored
Normal file
@@ -0,0 +1,231 @@
|
||||
// Class: lime.ui.Window
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var __map_reserved = {};
|
||||
|
||||
// Imports
|
||||
|
||||
var $hxClasses = require("./../../hxClasses_stub").default;
|
||||
var $import = require("./../../import_stub").default;
|
||||
function lime_app__$Event_$String_$Void() {return require("./../../lime/app/_Event_String_Void");}
|
||||
function lime_app__$Event_$String_$Int_$Int_$Void() {return require("./../../lime/app/_Event_String_Int_Int_Void");}
|
||||
function lime_app__$Event_$Void_$Void() {return require("./../../lime/app/_Event_Void_Void");}
|
||||
function lime_app__$Event_$Int_$Int_$Void() {return require("./../../lime/app/_Event_Int_Int_Void");}
|
||||
function lime_app__$Event_$Float_$Float_$Void() {return require("./../../lime/app/_Event_Float_Float_Void");}
|
||||
function lime_app__$Event_$Float_$Float_$Int_$Void() {return require("./../../lime/app/_Event_Float_Float_Int_Void");}
|
||||
function lime_app__$Event_$lime_$ui_$KeyCode_$lime_$ui_$KeyModifier_$Void() {return require("./../../lime/app/_Event_lime_ui_KeyCode_lime_ui_KeyModifier_Void");}
|
||||
function Reflect() {return require("./../../Reflect");}
|
||||
function lime__$backend_html5_HTML5Window() {return require("./../../lime/_backend/html5/HTML5Window");}
|
||||
|
||||
// Constructor
|
||||
|
||||
var Window = function(config) {
|
||||
this.onTextInput = new (lime_app__$Event_$String_$Void().default)();
|
||||
this.onTextEdit = new (lime_app__$Event_$String_$Int_$Int_$Void().default)();
|
||||
this.onRestore = new (lime_app__$Event_$Void_$Void().default)();
|
||||
this.onResize = new (lime_app__$Event_$Int_$Int_$Void().default)();
|
||||
this.onMove = new (lime_app__$Event_$Float_$Float_$Void().default)();
|
||||
this.onMouseWheel = new (lime_app__$Event_$Float_$Float_$Void().default)();
|
||||
this.onMouseUp = new (lime_app__$Event_$Float_$Float_$Int_$Void().default)();
|
||||
this.onMouseMoveRelative = new (lime_app__$Event_$Float_$Float_$Void().default)();
|
||||
this.onMouseMove = new (lime_app__$Event_$Float_$Float_$Void().default)();
|
||||
this.onMouseDown = new (lime_app__$Event_$Float_$Float_$Int_$Void().default)();
|
||||
this.onMinimize = new (lime_app__$Event_$Void_$Void().default)();
|
||||
this.onLeave = new (lime_app__$Event_$Void_$Void().default)();
|
||||
this.onKeyUp = new (lime_app__$Event_$lime_$ui_$KeyCode_$lime_$ui_$KeyModifier_$Void().default)();
|
||||
this.onKeyDown = new (lime_app__$Event_$lime_$ui_$KeyCode_$lime_$ui_$KeyModifier_$Void().default)();
|
||||
this.onFullscreen = new (lime_app__$Event_$Void_$Void().default)();
|
||||
this.onFocusOut = new (lime_app__$Event_$Void_$Void().default)();
|
||||
this.onFocusIn = new (lime_app__$Event_$Void_$Void().default)();
|
||||
this.onEnter = new (lime_app__$Event_$Void_$Void().default)();
|
||||
this.onDropFile = new (lime_app__$Event_$String_$Void().default)();
|
||||
this.onDeactivate = new (lime_app__$Event_$Void_$Void().default)();
|
||||
this.onCreate = new (lime_app__$Event_$Void_$Void().default)();
|
||||
this.onClose = new (lime_app__$Event_$Void_$Void().default)();
|
||||
this.onActivate = new (lime_app__$Event_$Void_$Void().default)();
|
||||
this.config = config;
|
||||
this.__width = 0;
|
||||
this.__height = 0;
|
||||
this.__fullscreen = false;
|
||||
this.__scale = 1;
|
||||
this.__x = 0;
|
||||
this.__y = 0;
|
||||
this.__title = "";
|
||||
this.id = -1;
|
||||
if(config != null) {
|
||||
if((Reflect().default).hasField(config,"width")) {
|
||||
this.__width = config.width;
|
||||
}
|
||||
if((Reflect().default).hasField(config,"height")) {
|
||||
this.__height = config.height;
|
||||
}
|
||||
if((Reflect().default).hasField(config,"x")) {
|
||||
this.__x = config.x;
|
||||
}
|
||||
if((Reflect().default).hasField(config,"y")) {
|
||||
this.__y = config.y;
|
||||
}
|
||||
if((Reflect().default).hasField(config,"fullscreen")) {
|
||||
this.__fullscreen = config.fullscreen;
|
||||
}
|
||||
if((Reflect().default).hasField(config,"borderless")) {
|
||||
this.__borderless = config.borderless;
|
||||
}
|
||||
if((Reflect().default).hasField(config,"resizable")) {
|
||||
this.__resizable = config.resizable;
|
||||
}
|
||||
if((Reflect().default).hasField(config,"title")) {
|
||||
this.__title = config.title;
|
||||
}
|
||||
}
|
||||
this.backend = new (lime__$backend_html5_HTML5Window().default)(this);
|
||||
}
|
||||
|
||||
// Meta
|
||||
|
||||
Window.__name__ = ["lime","ui","Window"];
|
||||
Window.prototype = {
|
||||
alert: function(message,title) {
|
||||
this.backend.alert(message,title);
|
||||
},
|
||||
close: function() {
|
||||
this.backend.close();
|
||||
},
|
||||
create: function(application) {
|
||||
this.application = application;
|
||||
if(this.config == null) {
|
||||
this.config = { };
|
||||
}
|
||||
this.backend.create(application);
|
||||
if(this.renderer != null) {
|
||||
this.renderer.create();
|
||||
}
|
||||
},
|
||||
focus: function() {
|
||||
this.backend.focus();
|
||||
},
|
||||
move: function(x,y) {
|
||||
this.backend.move(x,y);
|
||||
this.__x = x;
|
||||
this.__y = y;
|
||||
},
|
||||
resize: function(width,height) {
|
||||
this.backend.resize(width,height);
|
||||
this.__width = width;
|
||||
this.__height = height;
|
||||
},
|
||||
setIcon: function(image) {
|
||||
if(image == null) {
|
||||
return;
|
||||
}
|
||||
this.backend.setIcon(image);
|
||||
},
|
||||
toString: function() {
|
||||
return "[object Window]";
|
||||
},
|
||||
get_display: function() {
|
||||
return this.backend.getDisplay();
|
||||
},
|
||||
get_displayMode: function() {
|
||||
return this.backend.getDisplayMode();
|
||||
},
|
||||
set_displayMode: function(value) {
|
||||
return this.backend.setDisplayMode(value);
|
||||
},
|
||||
get_borderless: function() {
|
||||
return this.__borderless;
|
||||
},
|
||||
set_borderless: function(value) {
|
||||
return this.__borderless = this.backend.setBorderless(value);
|
||||
},
|
||||
get_enableTextEvents: function() {
|
||||
return this.backend.getEnableTextEvents();
|
||||
},
|
||||
set_enableTextEvents: function(value) {
|
||||
return this.backend.setEnableTextEvents(value);
|
||||
},
|
||||
get_fullscreen: function() {
|
||||
return this.__fullscreen;
|
||||
},
|
||||
set_fullscreen: function(value) {
|
||||
return this.__fullscreen = this.backend.setFullscreen(value);
|
||||
},
|
||||
get_height: function() {
|
||||
return this.__height;
|
||||
},
|
||||
set_height: function(value) {
|
||||
this.resize(this.__width,value);
|
||||
return this.__height;
|
||||
},
|
||||
get_maximized: function() {
|
||||
return this.__maximized;
|
||||
},
|
||||
set_maximized: function(value) {
|
||||
this.__minimized = false;
|
||||
return this.__maximized = this.backend.setMaximized(value);
|
||||
},
|
||||
get_minimized: function() {
|
||||
return this.__minimized;
|
||||
},
|
||||
set_minimized: function(value) {
|
||||
this.__maximized = false;
|
||||
return this.__minimized = this.backend.setMinimized(value);
|
||||
},
|
||||
get_resizable: function() {
|
||||
return this.__resizable;
|
||||
},
|
||||
set_resizable: function(value) {
|
||||
this.__resizable = this.backend.setResizable(value);
|
||||
return this.__resizable;
|
||||
},
|
||||
get_scale: function() {
|
||||
return this.__scale;
|
||||
},
|
||||
get_title: function() {
|
||||
return this.__title;
|
||||
},
|
||||
set_title: function(value) {
|
||||
return this.__title = this.backend.setTitle(value);
|
||||
},
|
||||
get_width: function() {
|
||||
return this.__width;
|
||||
},
|
||||
set_width: function(value) {
|
||||
this.resize(value,this.__height);
|
||||
return this.__width;
|
||||
},
|
||||
get_x: function() {
|
||||
return this.__x;
|
||||
},
|
||||
set_x: function(value) {
|
||||
this.move(value,this.__y);
|
||||
return this.__x;
|
||||
},
|
||||
get_y: function() {
|
||||
return this.__y;
|
||||
},
|
||||
set_y: function(value) {
|
||||
this.move(this.__x,value);
|
||||
return this.__y;
|
||||
}
|
||||
};
|
||||
Window.prototype.__class__ = $hxClasses["lime.ui.Window"] = Window;
|
||||
|
||||
// Init
|
||||
|
||||
{
|
||||
var p = Window.prototype;
|
||||
Object.defineProperties(p,{ "borderless" : { get : p.get_borderless, set : p.set_borderless}, "display" : { get : p.get_display}, "displayMode" : { get : p.get_displayMode, set : p.set_displayMode}, "enableTextEvents" : { get : p.get_enableTextEvents, set : p.set_enableTextEvents}, "fullscreen" : { get : p.get_fullscreen, set : p.set_fullscreen}, "height" : { get : p.get_height, set : p.set_height}, "maximized" : { get : p.get_maximized, set : p.set_maximized}, "resizable" : { get : p.get_resizable, set : p.set_resizable}, "scale" : { get : p.get_scale}, "title" : { get : p.get_title, set : p.set_title}, "width" : { get : p.get_width, set : p.set_width}, "x" : { get : p.get_x, set : p.set_y}, "y" : { get : p.get_x, set : p.set_y}});
|
||||
};
|
||||
|
||||
// Statics
|
||||
|
||||
|
||||
|
||||
|
||||
// Export
|
||||
|
||||
exports.default = Window;
|
||||
58
hGameTest/node_modules/openfl/lib/_gen/lime/ui/_GamepadAxis/GamepadAxis_Impl_.js
generated
vendored
Normal file
58
hGameTest/node_modules/openfl/lib/_gen/lime/ui/_GamepadAxis/GamepadAxis_Impl_.js
generated
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
// Class: lime.ui._GamepadAxis.GamepadAxis_Impl_
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var __map_reserved = {};
|
||||
|
||||
// Imports
|
||||
|
||||
var $hxClasses = require("./../../../hxClasses_stub").default;
|
||||
|
||||
// Constructor
|
||||
|
||||
var GamepadAxis_Impl_ = function(){}
|
||||
|
||||
// Meta
|
||||
|
||||
GamepadAxis_Impl_.__name__ = ["lime","ui","_GamepadAxis","GamepadAxis_Impl_"];
|
||||
GamepadAxis_Impl_.prototype = {
|
||||
|
||||
};
|
||||
GamepadAxis_Impl_.prototype.__class__ = $hxClasses["lime.ui._GamepadAxis.GamepadAxis_Impl_"] = GamepadAxis_Impl_;
|
||||
|
||||
// Init
|
||||
|
||||
|
||||
|
||||
// Statics
|
||||
|
||||
GamepadAxis_Impl_.toString = function(this1) {
|
||||
switch(this1) {
|
||||
case 0:
|
||||
return "LEFT_X";
|
||||
case 1:
|
||||
return "LEFT_Y";
|
||||
case 2:
|
||||
return "RIGHT_X";
|
||||
case 3:
|
||||
return "RIGHT_Y";
|
||||
case 4:
|
||||
return "TRIGGER_LEFT";
|
||||
case 5:
|
||||
return "TRIGGER_RIGHT";
|
||||
default:
|
||||
return "UNKNOWN (" + this1 + ")";
|
||||
}
|
||||
}
|
||||
GamepadAxis_Impl_.LEFT_X = 0
|
||||
GamepadAxis_Impl_.LEFT_Y = 1
|
||||
GamepadAxis_Impl_.RIGHT_X = 2
|
||||
GamepadAxis_Impl_.RIGHT_Y = 3
|
||||
GamepadAxis_Impl_.TRIGGER_LEFT = 4
|
||||
GamepadAxis_Impl_.TRIGGER_RIGHT = 5
|
||||
|
||||
// Export
|
||||
|
||||
exports.default = GamepadAxis_Impl_;
|
||||
85
hGameTest/node_modules/openfl/lib/_gen/lime/ui/_GamepadButton/GamepadButton_Impl_.js
generated
vendored
Normal file
85
hGameTest/node_modules/openfl/lib/_gen/lime/ui/_GamepadButton/GamepadButton_Impl_.js
generated
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
// Class: lime.ui._GamepadButton.GamepadButton_Impl_
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var __map_reserved = {};
|
||||
|
||||
// Imports
|
||||
|
||||
var $hxClasses = require("./../../../hxClasses_stub").default;
|
||||
|
||||
// Constructor
|
||||
|
||||
var GamepadButton_Impl_ = function(){}
|
||||
|
||||
// Meta
|
||||
|
||||
GamepadButton_Impl_.__name__ = ["lime","ui","_GamepadButton","GamepadButton_Impl_"];
|
||||
GamepadButton_Impl_.prototype = {
|
||||
|
||||
};
|
||||
GamepadButton_Impl_.prototype.__class__ = $hxClasses["lime.ui._GamepadButton.GamepadButton_Impl_"] = GamepadButton_Impl_;
|
||||
|
||||
// Init
|
||||
|
||||
|
||||
|
||||
// Statics
|
||||
|
||||
GamepadButton_Impl_.toString = function(this1) {
|
||||
switch(this1) {
|
||||
case 0:
|
||||
return "A";
|
||||
case 1:
|
||||
return "B";
|
||||
case 2:
|
||||
return "X";
|
||||
case 3:
|
||||
return "Y";
|
||||
case 4:
|
||||
return "BACK";
|
||||
case 5:
|
||||
return "GUIDE";
|
||||
case 6:
|
||||
return "START";
|
||||
case 7:
|
||||
return "LEFT_STICK";
|
||||
case 8:
|
||||
return "RIGHT_STICK";
|
||||
case 9:
|
||||
return "LEFT_SHOULDER";
|
||||
case 10:
|
||||
return "RIGHT_SHOULDER";
|
||||
case 11:
|
||||
return "DPAD_UP";
|
||||
case 12:
|
||||
return "DPAD_DOWN";
|
||||
case 13:
|
||||
return "DPAD_LEFT";
|
||||
case 14:
|
||||
return "DPAD_RIGHT";
|
||||
default:
|
||||
return "UNKNOWN (" + this1 + ")";
|
||||
}
|
||||
}
|
||||
GamepadButton_Impl_.A = 0
|
||||
GamepadButton_Impl_.B = 1
|
||||
GamepadButton_Impl_.X = 2
|
||||
GamepadButton_Impl_.Y = 3
|
||||
GamepadButton_Impl_.BACK = 4
|
||||
GamepadButton_Impl_.GUIDE = 5
|
||||
GamepadButton_Impl_.START = 6
|
||||
GamepadButton_Impl_.LEFT_STICK = 7
|
||||
GamepadButton_Impl_.RIGHT_STICK = 8
|
||||
GamepadButton_Impl_.LEFT_SHOULDER = 9
|
||||
GamepadButton_Impl_.RIGHT_SHOULDER = 10
|
||||
GamepadButton_Impl_.DPAD_UP = 11
|
||||
GamepadButton_Impl_.DPAD_DOWN = 12
|
||||
GamepadButton_Impl_.DPAD_LEFT = 13
|
||||
GamepadButton_Impl_.DPAD_RIGHT = 14
|
||||
|
||||
// Export
|
||||
|
||||
exports.default = GamepadButton_Impl_;
|
||||
100
hGameTest/node_modules/openfl/lib/_gen/lime/ui/_JoystickHatPosition/JoystickHatPosition_Impl_.js
generated
vendored
Normal file
100
hGameTest/node_modules/openfl/lib/_gen/lime/ui/_JoystickHatPosition/JoystickHatPosition_Impl_.js
generated
vendored
Normal file
@@ -0,0 +1,100 @@
|
||||
// Class: lime.ui._JoystickHatPosition.JoystickHatPosition_Impl_
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var __map_reserved = {};
|
||||
|
||||
// Imports
|
||||
|
||||
var $hxClasses = require("./../../../hxClasses_stub").default;
|
||||
|
||||
// Constructor
|
||||
|
||||
var JoystickHatPosition_Impl_ = function(){}
|
||||
|
||||
// Meta
|
||||
|
||||
JoystickHatPosition_Impl_.__name__ = ["lime","ui","_JoystickHatPosition","JoystickHatPosition_Impl_"];
|
||||
JoystickHatPosition_Impl_.prototype = {
|
||||
|
||||
};
|
||||
JoystickHatPosition_Impl_.prototype.__class__ = $hxClasses["lime.ui._JoystickHatPosition.JoystickHatPosition_Impl_"] = JoystickHatPosition_Impl_;
|
||||
|
||||
// Init
|
||||
|
||||
|
||||
|
||||
// Statics
|
||||
|
||||
JoystickHatPosition_Impl_._new = function(value) {
|
||||
var this1 = value;
|
||||
return this1;
|
||||
}
|
||||
JoystickHatPosition_Impl_.get_center = function(this1) {
|
||||
return this1 == 0;
|
||||
}
|
||||
JoystickHatPosition_Impl_.set_center = function(this1,value) {
|
||||
if(value) {
|
||||
this1 = 0;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
JoystickHatPosition_Impl_.get_down = function(this1) {
|
||||
return (this1 & 4) > 0;
|
||||
}
|
||||
JoystickHatPosition_Impl_.set_down = function(this1,value) {
|
||||
if(value) {
|
||||
this1 |= 4;
|
||||
} else {
|
||||
this1 &= 268435455 - 4;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
JoystickHatPosition_Impl_.get_left = function(this1) {
|
||||
return (this1 & 8) > 0;
|
||||
}
|
||||
JoystickHatPosition_Impl_.set_left = function(this1,value) {
|
||||
if(value) {
|
||||
this1 |= 8;
|
||||
} else {
|
||||
this1 &= 268435455 - 8;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
JoystickHatPosition_Impl_.get_right = function(this1) {
|
||||
return (this1 & 2) > 0;
|
||||
}
|
||||
JoystickHatPosition_Impl_.set_right = function(this1,value) {
|
||||
if(value) {
|
||||
this1 |= 2;
|
||||
} else {
|
||||
this1 &= 268435455 - 2;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
JoystickHatPosition_Impl_.get_up = function(this1) {
|
||||
return (this1 & 1) > 0;
|
||||
}
|
||||
JoystickHatPosition_Impl_.set_up = function(this1,value) {
|
||||
if(value) {
|
||||
this1 |= 1;
|
||||
} else {
|
||||
this1 &= 268435455 - 1;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
JoystickHatPosition_Impl_.CENTER = 0
|
||||
JoystickHatPosition_Impl_.DOWN = 4
|
||||
JoystickHatPosition_Impl_.LEFT = 8
|
||||
JoystickHatPosition_Impl_.RIGHT = 2
|
||||
JoystickHatPosition_Impl_.UP = 1
|
||||
JoystickHatPosition_Impl_.DOWN_LEFT = 12
|
||||
JoystickHatPosition_Impl_.DOWN_RIGHT = 6
|
||||
JoystickHatPosition_Impl_.UP_LEFT = 9
|
||||
JoystickHatPosition_Impl_.UP_RIGHT = 3
|
||||
|
||||
// Export
|
||||
|
||||
exports.default = JoystickHatPosition_Impl_;
|
||||
290
hGameTest/node_modules/openfl/lib/_gen/lime/ui/_KeyCode/KeyCode_Impl_.js
generated
vendored
Normal file
290
hGameTest/node_modules/openfl/lib/_gen/lime/ui/_KeyCode/KeyCode_Impl_.js
generated
vendored
Normal file
@@ -0,0 +1,290 @@
|
||||
// Class: lime.ui._KeyCode.KeyCode_Impl_
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var __map_reserved = {};
|
||||
|
||||
// Imports
|
||||
|
||||
var $hxClasses = require("./../../../hxClasses_stub").default;
|
||||
|
||||
// Constructor
|
||||
|
||||
var KeyCode_Impl_ = function(){}
|
||||
|
||||
// Meta
|
||||
|
||||
KeyCode_Impl_.__name__ = ["lime","ui","_KeyCode","KeyCode_Impl_"];
|
||||
KeyCode_Impl_.prototype = {
|
||||
|
||||
};
|
||||
KeyCode_Impl_.prototype.__class__ = $hxClasses["lime.ui._KeyCode.KeyCode_Impl_"] = KeyCode_Impl_;
|
||||
|
||||
// Init
|
||||
|
||||
|
||||
|
||||
// Statics
|
||||
|
||||
KeyCode_Impl_.fromScanCode = function(scanCode) {
|
||||
return 0;
|
||||
}
|
||||
KeyCode_Impl_.toScanCode = function(keyCode) {
|
||||
return 0;
|
||||
}
|
||||
KeyCode_Impl_.gt = function(a,b) {
|
||||
return a > b;
|
||||
}
|
||||
KeyCode_Impl_.gte = function(a,b) {
|
||||
return a >= b;
|
||||
}
|
||||
KeyCode_Impl_.lt = function(a,b) {
|
||||
return a < b;
|
||||
}
|
||||
KeyCode_Impl_.lte = function(a,b) {
|
||||
return a <= b;
|
||||
}
|
||||
KeyCode_Impl_.plus = function(a,b) {
|
||||
return a + b;
|
||||
}
|
||||
KeyCode_Impl_.UNKNOWN = 0
|
||||
KeyCode_Impl_.BACKSPACE = 8
|
||||
KeyCode_Impl_.TAB = 9
|
||||
KeyCode_Impl_.RETURN = 13
|
||||
KeyCode_Impl_.ESCAPE = 27
|
||||
KeyCode_Impl_.SPACE = 32
|
||||
KeyCode_Impl_.EXCLAMATION = 33
|
||||
KeyCode_Impl_.QUOTE = 34
|
||||
KeyCode_Impl_.HASH = 35
|
||||
KeyCode_Impl_.DOLLAR = 36
|
||||
KeyCode_Impl_.PERCENT = 37
|
||||
KeyCode_Impl_.AMPERSAND = 38
|
||||
KeyCode_Impl_.SINGLE_QUOTE = 39
|
||||
KeyCode_Impl_.LEFT_PARENTHESIS = 40
|
||||
KeyCode_Impl_.RIGHT_PARENTHESIS = 41
|
||||
KeyCode_Impl_.ASTERISK = 42
|
||||
KeyCode_Impl_.PLUS = 43
|
||||
KeyCode_Impl_.COMMA = 44
|
||||
KeyCode_Impl_.MINUS = 45
|
||||
KeyCode_Impl_.PERIOD = 46
|
||||
KeyCode_Impl_.SLASH = 47
|
||||
KeyCode_Impl_.NUMBER_0 = 48
|
||||
KeyCode_Impl_.NUMBER_1 = 49
|
||||
KeyCode_Impl_.NUMBER_2 = 50
|
||||
KeyCode_Impl_.NUMBER_3 = 51
|
||||
KeyCode_Impl_.NUMBER_4 = 52
|
||||
KeyCode_Impl_.NUMBER_5 = 53
|
||||
KeyCode_Impl_.NUMBER_6 = 54
|
||||
KeyCode_Impl_.NUMBER_7 = 55
|
||||
KeyCode_Impl_.NUMBER_8 = 56
|
||||
KeyCode_Impl_.NUMBER_9 = 57
|
||||
KeyCode_Impl_.COLON = 58
|
||||
KeyCode_Impl_.SEMICOLON = 59
|
||||
KeyCode_Impl_.LESS_THAN = 60
|
||||
KeyCode_Impl_.EQUALS = 61
|
||||
KeyCode_Impl_.GREATER_THAN = 62
|
||||
KeyCode_Impl_.QUESTION = 63
|
||||
KeyCode_Impl_.AT = 64
|
||||
KeyCode_Impl_.LEFT_BRACKET = 91
|
||||
KeyCode_Impl_.BACKSLASH = 92
|
||||
KeyCode_Impl_.RIGHT_BRACKET = 93
|
||||
KeyCode_Impl_.CARET = 94
|
||||
KeyCode_Impl_.UNDERSCORE = 95
|
||||
KeyCode_Impl_.GRAVE = 96
|
||||
KeyCode_Impl_.A = 97
|
||||
KeyCode_Impl_.B = 98
|
||||
KeyCode_Impl_.C = 99
|
||||
KeyCode_Impl_.D = 100
|
||||
KeyCode_Impl_.E = 101
|
||||
KeyCode_Impl_.F = 102
|
||||
KeyCode_Impl_.G = 103
|
||||
KeyCode_Impl_.H = 104
|
||||
KeyCode_Impl_.I = 105
|
||||
KeyCode_Impl_.J = 106
|
||||
KeyCode_Impl_.K = 107
|
||||
KeyCode_Impl_.L = 108
|
||||
KeyCode_Impl_.M = 109
|
||||
KeyCode_Impl_.N = 110
|
||||
KeyCode_Impl_.O = 111
|
||||
KeyCode_Impl_.P = 112
|
||||
KeyCode_Impl_.Q = 113
|
||||
KeyCode_Impl_.R = 114
|
||||
KeyCode_Impl_.S = 115
|
||||
KeyCode_Impl_.T = 116
|
||||
KeyCode_Impl_.U = 117
|
||||
KeyCode_Impl_.V = 118
|
||||
KeyCode_Impl_.W = 119
|
||||
KeyCode_Impl_.X = 120
|
||||
KeyCode_Impl_.Y = 121
|
||||
KeyCode_Impl_.Z = 122
|
||||
KeyCode_Impl_.DELETE = 127
|
||||
KeyCode_Impl_.CAPS_LOCK = 1073741881
|
||||
KeyCode_Impl_.F1 = 1073741882
|
||||
KeyCode_Impl_.F2 = 1073741883
|
||||
KeyCode_Impl_.F3 = 1073741884
|
||||
KeyCode_Impl_.F4 = 1073741885
|
||||
KeyCode_Impl_.F5 = 1073741886
|
||||
KeyCode_Impl_.F6 = 1073741887
|
||||
KeyCode_Impl_.F7 = 1073741888
|
||||
KeyCode_Impl_.F8 = 1073741889
|
||||
KeyCode_Impl_.F9 = 1073741890
|
||||
KeyCode_Impl_.F10 = 1073741891
|
||||
KeyCode_Impl_.F11 = 1073741892
|
||||
KeyCode_Impl_.F12 = 1073741893
|
||||
KeyCode_Impl_.PRINT_SCREEN = 1073741894
|
||||
KeyCode_Impl_.SCROLL_LOCK = 1073741895
|
||||
KeyCode_Impl_.PAUSE = 1073741896
|
||||
KeyCode_Impl_.INSERT = 1073741897
|
||||
KeyCode_Impl_.HOME = 1073741898
|
||||
KeyCode_Impl_.PAGE_UP = 1073741899
|
||||
KeyCode_Impl_.END = 1073741901
|
||||
KeyCode_Impl_.PAGE_DOWN = 1073741902
|
||||
KeyCode_Impl_.RIGHT = 1073741903
|
||||
KeyCode_Impl_.LEFT = 1073741904
|
||||
KeyCode_Impl_.DOWN = 1073741905
|
||||
KeyCode_Impl_.UP = 1073741906
|
||||
KeyCode_Impl_.NUM_LOCK = 1073741907
|
||||
KeyCode_Impl_.NUMPAD_DIVIDE = 1073741908
|
||||
KeyCode_Impl_.NUMPAD_MULTIPLY = 1073741909
|
||||
KeyCode_Impl_.NUMPAD_MINUS = 1073741910
|
||||
KeyCode_Impl_.NUMPAD_PLUS = 1073741911
|
||||
KeyCode_Impl_.NUMPAD_ENTER = 1073741912
|
||||
KeyCode_Impl_.NUMPAD_1 = 1073741913
|
||||
KeyCode_Impl_.NUMPAD_2 = 1073741914
|
||||
KeyCode_Impl_.NUMPAD_3 = 1073741915
|
||||
KeyCode_Impl_.NUMPAD_4 = 1073741916
|
||||
KeyCode_Impl_.NUMPAD_5 = 1073741917
|
||||
KeyCode_Impl_.NUMPAD_6 = 1073741918
|
||||
KeyCode_Impl_.NUMPAD_7 = 1073741919
|
||||
KeyCode_Impl_.NUMPAD_8 = 1073741920
|
||||
KeyCode_Impl_.NUMPAD_9 = 1073741921
|
||||
KeyCode_Impl_.NUMPAD_0 = 1073741922
|
||||
KeyCode_Impl_.NUMPAD_PERIOD = 1073741923
|
||||
KeyCode_Impl_.APPLICATION = 1073741925
|
||||
KeyCode_Impl_.POWER = 1073741926
|
||||
KeyCode_Impl_.NUMPAD_EQUALS = 1073741927
|
||||
KeyCode_Impl_.F13 = 1073741928
|
||||
KeyCode_Impl_.F14 = 1073741929
|
||||
KeyCode_Impl_.F15 = 1073741930
|
||||
KeyCode_Impl_.F16 = 1073741931
|
||||
KeyCode_Impl_.F17 = 1073741932
|
||||
KeyCode_Impl_.F18 = 1073741933
|
||||
KeyCode_Impl_.F19 = 1073741934
|
||||
KeyCode_Impl_.F20 = 1073741935
|
||||
KeyCode_Impl_.F21 = 1073741936
|
||||
KeyCode_Impl_.F22 = 1073741937
|
||||
KeyCode_Impl_.F23 = 1073741938
|
||||
KeyCode_Impl_.F24 = 1073741939
|
||||
KeyCode_Impl_.EXECUTE = 1073741940
|
||||
KeyCode_Impl_.HELP = 1073741941
|
||||
KeyCode_Impl_.MENU = 1073741942
|
||||
KeyCode_Impl_.SELECT = 1073741943
|
||||
KeyCode_Impl_.STOP = 1073741944
|
||||
KeyCode_Impl_.AGAIN = 1073741945
|
||||
KeyCode_Impl_.UNDO = 1073741946
|
||||
KeyCode_Impl_.CUT = 1073741947
|
||||
KeyCode_Impl_.COPY = 1073741948
|
||||
KeyCode_Impl_.PASTE = 1073741949
|
||||
KeyCode_Impl_.FIND = 1073741950
|
||||
KeyCode_Impl_.MUTE = 1073741951
|
||||
KeyCode_Impl_.VOLUME_UP = 1073741952
|
||||
KeyCode_Impl_.VOLUME_DOWN = 1073741953
|
||||
KeyCode_Impl_.NUMPAD_COMMA = 1073741957
|
||||
KeyCode_Impl_.ALT_ERASE = 1073741977
|
||||
KeyCode_Impl_.SYSTEM_REQUEST = 1073741978
|
||||
KeyCode_Impl_.CANCEL = 1073741979
|
||||
KeyCode_Impl_.CLEAR = 1073741980
|
||||
KeyCode_Impl_.PRIOR = 1073741981
|
||||
KeyCode_Impl_.RETURN2 = 1073741982
|
||||
KeyCode_Impl_.SEPARATOR = 1073741983
|
||||
KeyCode_Impl_.OUT = 1073741984
|
||||
KeyCode_Impl_.OPER = 1073741985
|
||||
KeyCode_Impl_.CLEAR_AGAIN = 1073741986
|
||||
KeyCode_Impl_.CRSEL = 1073741987
|
||||
KeyCode_Impl_.EXSEL = 1073741988
|
||||
KeyCode_Impl_.NUMPAD_00 = 1073742000
|
||||
KeyCode_Impl_.NUMPAD_000 = 1073742001
|
||||
KeyCode_Impl_.THOUSAND_SEPARATOR = 1073742002
|
||||
KeyCode_Impl_.DECIMAL_SEPARATOR = 1073742003
|
||||
KeyCode_Impl_.CURRENCY_UNIT = 1073742004
|
||||
KeyCode_Impl_.CURRENCY_SUBUNIT = 1073742005
|
||||
KeyCode_Impl_.NUMPAD_LEFT_PARENTHESIS = 1073742006
|
||||
KeyCode_Impl_.NUMPAD_RIGHT_PARENTHESIS = 1073742007
|
||||
KeyCode_Impl_.NUMPAD_LEFT_BRACE = 1073742008
|
||||
KeyCode_Impl_.NUMPAD_RIGHT_BRACE = 1073742009
|
||||
KeyCode_Impl_.NUMPAD_TAB = 1073742010
|
||||
KeyCode_Impl_.NUMPAD_BACKSPACE = 1073742011
|
||||
KeyCode_Impl_.NUMPAD_A = 1073742012
|
||||
KeyCode_Impl_.NUMPAD_B = 1073742013
|
||||
KeyCode_Impl_.NUMPAD_C = 1073742014
|
||||
KeyCode_Impl_.NUMPAD_D = 1073742015
|
||||
KeyCode_Impl_.NUMPAD_E = 1073742016
|
||||
KeyCode_Impl_.NUMPAD_F = 1073742017
|
||||
KeyCode_Impl_.NUMPAD_XOR = 1073742018
|
||||
KeyCode_Impl_.NUMPAD_POWER = 1073742019
|
||||
KeyCode_Impl_.NUMPAD_PERCENT = 1073742020
|
||||
KeyCode_Impl_.NUMPAD_LESS_THAN = 1073742021
|
||||
KeyCode_Impl_.NUMPAD_GREATER_THAN = 1073742022
|
||||
KeyCode_Impl_.NUMPAD_AMPERSAND = 1073742023
|
||||
KeyCode_Impl_.NUMPAD_DOUBLE_AMPERSAND = 1073742024
|
||||
KeyCode_Impl_.NUMPAD_VERTICAL_BAR = 1073742025
|
||||
KeyCode_Impl_.NUMPAD_DOUBLE_VERTICAL_BAR = 1073742026
|
||||
KeyCode_Impl_.NUMPAD_COLON = 1073742027
|
||||
KeyCode_Impl_.NUMPAD_HASH = 1073742028
|
||||
KeyCode_Impl_.NUMPAD_SPACE = 1073742029
|
||||
KeyCode_Impl_.NUMPAD_AT = 1073742030
|
||||
KeyCode_Impl_.NUMPAD_EXCLAMATION = 1073742031
|
||||
KeyCode_Impl_.NUMPAD_MEM_STORE = 1073742032
|
||||
KeyCode_Impl_.NUMPAD_MEM_RECALL = 1073742033
|
||||
KeyCode_Impl_.NUMPAD_MEM_CLEAR = 1073742034
|
||||
KeyCode_Impl_.NUMPAD_MEM_ADD = 1073742035
|
||||
KeyCode_Impl_.NUMPAD_MEM_SUBTRACT = 1073742036
|
||||
KeyCode_Impl_.NUMPAD_MEM_MULTIPLY = 1073742037
|
||||
KeyCode_Impl_.NUMPAD_MEM_DIVIDE = 1073742038
|
||||
KeyCode_Impl_.NUMPAD_PLUS_MINUS = 1073742039
|
||||
KeyCode_Impl_.NUMPAD_CLEAR = 1073742040
|
||||
KeyCode_Impl_.NUMPAD_CLEAR_ENTRY = 1073742041
|
||||
KeyCode_Impl_.NUMPAD_BINARY = 1073742042
|
||||
KeyCode_Impl_.NUMPAD_OCTAL = 1073742043
|
||||
KeyCode_Impl_.NUMPAD_DECIMAL = 1073742044
|
||||
KeyCode_Impl_.NUMPAD_HEXADECIMAL = 1073742045
|
||||
KeyCode_Impl_.LEFT_CTRL = 1073742048
|
||||
KeyCode_Impl_.LEFT_SHIFT = 1073742049
|
||||
KeyCode_Impl_.LEFT_ALT = 1073742050
|
||||
KeyCode_Impl_.LEFT_META = 1073742051
|
||||
KeyCode_Impl_.RIGHT_CTRL = 1073742052
|
||||
KeyCode_Impl_.RIGHT_SHIFT = 1073742053
|
||||
KeyCode_Impl_.RIGHT_ALT = 1073742054
|
||||
KeyCode_Impl_.RIGHT_META = 1073742055
|
||||
KeyCode_Impl_.MODE = 1073742081
|
||||
KeyCode_Impl_.AUDIO_NEXT = 1073742082
|
||||
KeyCode_Impl_.AUDIO_PREVIOUS = 1073742083
|
||||
KeyCode_Impl_.AUDIO_STOP = 1073742084
|
||||
KeyCode_Impl_.AUDIO_PLAY = 1073742085
|
||||
KeyCode_Impl_.AUDIO_MUTE = 1073742086
|
||||
KeyCode_Impl_.MEDIA_SELECT = 1073742087
|
||||
KeyCode_Impl_.WWW = 1073742088
|
||||
KeyCode_Impl_.MAIL = 1073742089
|
||||
KeyCode_Impl_.CALCULATOR = 1073742090
|
||||
KeyCode_Impl_.COMPUTER = 1073742091
|
||||
KeyCode_Impl_.APP_CONTROL_SEARCH = 1073742092
|
||||
KeyCode_Impl_.APP_CONTROL_HOME = 1073742093
|
||||
KeyCode_Impl_.APP_CONTROL_BACK = 1073742094
|
||||
KeyCode_Impl_.APP_CONTROL_FORWARD = 1073742095
|
||||
KeyCode_Impl_.APP_CONTROL_STOP = 1073742096
|
||||
KeyCode_Impl_.APP_CONTROL_REFRESH = 1073742097
|
||||
KeyCode_Impl_.APP_CONTROL_BOOKMARKS = 1073742098
|
||||
KeyCode_Impl_.BRIGHTNESS_DOWN = 1073742099
|
||||
KeyCode_Impl_.BRIGHTNESS_UP = 1073742100
|
||||
KeyCode_Impl_.DISPLAY_SWITCH = 1073742101
|
||||
KeyCode_Impl_.BACKLIGHT_TOGGLE = 1073742102
|
||||
KeyCode_Impl_.BACKLIGHT_DOWN = 1073742103
|
||||
KeyCode_Impl_.BACKLIGHT_UP = 1073742104
|
||||
KeyCode_Impl_.EJECT = 1073742105
|
||||
KeyCode_Impl_.SLEEP = 1073742106
|
||||
|
||||
// Export
|
||||
|
||||
exports.default = KeyCode_Impl_;
|
||||
140
hGameTest/node_modules/openfl/lib/_gen/lime/ui/_KeyModifier/KeyModifier_Impl_.js
generated
vendored
Normal file
140
hGameTest/node_modules/openfl/lib/_gen/lime/ui/_KeyModifier/KeyModifier_Impl_.js
generated
vendored
Normal file
@@ -0,0 +1,140 @@
|
||||
// Class: lime.ui._KeyModifier.KeyModifier_Impl_
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var __map_reserved = {};
|
||||
|
||||
// Imports
|
||||
|
||||
var $hxClasses = require("./../../../hxClasses_stub").default;
|
||||
|
||||
// Constructor
|
||||
|
||||
var KeyModifier_Impl_ = function(){}
|
||||
|
||||
// Meta
|
||||
|
||||
KeyModifier_Impl_.__name__ = ["lime","ui","_KeyModifier","KeyModifier_Impl_"];
|
||||
KeyModifier_Impl_.prototype = {
|
||||
|
||||
};
|
||||
KeyModifier_Impl_.prototype.__class__ = $hxClasses["lime.ui._KeyModifier.KeyModifier_Impl_"] = KeyModifier_Impl_;
|
||||
|
||||
// Init
|
||||
|
||||
|
||||
|
||||
// Statics
|
||||
|
||||
KeyModifier_Impl_.get_altKey = function(this1) {
|
||||
if((this1 & 256) <= 0) {
|
||||
return (this1 & 512) > 0;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
KeyModifier_Impl_.set_altKey = function(this1,value) {
|
||||
if(value) {
|
||||
this1 |= 768;
|
||||
} else {
|
||||
this1 &= 268435455 - 768;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
KeyModifier_Impl_.get_capsLock = function(this1) {
|
||||
if((this1 & 8192) <= 0) {
|
||||
return (this1 & 8192) > 0;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
KeyModifier_Impl_.set_capsLock = function(this1,value) {
|
||||
if(value) {
|
||||
this1 |= 8192;
|
||||
} else {
|
||||
this1 &= 268435455 - 8192;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
KeyModifier_Impl_.get_ctrlKey = function(this1) {
|
||||
if((this1 & 64) <= 0) {
|
||||
return (this1 & 128) > 0;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
KeyModifier_Impl_.set_ctrlKey = function(this1,value) {
|
||||
if(value) {
|
||||
this1 |= 192;
|
||||
} else {
|
||||
this1 &= 268435455 - 192;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
KeyModifier_Impl_.get_metaKey = function(this1) {
|
||||
if((this1 & 1024) <= 0) {
|
||||
return (this1 & 2048) > 0;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
KeyModifier_Impl_.set_metaKey = function(this1,value) {
|
||||
if(value) {
|
||||
this1 |= 3072;
|
||||
} else {
|
||||
this1 &= 268435455 - 3072;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
KeyModifier_Impl_.get_numLock = function(this1) {
|
||||
if((this1 & 4096) <= 0) {
|
||||
return (this1 & 4096) > 0;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
KeyModifier_Impl_.set_numLock = function(this1,value) {
|
||||
if(value) {
|
||||
this1 |= 4096;
|
||||
} else {
|
||||
this1 &= 268435455 - 4096;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
KeyModifier_Impl_.get_shiftKey = function(this1) {
|
||||
if((this1 & 1) <= 0) {
|
||||
return (this1 & 2) > 0;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
KeyModifier_Impl_.set_shiftKey = function(this1,value) {
|
||||
if(value) {
|
||||
this1 |= 3;
|
||||
} else {
|
||||
this1 &= 268435455 - 3;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
KeyModifier_Impl_.NONE = 0
|
||||
KeyModifier_Impl_.LEFT_SHIFT = 1
|
||||
KeyModifier_Impl_.RIGHT_SHIFT = 2
|
||||
KeyModifier_Impl_.LEFT_CTRL = 64
|
||||
KeyModifier_Impl_.RIGHT_CTRL = 128
|
||||
KeyModifier_Impl_.LEFT_ALT = 256
|
||||
KeyModifier_Impl_.RIGHT_ALT = 512
|
||||
KeyModifier_Impl_.LEFT_META = 1024
|
||||
KeyModifier_Impl_.RIGHT_META = 2048
|
||||
KeyModifier_Impl_.NUM_LOCK = 4096
|
||||
KeyModifier_Impl_.CAPS_LOCK = 8192
|
||||
KeyModifier_Impl_.MODE = 16384
|
||||
KeyModifier_Impl_.CTRL = 192
|
||||
KeyModifier_Impl_.SHIFT = 3
|
||||
KeyModifier_Impl_.ALT = 768
|
||||
KeyModifier_Impl_.META = 3072
|
||||
|
||||
// Export
|
||||
|
||||
exports.default = KeyModifier_Impl_;
|
||||
275
hGameTest/node_modules/openfl/lib/_gen/lime/ui/_ScanCode/ScanCode_Impl_.js
generated
vendored
Normal file
275
hGameTest/node_modules/openfl/lib/_gen/lime/ui/_ScanCode/ScanCode_Impl_.js
generated
vendored
Normal file
@@ -0,0 +1,275 @@
|
||||
// Class: lime.ui._ScanCode.ScanCode_Impl_
|
||||
|
||||
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
|
||||
|
||||
$global.Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var __map_reserved = {};
|
||||
|
||||
// Imports
|
||||
|
||||
var $hxClasses = require("./../../../hxClasses_stub").default;
|
||||
var $import = require("./../../../import_stub").default;
|
||||
function lime_ui__$KeyCode_KeyCode_$Impl_$() {return require("./../../../lime/ui/_KeyCode/KeyCode_Impl_");}
|
||||
|
||||
// Constructor
|
||||
|
||||
var ScanCode_Impl_ = function(){}
|
||||
|
||||
// Meta
|
||||
|
||||
ScanCode_Impl_.__name__ = ["lime","ui","_ScanCode","ScanCode_Impl_"];
|
||||
ScanCode_Impl_.prototype = {
|
||||
|
||||
};
|
||||
ScanCode_Impl_.prototype.__class__ = $hxClasses["lime.ui._ScanCode.ScanCode_Impl_"] = ScanCode_Impl_;
|
||||
|
||||
// Init
|
||||
|
||||
|
||||
|
||||
// Statics
|
||||
|
||||
ScanCode_Impl_.fromKeyCode = function(keyCode) {
|
||||
return (lime_ui__$KeyCode_KeyCode_$Impl_$().default).toScanCode(keyCode);
|
||||
}
|
||||
ScanCode_Impl_.toKeyCode = function(scanCode) {
|
||||
return (lime_ui__$KeyCode_KeyCode_$Impl_$().default).fromScanCode(scanCode);
|
||||
}
|
||||
ScanCode_Impl_.gt = function(a,b) {
|
||||
return a > b;
|
||||
}
|
||||
ScanCode_Impl_.gte = function(a,b) {
|
||||
return a >= b;
|
||||
}
|
||||
ScanCode_Impl_.lt = function(a,b) {
|
||||
return a < b;
|
||||
}
|
||||
ScanCode_Impl_.lte = function(a,b) {
|
||||
return a <= b;
|
||||
}
|
||||
ScanCode_Impl_.plus = function(a,b) {
|
||||
return a + b;
|
||||
}
|
||||
ScanCode_Impl_.UNKNOWN = 0
|
||||
ScanCode_Impl_.BACKSPACE = 42
|
||||
ScanCode_Impl_.TAB = 43
|
||||
ScanCode_Impl_.RETURN = 40
|
||||
ScanCode_Impl_.ESCAPE = 41
|
||||
ScanCode_Impl_.SPACE = 44
|
||||
ScanCode_Impl_.SINGLE_QUOTE = 52
|
||||
ScanCode_Impl_.COMMA = 54
|
||||
ScanCode_Impl_.MINUS = 45
|
||||
ScanCode_Impl_.PERIOD = 55
|
||||
ScanCode_Impl_.SLASH = 56
|
||||
ScanCode_Impl_.NUMBER_0 = 39
|
||||
ScanCode_Impl_.NUMBER_1 = 30
|
||||
ScanCode_Impl_.NUMBER_2 = 31
|
||||
ScanCode_Impl_.NUMBER_3 = 32
|
||||
ScanCode_Impl_.NUMBER_4 = 33
|
||||
ScanCode_Impl_.NUMBER_5 = 34
|
||||
ScanCode_Impl_.NUMBER_6 = 35
|
||||
ScanCode_Impl_.NUMBER_7 = 36
|
||||
ScanCode_Impl_.NUMBER_8 = 37
|
||||
ScanCode_Impl_.NUMBER_9 = 38
|
||||
ScanCode_Impl_.SEMICOLON = 51
|
||||
ScanCode_Impl_.EQUALS = 46
|
||||
ScanCode_Impl_.LEFT_BRACKET = 47
|
||||
ScanCode_Impl_.BACKSLASH = 49
|
||||
ScanCode_Impl_.RIGHT_BRACKET = 48
|
||||
ScanCode_Impl_.GRAVE = 53
|
||||
ScanCode_Impl_.A = 4
|
||||
ScanCode_Impl_.B = 5
|
||||
ScanCode_Impl_.C = 6
|
||||
ScanCode_Impl_.D = 7
|
||||
ScanCode_Impl_.E = 8
|
||||
ScanCode_Impl_.F = 9
|
||||
ScanCode_Impl_.G = 10
|
||||
ScanCode_Impl_.H = 11
|
||||
ScanCode_Impl_.I = 12
|
||||
ScanCode_Impl_.J = 13
|
||||
ScanCode_Impl_.K = 14
|
||||
ScanCode_Impl_.L = 15
|
||||
ScanCode_Impl_.M = 16
|
||||
ScanCode_Impl_.N = 17
|
||||
ScanCode_Impl_.O = 18
|
||||
ScanCode_Impl_.P = 19
|
||||
ScanCode_Impl_.Q = 20
|
||||
ScanCode_Impl_.R = 21
|
||||
ScanCode_Impl_.S = 22
|
||||
ScanCode_Impl_.T = 23
|
||||
ScanCode_Impl_.U = 24
|
||||
ScanCode_Impl_.V = 25
|
||||
ScanCode_Impl_.W = 26
|
||||
ScanCode_Impl_.X = 27
|
||||
ScanCode_Impl_.Y = 28
|
||||
ScanCode_Impl_.Z = 29
|
||||
ScanCode_Impl_.DELETE = 76
|
||||
ScanCode_Impl_.CAPS_LOCK = 57
|
||||
ScanCode_Impl_.F1 = 58
|
||||
ScanCode_Impl_.F2 = 59
|
||||
ScanCode_Impl_.F3 = 60
|
||||
ScanCode_Impl_.F4 = 61
|
||||
ScanCode_Impl_.F5 = 62
|
||||
ScanCode_Impl_.F6 = 63
|
||||
ScanCode_Impl_.F7 = 64
|
||||
ScanCode_Impl_.F8 = 65
|
||||
ScanCode_Impl_.F9 = 66
|
||||
ScanCode_Impl_.F10 = 67
|
||||
ScanCode_Impl_.F11 = 68
|
||||
ScanCode_Impl_.F12 = 69
|
||||
ScanCode_Impl_.PRINT_SCREEN = 70
|
||||
ScanCode_Impl_.SCROLL_LOCK = 71
|
||||
ScanCode_Impl_.PAUSE = 72
|
||||
ScanCode_Impl_.INSERT = 73
|
||||
ScanCode_Impl_.HOME = 74
|
||||
ScanCode_Impl_.PAGE_UP = 75
|
||||
ScanCode_Impl_.END = 77
|
||||
ScanCode_Impl_.PAGE_DOWN = 78
|
||||
ScanCode_Impl_.RIGHT = 79
|
||||
ScanCode_Impl_.LEFT = 80
|
||||
ScanCode_Impl_.DOWN = 81
|
||||
ScanCode_Impl_.UP = 82
|
||||
ScanCode_Impl_.NUM_LOCK = 83
|
||||
ScanCode_Impl_.NUMPAD_DIVIDE = 84
|
||||
ScanCode_Impl_.NUMPAD_MULTIPLY = 85
|
||||
ScanCode_Impl_.NUMPAD_MINUS = 86
|
||||
ScanCode_Impl_.NUMPAD_PLUS = 87
|
||||
ScanCode_Impl_.NUMPAD_ENTER = 88
|
||||
ScanCode_Impl_.NUMPAD_1 = 89
|
||||
ScanCode_Impl_.NUMPAD_2 = 90
|
||||
ScanCode_Impl_.NUMPAD_3 = 91
|
||||
ScanCode_Impl_.NUMPAD_4 = 92
|
||||
ScanCode_Impl_.NUMPAD_5 = 93
|
||||
ScanCode_Impl_.NUMPAD_6 = 94
|
||||
ScanCode_Impl_.NUMPAD_7 = 95
|
||||
ScanCode_Impl_.NUMPAD_8 = 96
|
||||
ScanCode_Impl_.NUMPAD_9 = 97
|
||||
ScanCode_Impl_.NUMPAD_0 = 98
|
||||
ScanCode_Impl_.NUMPAD_PERIOD = 99
|
||||
ScanCode_Impl_.APPLICATION = 101
|
||||
ScanCode_Impl_.POWER = 102
|
||||
ScanCode_Impl_.NUMPAD_EQUALS = 103
|
||||
ScanCode_Impl_.F13 = 104
|
||||
ScanCode_Impl_.F14 = 105
|
||||
ScanCode_Impl_.F15 = 106
|
||||
ScanCode_Impl_.F16 = 107
|
||||
ScanCode_Impl_.F17 = 108
|
||||
ScanCode_Impl_.F18 = 109
|
||||
ScanCode_Impl_.F19 = 110
|
||||
ScanCode_Impl_.F20 = 111
|
||||
ScanCode_Impl_.F21 = 112
|
||||
ScanCode_Impl_.F22 = 113
|
||||
ScanCode_Impl_.F23 = 114
|
||||
ScanCode_Impl_.F24 = 115
|
||||
ScanCode_Impl_.EXECUTE = 116
|
||||
ScanCode_Impl_.HELP = 117
|
||||
ScanCode_Impl_.MENU = 118
|
||||
ScanCode_Impl_.SELECT = 119
|
||||
ScanCode_Impl_.STOP = 120
|
||||
ScanCode_Impl_.AGAIN = 121
|
||||
ScanCode_Impl_.UNDO = 122
|
||||
ScanCode_Impl_.CUT = 123
|
||||
ScanCode_Impl_.COPY = 124
|
||||
ScanCode_Impl_.PASTE = 125
|
||||
ScanCode_Impl_.FIND = 126
|
||||
ScanCode_Impl_.MUTE = 127
|
||||
ScanCode_Impl_.VOLUME_UP = 128
|
||||
ScanCode_Impl_.VOLUME_DOWN = 129
|
||||
ScanCode_Impl_.NUMPAD_COMMA = 133
|
||||
ScanCode_Impl_.ALT_ERASE = 153
|
||||
ScanCode_Impl_.SYSTEM_REQUEST = 154
|
||||
ScanCode_Impl_.CANCEL = 155
|
||||
ScanCode_Impl_.CLEAR = 156
|
||||
ScanCode_Impl_.PRIOR = 157
|
||||
ScanCode_Impl_.RETURN2 = 158
|
||||
ScanCode_Impl_.SEPARATOR = 159
|
||||
ScanCode_Impl_.OUT = 160
|
||||
ScanCode_Impl_.OPER = 161
|
||||
ScanCode_Impl_.CLEAR_AGAIN = 162
|
||||
ScanCode_Impl_.CRSEL = 163
|
||||
ScanCode_Impl_.EXSEL = 164
|
||||
ScanCode_Impl_.NUMPAD_00 = 176
|
||||
ScanCode_Impl_.NUMPAD_000 = 177
|
||||
ScanCode_Impl_.THOUSAND_SEPARATOR = 178
|
||||
ScanCode_Impl_.DECIMAL_SEPARATOR = 179
|
||||
ScanCode_Impl_.CURRENCY_UNIT = 180
|
||||
ScanCode_Impl_.CURRENCY_SUBUNIT = 181
|
||||
ScanCode_Impl_.NUMPAD_LEFT_PARENTHESIS = 182
|
||||
ScanCode_Impl_.NUMPAD_RIGHT_PARENTHESIS = 183
|
||||
ScanCode_Impl_.NUMPAD_LEFT_BRACE = 184
|
||||
ScanCode_Impl_.NUMPAD_RIGHT_BRACE = 185
|
||||
ScanCode_Impl_.NUMPAD_TAB = 186
|
||||
ScanCode_Impl_.NUMPAD_BACKSPACE = 187
|
||||
ScanCode_Impl_.NUMPAD_A = 188
|
||||
ScanCode_Impl_.NUMPAD_B = 189
|
||||
ScanCode_Impl_.NUMPAD_C = 190
|
||||
ScanCode_Impl_.NUMPAD_D = 191
|
||||
ScanCode_Impl_.NUMPAD_E = 192
|
||||
ScanCode_Impl_.NUMPAD_F = 193
|
||||
ScanCode_Impl_.NUMPAD_XOR = 194
|
||||
ScanCode_Impl_.NUMPAD_POWER = 195
|
||||
ScanCode_Impl_.NUMPAD_PERCENT = 196
|
||||
ScanCode_Impl_.NUMPAD_LESS_THAN = 197
|
||||
ScanCode_Impl_.NUMPAD_GREATER_THAN = 198
|
||||
ScanCode_Impl_.NUMPAD_AMPERSAND = 199
|
||||
ScanCode_Impl_.NUMPAD_DOUBLE_AMPERSAND = 200
|
||||
ScanCode_Impl_.NUMPAD_VERTICAL_BAR = 201
|
||||
ScanCode_Impl_.NUMPAD_DOUBLE_VERTICAL_BAR = 202
|
||||
ScanCode_Impl_.NUMPAD_COLON = 203
|
||||
ScanCode_Impl_.NUMPAD_HASH = 204
|
||||
ScanCode_Impl_.NUMPAD_SPACE = 205
|
||||
ScanCode_Impl_.NUMPAD_AT = 206
|
||||
ScanCode_Impl_.NUMPAD_EXCLAMATION = 207
|
||||
ScanCode_Impl_.NUMPAD_MEM_STORE = 208
|
||||
ScanCode_Impl_.NUMPAD_MEM_RECALL = 209
|
||||
ScanCode_Impl_.NUMPAD_MEM_CLEAR = 210
|
||||
ScanCode_Impl_.NUMPAD_MEM_ADD = 211
|
||||
ScanCode_Impl_.NUMPAD_MEM_SUBTRACT = 212
|
||||
ScanCode_Impl_.NUMPAD_MEM_MULTIPLY = 213
|
||||
ScanCode_Impl_.NUMPAD_MEM_DIVIDE = 214
|
||||
ScanCode_Impl_.NUMPAD_PLUS_MINUS = 215
|
||||
ScanCode_Impl_.NUMPAD_CLEAR = 216
|
||||
ScanCode_Impl_.NUMPAD_CLEAR_ENTRY = 217
|
||||
ScanCode_Impl_.NUMPAD_BINARY = 218
|
||||
ScanCode_Impl_.NUMPAD_OCTAL = 219
|
||||
ScanCode_Impl_.NUMPAD_DECIMAL = 220
|
||||
ScanCode_Impl_.NUMPAD_HEXADECIMAL = 221
|
||||
ScanCode_Impl_.LEFT_CTRL = 224
|
||||
ScanCode_Impl_.LEFT_SHIFT = 225
|
||||
ScanCode_Impl_.LEFT_ALT = 226
|
||||
ScanCode_Impl_.LEFT_META = 227
|
||||
ScanCode_Impl_.RIGHT_CTRL = 228
|
||||
ScanCode_Impl_.RIGHT_SHIFT = 229
|
||||
ScanCode_Impl_.RIGHT_ALT = 230
|
||||
ScanCode_Impl_.RIGHT_META = 231
|
||||
ScanCode_Impl_.MODE = 257
|
||||
ScanCode_Impl_.AUDIO_NEXT = 258
|
||||
ScanCode_Impl_.AUDIO_PREVIOUS = 259
|
||||
ScanCode_Impl_.AUDIO_STOP = 260
|
||||
ScanCode_Impl_.AUDIO_PLAY = 261
|
||||
ScanCode_Impl_.AUDIO_MUTE = 262
|
||||
ScanCode_Impl_.MEDIA_SELECT = 263
|
||||
ScanCode_Impl_.WWW = 264
|
||||
ScanCode_Impl_.MAIL = 265
|
||||
ScanCode_Impl_.CALCULATOR = 266
|
||||
ScanCode_Impl_.COMPUTER = 267
|
||||
ScanCode_Impl_.APP_CONTROL_SEARCH = 268
|
||||
ScanCode_Impl_.APP_CONTROL_HOME = 269
|
||||
ScanCode_Impl_.APP_CONTROL_BACK = 270
|
||||
ScanCode_Impl_.APP_CONTROL_FORWARD = 271
|
||||
ScanCode_Impl_.APP_CONTROL_STOP = 272
|
||||
ScanCode_Impl_.APP_CONTROL_REFRESH = 273
|
||||
ScanCode_Impl_.APP_CONTROL_BOOKMARKS = 274
|
||||
ScanCode_Impl_.BRIGHTNESS_DOWN = 275
|
||||
ScanCode_Impl_.BRIGHTNESS_UP = 276
|
||||
ScanCode_Impl_.DISPLAY_SWITCH = 277
|
||||
ScanCode_Impl_.BACKLIGHT_TOGGLE = 278
|
||||
ScanCode_Impl_.BACKLIGHT_DOWN = 279
|
||||
ScanCode_Impl_.BACKLIGHT_UP = 280
|
||||
ScanCode_Impl_.EJECT = 281
|
||||
ScanCode_Impl_.SLEEP = 282
|
||||
|
||||
// Export
|
||||
|
||||
exports.default = ScanCode_Impl_;
|
||||
Reference in New Issue
Block a user