Changeset f9b2cb4c in mainline for uspace/srv/hid/input/proto/mousedev.c
- Timestamp:
- 2015-08-23T12:50:23Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9ef495f
- Parents:
- 0dd16778
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/proto/mousedev.c
r0dd16778 rf9b2cb4c 118 118 static int mousedev_proto_init(mouse_dev_t *mdev) 119 119 { 120 async_sess_t *sess = loc_service_connect(EXCHANGE_SERIALIZE, 121 mdev->svc_id, 0); 120 async_sess_t *sess = loc_service_connect(mdev->svc_id, INTERFACE_DDF, 0); 122 121 if (sess == NULL) { 123 122 printf("%s: Failed starting session with '%s'\n", NAME, … … 143 142 } 144 143 145 int rc = async_connect_to_me(exch, 0, 0, 0, mousedev_callback_conn, mousedev); 144 port_id_t port; 145 int rc = async_create_callback_port(exch, INTERFACE_MOUSE_CB, 0, 0, 146 mousedev_callback_conn, mousedev, &port); 147 146 148 async_exchange_end(exch); 147 149 async_hangup(sess);
Note:
See TracChangeset
for help on using the changeset viewer.