grail-touch.h | grail-touch.h | |||
---|---|---|---|---|
skipping to change at line 75 | skipping to change at line 75 | |||
void (*event)(struct touch_dev *dev, const struct input_event *ev); | void (*event)(struct touch_dev *dev, const struct input_event *ev); | |||
void (*sync)(struct touch_dev *dev, const struct input_event *syn); | void (*sync)(struct touch_dev *dev, const struct input_event *syn); | |||
void *priv; | void *priv; | |||
struct mtdev mtdev; | struct mtdev mtdev; | |||
struct touch_frame frame; | struct touch_frame frame; | |||
struct touch_caps caps; | struct touch_caps caps; | |||
int slot; | int slot; | |||
int state; | int state; | |||
}; | }; | |||
int touch_caps_is_supported(struct touch_dev *dev, int fd); | ||||
void touch_caps_init(struct touch_dev *dev); | void touch_caps_init(struct touch_dev *dev); | |||
float touch_angle(const struct touch_dev *dev, int orientation); | float touch_angle(const struct touch_dev *dev, int orientation); | |||
float touch_pressure(const struct touch_dev *dev, int pressure); | float touch_pressure(const struct touch_dev *dev, int pressure); | |||
int touch_dev_open(struct touch_dev *dev, int fd); | int touch_dev_open(struct touch_dev *dev, int fd); | |||
int touch_dev_idle(struct touch_dev *dev, int fd, int ms); | int touch_dev_idle(struct touch_dev *dev, int fd, int ms); | |||
int touch_dev_pull(struct touch_dev *dev, int fd); | int touch_dev_pull(struct touch_dev *dev, int fd); | |||
void touch_dev_close(struct touch_dev *dev, int fd); | void touch_dev_close(struct touch_dev *dev, int fd); | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||