Changeset edb3cf2 in mainline for uspace/srv/hid/input/proto


Ignore:
Timestamp:
2011-12-28T11:46:33Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
70172dc4
Parents:
acac2ef
Message:

input: Move mouse wheel handling to input service.

Location:
uspace/srv/hid/input/proto
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/proto/adb.c

    racac2ef redb3cf2  
    8282       
    8383        if (dx != 0 || dy != 0)
    84                 mouse_push_event_move(mouse_dev, dx, dy);
     84                mouse_push_event_move(mouse_dev, dx, dy, 0);
    8585}
    8686
  • uspace/srv/hid/input/proto/mousedev.c

    racac2ef redb3cf2  
    9191                switch (IPC_GET_IMETHOD(call)) {
    9292                case MOUSEEV_MOVE_EVENT:
    93                         mouse_push_event_move(mousedev->mouse_dev, IPC_GET_ARG1(call),
    94                             IPC_GET_ARG2(call));
     93                        mouse_push_event_move(mousedev->mouse_dev,
     94                            IPC_GET_ARG1(call), IPC_GET_ARG2(call),
     95                            IPC_GET_ARG3(call));
    9596                        retval = EOK;
    9697                        break;
    9798                case MOUSEEV_BUTTON_EVENT:
    98                         mouse_push_event_button(mousedev->mouse_dev, IPC_GET_ARG1(call),
    99                             IPC_GET_ARG2(call));
     99                        mouse_push_event_button(mousedev->mouse_dev,
     100                            IPC_GET_ARG1(call), IPC_GET_ARG2(call));
    100101                        retval = EOK;
    101102                        break;
  • uspace/srv/hid/input/proto/ps2.c

    racac2ef redb3cf2  
    126126               
    127127                if (x != 0 || y != 0)
    128                         mouse_push_event_move(mouse_dev, x, y);
     128                        mouse_push_event_move(mouse_dev, x, y, 0);
    129129        }
    130130}
Note: See TracChangeset for help on using the changeset viewer.