Commit cc653be
committed
GiGA Touch - define a callback function forwarder.
Register a callback function to be called by the zephyr input system.
This new code is only there if it is a GIGA and
CONFIG_INPUT_GT911_INTERRUPT is defined.
This includes adding a callback function that is linked in to the
zephyr build, and export a function to call to allow us to register
our own.
Added an init variant to GIGA that if the touch interrupt is enabled,
then it will clear out the old user defined callback if any.
Signed-off-by: Kurt Eckhardt <kurte@rockisland.com>1 parent db649d0 commit cc653be
2 files changed
+28
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
43 | 66 | | |
44 | 67 | | |
45 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
137 | 140 | | |
138 | 141 | | |
139 | 142 | | |
| |||
239 | 242 | | |
240 | 243 | | |
241 | 244 | | |
242 | | - | |
| 245 | + | |
0 commit comments