Changes in uspace/srv/hid/input/proto/mousedev.c [fafb8e5:889cdb1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/proto/mousedev.c
rfafb8e5 r889cdb1 79 79 async_get_call(&call); 80 80 81 if (! ipc_get_imethod(&call)) {81 if (!IPC_GET_IMETHOD(call)) { 82 82 async_answer_0(&call, EOK); 83 83 mousedev_destroy(mousedev); … … 87 87 errno_t retval; 88 88 89 switch ( ipc_get_imethod(&call)) {89 switch (IPC_GET_IMETHOD(call)) { 90 90 case MOUSEEV_MOVE_EVENT: 91 91 mouse_push_event_move(mousedev->mouse_dev, 92 ipc_get_arg1(&call), ipc_get_arg2(&call),93 ipc_get_arg3(&call));92 IPC_GET_ARG1(call), IPC_GET_ARG2(call), 93 IPC_GET_ARG3(call)); 94 94 retval = EOK; 95 95 break; 96 96 case MOUSEEV_ABS_MOVE_EVENT: 97 97 mouse_push_event_abs_move(mousedev->mouse_dev, 98 ipc_get_arg1(&call), ipc_get_arg2(&call),99 ipc_get_arg3(&call), ipc_get_arg4(&call));98 IPC_GET_ARG1(call), IPC_GET_ARG2(call), 99 IPC_GET_ARG3(call), IPC_GET_ARG4(call)); 100 100 retval = EOK; 101 101 break; 102 102 case MOUSEEV_BUTTON_EVENT: 103 103 mouse_push_event_button(mousedev->mouse_dev, 104 ipc_get_arg1(&call), ipc_get_arg2(&call));104 IPC_GET_ARG1(call), IPC_GET_ARG2(call)); 105 105 retval = EOK; 106 106 break;
Note:
See TracChangeset
for help on using the changeset viewer.