Changes in uspace/drv/bus/usb/usbhid/mouse/mousedev.c [5203e256:1875a0c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/mouse/mousedev.c
r5203e256 r1875a0c 44 44 #include <async_obsolete.h> 45 45 #include <str_error.h> 46 #include <ipc/mouse .h>46 #include <ipc/mouseev.h> 47 47 #include <io/console.h> 48 48 … … 270 270 if ((shift_x != 0) || (shift_y != 0)) { 271 271 async_obsolete_req_2_0(mouse_dev->mouse_phone, 272 M EVENT_MOVE, shift_x, shift_y);272 MOUSEEV_MOVE_EVENT, shift_x, shift_y); 273 273 } 274 274 … … 296 296 && field->value != 0) { 297 297 async_obsolete_req_2_0(mouse_dev->mouse_phone, 298 M EVENT_BUTTON, field->usage, 1);298 MOUSEEV_BUTTON_EVENT, field->usage, 1); 299 299 mouse_dev->buttons[field->usage - field->usage_minimum] 300 300 = field->value; 301 } else if ( 302 mouse_dev->buttons[field->usage - field->usage_minimum] != 0 301 } else if (mouse_dev->buttons[field->usage - field->usage_minimum] != 0 303 302 && field->value == 0) { 304 305 M EVENT_BUTTON, field->usage, 0);306 mouse_dev->buttons[field->usage - field->usage_minimum]307 =field->value;308 303 async_obsolete_req_2_0(mouse_dev->mouse_phone, 304 MOUSEEV_BUTTON_EVENT, field->usage, 0); 305 mouse_dev->buttons[field->usage - field->usage_minimum] = 306 field->value; 307 } 309 308 310 309 field = usb_hid_report_get_sibling(
Note:
See TracChangeset
for help on using the changeset viewer.