aboutsummaryrefslogtreecommitdiff
path: root/src/struct_info.json
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2014-01-22 18:59:37 +0200
committerJukka Jylänki <jujjyl@gmail.com>2014-01-22 18:59:37 +0200
commit96895e6dae8cf1314f8b4ce3fbab4e7c70ecaf4a (patch)
tree9751816cbab41bd8d9c0a62556a64eb0a90fd1c5 /src/struct_info.json
parent0b1df261d344ad53d82b8e86a17d619bc43eb3cb (diff)
Implement C-based events library for various HTML5 APIs.
Diffstat (limited to 'src/struct_info.json')
-rw-r--r--src/struct_info.json184
1 files changed, 183 insertions, 1 deletions
diff --git a/src/struct_info.json b/src/struct_info.json
index a22851b6..ec449097 100644
--- a/src/struct_info.json
+++ b/src/struct_info.json
@@ -1073,5 +1073,187 @@
"UUID_TYPE_DCE_RANDOM"
],
"structs": {}
+ },
+ // ===========================================
+ // emscripten events library
+ // ===========================================
+ {
+ "file": "emscripten/events.h",
+ "defines": [
+ "EMSCRIPTEN_EVENT_KEYPRESS",
+ "EMSCRIPTEN_EVENT_KEYDOWN",
+ "EMSCRIPTEN_EVENT_KEYUP",
+ "EMSCRIPTEN_EVENT_CLICK",
+ "EMSCRIPTEN_EVENT_MOUSEDOWN",
+ "EMSCRIPTEN_EVENT_MOUSEUP",
+ "EMSCRIPTEN_EVENT_DBLCLICK",
+ "EMSCRIPTEN_EVENT_MOUSEMOVE",
+ "EMSCRIPTEN_EVENT_WHEEL",
+ "EMSCRIPTEN_EVENT_RESIZE",
+ "EMSCRIPTEN_EVENT_SCROLL",
+ "EMSCRIPTEN_EVENT_BLUR",
+ "EMSCRIPTEN_EVENT_FOCUS",
+ "EMSCRIPTEN_EVENT_FOCUSIN",
+ "EMSCRIPTEN_EVENT_FOCUSOUT",
+ "EMSCRIPTEN_EVENT_DEVICEORIENTATION",
+ "EMSCRIPTEN_EVENT_DEVICEMOTION",
+ "EMSCRIPTEN_EVENT_ORIENTATIONCHANGE",
+ "EMSCRIPTEN_EVENT_FULLSCREENCHANGE",
+ "EMSCRIPTEN_EVENT_POINTERLOCKCHANGE",
+ "EMSCRIPTEN_EVENT_VISIBILITYCHANGE",
+ "EMSCRIPTEN_EVENT_TOUCHSTART",
+ "EMSCRIPTEN_EVENT_TOUCHEND",
+ "EMSCRIPTEN_EVENT_TOUCHMOVE",
+ "EMSCRIPTEN_EVENT_TOUCHCANCEL",
+ "EMSCRIPTEN_EVENT_GAMEPADCONNECTED",
+ "EMSCRIPTEN_EVENT_GAMEPADDISCONNECTED",
+ "EMSCRIPTEN_EVENT_BEFOREUNLOAD",
+ "EMSCRIPTEN_EVENT_BATTERYCHARGINGCHANGE",
+ "EMSCRIPTEN_EVENT_BATTERYLEVELCHANGE",
+ "EMSCRIPTEN_EVENT_WEBGLCONTEXTLOST",
+ "EMSCRIPTEN_EVENT_WEBGLCONTEXTRESTORED",
+
+ "EMSCRIPTEN_RESULT_SUCCESS",
+ "EMSCRIPTEN_RESULT_DEFERRED",
+ "EMSCRIPTEN_RESULT_FAILED_NOT_DEFERRED",
+ "EMSCRIPTEN_RESULT_INVALID_TARGET",
+ "EMSCRIPTEN_RESULT_INVALID_PARAM",
+ "EMSCRIPTEN_RESULT_NOT_SUPPORTED",
+ "EMSCRIPTEN_RESULT_FAILED",
+ "EMSCRIPTEN_RESULT_NO_DATA"
+ ],
+ "structs": {
+ "emscripten_KeyboardEvent": [
+ "key",
+ "code",
+ "location",
+ "ctrlKey",
+ "shiftKey",
+ "altKey",
+ "metaKey",
+ "repeat",
+ "locale",
+ "charValue",
+ "charCode",
+ "keyCode",
+ "which"
+ ],
+ "emscripten_MouseEvent": [
+ "timestamp",
+ "screenX",
+ "screenY",
+ "clientX",
+ "clientY",
+ "ctrlKey",
+ "shiftKey",
+ "altKey",
+ "metaKey",
+ "button",
+ "buttons",
+ "movementX",
+ "movementY",
+ "canvasX",
+ "canvasY"
+ ],
+ "emscripten_WheelEvent": [
+ "mouse",
+ "deltaX",
+ "deltaY",
+ "deltaZ",
+ "deltaMode"
+ ],
+ "emscripten_UiEvent": [
+ "detail",
+ "documentBodyClientWidth",
+ "documentBodyClientHeight",
+ "windowInnerWidth",
+ "windowInnerHeight",
+ "windowOuterWidth",
+ "windowOuterHeight",
+ "scrollTop",
+ "scrollLeft"
+ ],
+ "emscripten_FocusEvent": [
+ "nodeName",
+ "id"
+ ],
+ "emscripten_DeviceOrientationEvent": [
+ "timestamp",
+ "alpha",
+ "beta",
+ "gamma",
+ "absolute"
+ ],
+ "emscripten_DeviceMotionEvent": [
+ "timestamp",
+ "accelerationX",
+ "accelerationY",
+ "accelerationZ",
+ "accelerationIncludingGravityX",
+ "accelerationIncludingGravityY",
+ "accelerationIncludingGravityZ",
+ "rotationRateAlpha",
+ "rotationRateBeta",
+ "rotationRateGamma"
+ ],
+ "emscripten_OrientationChangeEvent": [
+ "orientationIndex",
+ "orientationAngle"
+ ],
+ "emscripten_FullscreenChangeEvent": [
+ "isFullscreen",
+ "fullscreenEnabled",
+ "nodeName",
+ "id"
+ ],
+ "emscripten_PointerlockChangeEvent": [
+ "isActive",
+ "nodeName",
+ "id"
+ ],
+ "emscripten_VisibilityChangeEvent": [
+ "hidden",
+ "visibilityState"
+ ],
+ "emscripten_TouchPoint": [
+ "identifier",
+ "screenX",
+ "screenY",
+ "clientX",
+ "clientY",
+ "pageX",
+ "pageY",
+ "isChanged",
+ "onTarget",
+ "canvasX",
+ "canvasY"
+ ],
+ "emscripten_TouchEvent": [
+ "numTouches",
+ "ctrlKey",
+ "shiftKey",
+ "altKey",
+ "metaKey",
+ "touches"
+ ],
+ "emscripten_GamepadEvent": [
+ "timestamp",
+ "axis",
+ "analogButton",
+ "digitalButton",
+ "connected",
+ "index",
+ "numAxes",
+ "numButtons",
+ "id",
+ "mapping"
+ ],
+ "emscripten_BatteryEvent": [
+ "chargingTime",
+ "dischargingTime",
+ "level",
+ "charging"
+ ]
+ }
}
-]
+ ]