- Going to look into the touch sensor input on the NXP FRDM boards
Re: Going to look into the touch sensor input on the NXP FRDM boards
toggle quoted messageShow quoted text
In this case, it *is* quite NXP/FRDM specific. However, in general, i think it would fit well in the sensor enums to support XYZ location in addition to XYZ acceleration and change in orientation (gyro), which are there.
I only played with the idea to integrate a touch controller but had no time yet to start on it.
On the location of the driver I have the feeling that a new, input device, API would be more suitable then reusing the sensor framework.
On Wed, Aug 1, 2018 at 5:22 PM Lars Knudsen <larsgk@...
I am planning to do support for the TSI on the Freescale/NXP FRDM boards and was wondering if work already has been done in the area.
Did anyone do anything in the area? If not, I'd like to do it as a sensor driver, but have a few questions:
1. as this is driven by the mcu and the implementation is very specific to the board(s), will it still fit under /drivers/sensor ?
2. mapping the 1D 'distance'/position on the touch slider to a sensor channel, the closest is SENSOR_CHAN_DISTANCE, which (by comment) fits a different purpose. Might it make sense to introduce XYZ enums for position/distance here:
Join firstname.lastname@example.org to automatically receive all group messages.