Changeset 3b2e387 in mainline for uspace/srv/hid/input/include/mouse.h
- Timestamp:
- 2011-06-21T19:36:05Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e3a6c45
- Parents:
- 40f606b (diff), 022d9f67 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/include/mouse.h
r40f606b r3b2e387 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.