Changes in uspace/drv/bus/usb/usbmouse/mouse.c [5203e256:1875a0c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmouse/mouse.c
r5203e256 r1875a0c 38 38 #include <errno.h> 39 39 #include <str_error.h> 40 #include <ipc/mouse .h>40 #include <ipc/mouseev.h> 41 41 #include <async.h> 42 42 #include "mouse.h" … … 86 86 87 87 async_exch_t *exch = async_exchange_begin(mouse->console_sess); 88 async_req_2_0(exch, M EVENT_MOVE, -shift_x / 10, -shift_y / 10);88 async_req_2_0(exch, MOUSEEV_MOVE_EVENT, -shift_x / 10, -shift_y / 10); 89 89 async_exchange_end(exch); 90 90 } … … 93 93 94 94 async_exch_t *exch = async_exchange_begin(mouse->console_sess); 95 async_req_2_0(exch, M EVENT_BUTTON, 1, 1);96 async_req_2_0(exch, M EVENT_BUTTON, 1, 0);95 async_req_2_0(exch, MOUSEEV_BUTTON_EVENT, 1, 1); 96 async_req_2_0(exch, MOUSEEV_BUTTON_EVENT, 1, 0); 97 97 async_exchange_end(exch); 98 98 }
Note:
See TracChangeset
for help on using the changeset viewer.