Fix address of motion event timestamp (#5171)
* Fix base address of motion event timestamp * Add myself to AUTHORS
This commit is contained in:
Родитель
5f559e26ff
Коммит
74b1040018
1
AUTHORS
1
AUTHORS
|
@ -289,3 +289,4 @@ a license to everyone to use it as detailed in LICENSE.)
|
|||
* Jean-François Geyelin <jfgeyelin@gmail.com>
|
||||
* Matthew Collins <thethinkofdeath@gmail.com>
|
||||
* Satoshi N. M <snmatsutake@yahoo.co.jp>
|
||||
* Fumiya Chiba <fumiya.chiba@nifty.com>
|
||||
|
|
|
@ -475,7 +475,7 @@ var LibraryJSEvents = {
|
|||
var handlerFunc = function(event) {
|
||||
var e = event || window.event;
|
||||
|
||||
{{{ makeSetValue('JSEvents.deviceOrientationEvent', C_STRUCTS.EmscriptenDeviceMotionEvent.timestamp, 'JSEvents.tick()', 'double') }}};
|
||||
{{{ makeSetValue('JSEvents.deviceMotionEvent', C_STRUCTS.EmscriptenDeviceMotionEvent.timestamp, 'JSEvents.tick()', 'double') }}};
|
||||
{{{ makeSetValue('JSEvents.deviceMotionEvent', C_STRUCTS.EmscriptenDeviceMotionEvent.accelerationX, 'e.acceleration.x', 'double') }}};
|
||||
{{{ makeSetValue('JSEvents.deviceMotionEvent', C_STRUCTS.EmscriptenDeviceMotionEvent.accelerationY, 'e.acceleration.y', 'double') }}};
|
||||
{{{ makeSetValue('JSEvents.deviceMotionEvent', C_STRUCTS.EmscriptenDeviceMotionEvent.accelerationZ, 'e.acceleration.z', 'double') }}};
|
||||
|
|
Загрузка…
Ссылка в новой задаче