简体   繁体   中英

Android - Is it possible to access raw capacitive input data?

Does the Android platform have a public API for accessing the raw capacitive data coming from the touch screen?

The multi-touch input points are derived from a basic two-dimensional grid of binary capacitive data from the touch screen. But is this data somehow accessible for use in an Android app?

Apparently iOS has a private API for this ( view here ), but it would surely not pass the approval process. I'm hoping Android would be more open to this usage.

Not an answer, but maybe something to look further into.

Here are the kernel sources to various touch screen drivers. From scanning them a bit it doesn't seem that the kernel gives API access to this information,

https://android.googlesource.com/kernel/common/+/android-3.4/drivers/input/touchscreen/

Some devices seem to report "raw data", eg see nexio_read_data in usbtouchscreen.c (seems oldschool IR type touch screen, not capacitive matrix)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM