diff options
Diffstat (limited to 'include/grail-touch.h')
| -rw-r--r-- | include/grail-touch.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/grail-touch.h b/include/grail-touch.h index 9e8572b..e4bfd7b 100644 --- a/include/grail-touch.h +++ b/include/grail-touch.h | |||
| @@ -67,7 +67,7 @@ struct touch_dev { | |||
| 67 | void (*modify)(struct touch_dev *dev, int slot, | 67 | void (*modify)(struct touch_dev *dev, int slot, |
| 68 | const touch_prop_mask_t *mask, const touch_prop_t *prop); | 68 | const touch_prop_mask_t *mask, const touch_prop_t *prop); |
| 69 | void (*destroy)(struct touch_dev *dev, int slot); | 69 | void (*destroy)(struct touch_dev *dev, int slot); |
| 70 | void (*sync)(struct touch_dev *dev, touch_time_t time); | 70 | void (*sync)(struct touch_dev *dev, const struct input_event *syn); |
| 71 | struct touch_dev_impl *impl; | 71 | struct touch_dev_impl *impl; |
| 72 | void *priv; | 72 | void *priv; |
| 73 | }; | 73 | }; |
| @@ -75,7 +75,8 @@ struct touch_dev { | |||
| 75 | struct touch_engine { | 75 | struct touch_engine { |
| 76 | void (*event)(struct touch_engine *engine, | 76 | void (*event)(struct touch_engine *engine, |
| 77 | const struct input_event *ev); | 77 | const struct input_event *ev); |
| 78 | void (*sync)(struct touch_engine *engine); | 78 | void (*sync)(struct touch_engine *engine, |
| 79 | const struct input_event *syn); | ||
| 79 | struct touch_frame frame; | 80 | struct touch_frame frame; |
| 80 | void *priv; | 81 | void *priv; |
| 81 | }; | 82 | }; |
| @@ -98,7 +99,8 @@ void touch_dev_close(struct touch_dev *dev, int fd); | |||
| 98 | void touch_engine_init(struct touch_engine *engine, | 99 | void touch_engine_init(struct touch_engine *engine, |
| 99 | void (*event)(struct touch_engine *engine, | 100 | void (*event)(struct touch_engine *engine, |
| 100 | const struct input_event *ev), | 101 | const struct input_event *ev), |
| 101 | void (*sync)(struct touch_engine *engine), | 102 | void (*sync)(struct touch_engine *engine, |
| 103 | const struct input_event *ev), | ||
| 102 | void *priv); | 104 | void *priv); |
| 103 | void touch_engine_attach(struct touch_engine *engine, struct touch_dev *dev); | 105 | void touch_engine_attach(struct touch_engine *engine, struct touch_dev *dev); |
| 104 | void touch_engine_detach(struct touch_engine *engine, struct touch_dev *dev); | 106 | void touch_engine_detach(struct touch_engine *engine, struct touch_dev *dev); |
