The user of the ft8xx driver can register a callback function called on a touch detection interrupt event. This function is extended to include a user-defined pointer. The user-defined pointer helps to share a callback with multiple driver instances. Signed-off-by: Hubert Miś <hubert.mis@gmail.com> |
||
|---|---|---|
| .. | ||
| main.c | ||