Changeset 26e7d6d in mainline for uspace/srv/hid/input/include/mouse.h


Ignore:
Timestamp:
2011-09-19T16:31:00Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a347a11
Parents:
3842a955 (diff), 086290d (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.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/include/mouse.h

    r3842a955 r26e7d6d  
    3939
    4040#include <adt/list.h>
     41#include <ipc/loc.h>
     42
     43struct mouse_port_ops;
     44struct mouse_proto_ops;
    4145
    4246typedef struct mouse_dev {
    4347        /** Link to mouse_devs list */
    4448        link_t mouse_devs;
    45 
    46         /** Path to the device */
    47         const char *dev_path;
     49       
     50        /** Service ID (only for mousedev devices) */
     51        service_id_t svc_id;
     52       
     53        /** Device service name (only for mousedev devices) */
     54        char *svc_name;
     55       
     56        /** Port ops */
     57        struct mouse_port_ops *port_ops;
     58       
     59        /** Protocol ops */
     60        struct mouse_proto_ops *proto_ops;
    4861} mouse_dev_t;
    4962
    50 int mouse_add_dev(const char *dev_path);
     63extern void mouse_push_data(mouse_dev_t *, sysarg_t);
     64extern void mouse_push_event_move(mouse_dev_t *, int, int);
     65extern void mouse_push_event_button(mouse_dev_t *, int, int);
    5166
    5267#endif
Note: See TracChangeset for help on using the changeset viewer.