onyx-intl / OnyxAndroidDemo

158 stars 41 forks source link

RawInputCallback's methods never called #74

Closed vzukanov closed 2 years ago

vzukanov commented 2 years ago

When launching the tutorial app, navigating to Scribble Demo -> Scribble Touch Helper Demo and then drawing on the screen, netiher of the RawInputCallback's methods (defined here) get invoked.

Inside the app I'm building I experience a similar problem: can't get the raw inputs from the stylus. How can I be notified of these events?

vzukanov commented 2 years ago

Just in case you'll need it, attaching the information about Max Lumi 2 device that I'm using. boox_info_1 boox_info_2

vzukanov commented 2 years ago

Also tried to update the device to latest firmware, but the raw input callbacks still don't work. This is the updated OS: image

vzukanov commented 2 years ago

I also tested PngNote app by @karino2. Found the same problem: raw input callback never called.

vzukanov commented 2 years ago

I tested the same APK on another Max Lumi 2 device and it works there as expected. So, this seems to be related to a specific device, which is really odd. Is there any configuration which controls whether raw input notifications are sent to SDK users?

onyx-chenhj commented 2 years ago

@vzukanov Hello, I guess your Max Lumi 2 version is October 27th, and there is this problem. Please upgrade the firmware (after November 17th) and try again. Thank you.

vzukanov commented 2 years ago

Can confirm that updating to firmware from Nov 18, 2021 solved this problem. In this context, I find it surprising that when I updated device's firmware two weeks ago, it did not install this version, despite the fact that its "release date" is Nov 2021. Closing this ticket.