Changeset 37f87fa in mainline
- Timestamp:
- 2011-05-13T13:39:16Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4880210
- Parents:
- 65b458c4
- Location:
- uspace/drv/usbhid
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/mouse/mousedev.c
r65b458c4 r37f87fa 131 131 } 132 132 133 usb_log_debug("default_connection_handler: fun->name: %s\n", 134 fun->name); 135 usb_log_debug("default_connection_handler: mouse_phone: %d, wheel " 136 "phone: %d\n", mouse_dev->mouse_phone, mouse_dev->wheel_phone); 137 133 138 int *phone = (str_cmp(fun->name, HID_MOUSE_FUN_NAME) == 0) 134 139 ? &mouse_dev->mouse_phone : &mouse_dev->wheel_phone; … … 145 150 146 151 *phone = callback; 147 usb_log_debug("Console phone to mouse set ok (%d).\n", callback);152 usb_log_debug("Console phone to mouse set ok (%d).\n", *phone); 148 153 async_answer_0(icallid, EOK); 149 154 return; … … 427 432 */ 428 433 fun->ops = &mouse->ops; 429 fun->driver_data = hid_dev; // TODO: maybe change to hid_dev->data434 fun->driver_data = mouse; // TODO: maybe change to hid_dev->data 430 435 431 436 rc = ddf_fun_bind(fun); -
uspace/drv/usbhid/subdrivers.c
r65b458c4 r37f87fa 62 62 path_kbd, 63 63 -1, 64 USB_HID_PATH_COMPARE_ ANYWHERE,64 USB_HID_PATH_COMPARE_BEGIN, 65 65 -1, 66 66 -1, … … 76 76 multim_key_path, 77 77 1, 78 USB_HID_PATH_COMPARE_ ANYWHERE,78 USB_HID_PATH_COMPARE_BEGIN, 79 79 -1, 80 80 -1, … … 89 89 path_mouse, 90 90 -1, 91 USB_HID_PATH_COMPARE_ ANYWHERE,91 USB_HID_PATH_COMPARE_BEGIN, 92 92 -1, 93 93 -1,
Note:
See TracChangeset
for help on using the changeset viewer.