|
PebbleOS v4.43.0-153-g7e4f46eff
|
Touchscreen driver operations, called with the device lock held. More...
#include <touch.h>
Data Fields | |
| int(* | init )(const struct pbl_touch *touch) |
| Bring the hardware up, leaving it powered down. | |
| int(* | enable )(const struct pbl_touch *touch) |
| Power the touchscreen up and start reporting. | |
| int(* | disable )(const struct pbl_touch *touch) |
| Stop reporting and power the touchscreen down. | |
Touchscreen driver operations, called with the device lock held.
| int(* pbl_touch_ops::disable) (const struct pbl_touch *touch) |
Stop reporting and power the touchscreen down.
| int(* pbl_touch_ops::enable) (const struct pbl_touch *touch) |
Power the touchscreen up and start reporting.
| int(* pbl_touch_ops::init) (const struct pbl_touch *touch) |
Bring the hardware up, leaving it powered down.
Returns 0, -ENODEV if the part does not answer, or a negative errno.