> Could you add accelerometer options? For example, as the occlusions of the Touch object. Thank you, and your plugin is amazing!
>
I can't because it's not a feature of the Airconsole controller API, the
onDeviceMotion[/code:2ga3ie7s] event resides in the main Airconsole API, so you need to contact @Psychokiller1888 so that he implements it in his plugin.
[url=https://developers.airconsole.com/api/api-1-6-0/AirConsole-Controller_Inputs.html]https://developers.airconsole.com/api/a ... nputs.html[/url]
Coming back to you concerning onDeviceMotion which didn't tilt my brain when I first answered.... But onDeviceMotion is a controller function, not a Screen function.
Yes, I could build a bridge, but users can:
airConsole.onDeviceMotion = function (data) {
airConsole.message(AirConsole.SCREEN, {
deviceMotion: JSON.stringify(data)
}
};[/code:2ga3ie7s]