Is there a place where the VoodooI2C
- assign the I2C device to be stylus or touchscreen?
- enable/disable multi contact point check?
@shiecldk Everything is decided by your particular report descriptor for each device. In terms of differentiation between a stylus and a single touch finger contact point as far a macOS is concerned, they are the same. We use a very procedural hack with the defined type (again, by your report desc) to apply some logic that makes sense for each type, meaning, with a finger we want to be able to click and drag items, and with a stylus we may want the buttons to handle the clicking while we hover etc. If a device reports pressure, tilt, barrel sensitivity, etc, we collect it but macOS has no mechanism in the public kernel API to apply those features. So even a stylus, is essentially a finger. It was done in this fashion because if you were to send the singletouch data to the multitouch stack, it would behave like a giant trackpad vs a touchscreen since there are no touchscreen Macs and we are using a faked MT2 device. Regardless, in my opinion, your first step should be to use the FingerMgmt app to check what is being reported to the multitouch stack, and then log the input data to see what your device is reporting vs worrying about what personality is being loaded.
@blankmac Thank you! Please check this debug dump:
For the Linux driver, what specify driver could I look for to help create the standalone satellite?
The Linux driver I found is in here:
It has the exact same touchscreens and touchpad as my UX582:
It looks like in order to get the stylus function well in both touchscreens, wacom driver is needed to be loaded. Would the above link be a right direction to start with? I appreciate your help.