Changes in uspace/srv/hid/input/include/mouse.h [854eddd6:1875a0c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/include/mouse.h
r854eddd6 r1875a0c 40 40 #include <adt/list.h> 41 41 42 struct mouse_port_ops; 43 struct mouse_proto_ops; 44 42 45 typedef struct mouse_dev { 43 46 /** Link to mouse_devs list */ 44 47 link_t mouse_devs; 45 46 /** Path to the device */48 49 /** Path to the device (only for mouseev devices) */ 47 50 const char *dev_path; 51 52 /** Port ops */ 53 struct mouse_port_ops *port_ops; 54 55 /** Protocol ops */ 56 struct mouse_proto_ops *proto_ops; 48 57 } mouse_dev_t; 49 58 50 int mouse_add_dev(const char *dev_path); 59 extern void mouse_push_data(mouse_dev_t *, sysarg_t); 60 extern void mouse_push_event_move(mouse_dev_t *, int, int); 61 extern void mouse_push_event_button(mouse_dev_t *, int, int); 51 62 52 63 #endif
Note:
See TracChangeset
for help on using the changeset viewer.