Changeset 06f9d8fb in mainline for uspace/drv/usbhid/mouse/mousedev.c
- Timestamp:
- 2011-05-30T20:02:17Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c3dafe1
- Parents:
- be8d907 (diff), 63862a0 (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/drv/usbhid/mouse/mousedev.c
rbe8d907 r06f9d8fb 394 394 395 395 fun->ops = &mouse->ops; 396 fun->driver_data = mouse; // TODO: maybe change to hid_dev->data396 fun->driver_data = mouse; 397 397 398 398 int rc = ddf_fun_bind(fun); … … 432 432 */ 433 433 fun->ops = &mouse->ops; 434 fun->driver_data = mouse; // TODO: maybe change to hid_dev->data434 fun->driver_data = mouse; 435 435 436 436 rc = ddf_fun_bind(fun); … … 488 488 489 489 // set handler for incoming calls 490 // TODO: must be one for each subdriver!!491 490 mouse_dev->ops.default_handler = default_connection_handler; 492 491 493 492 // TODO: how to know if the device supports the request??? 494 //usbhid_req_set_idle(&hid_dev->usb_dev->ctrl_pipe,495 //hid_dev->usb_dev->interface_no, IDLE_RATE);493 usbhid_req_set_idle(&hid_dev->usb_dev->ctrl_pipe, 494 hid_dev->usb_dev->interface_no, IDLE_RATE); 496 495 497 496 int rc = usb_mouse_create_function(hid_dev, mouse_dev);
Note:
See TracChangeset
for help on using the changeset viewer.