Changeset fafb8e5 in mainline for uspace/lib/c/generic/io/input.c


Ignore:
Timestamp:
2019-02-06T13:25:12Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
95a47b0
Parents:
eb13ef8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:10:59)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
Message:

Mechanically lowercase IPC_SET_*/IPC_GET_*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/input.c

    reb13ef8 rfafb8e5  
    112112        errno_t rc;
    113113
    114         type = IPC_GET_ARG1(call);
    115         key = IPC_GET_ARG2(call);
    116         mods = IPC_GET_ARG3(call);
    117         c = IPC_GET_ARG4(call);
     114        type = ipc_get_arg1(call);
     115        key = ipc_get_arg2(call);
     116        mods = ipc_get_arg3(call);
     117        c = ipc_get_arg4(call);
    118118
    119119        rc = input->ev_ops->key(input, type, key, mods, c);
     
    127127        errno_t rc;
    128128
    129         dx = IPC_GET_ARG1(call);
    130         dy = IPC_GET_ARG2(call);
     129        dx = ipc_get_arg1(call);
     130        dy = ipc_get_arg2(call);
    131131
    132132        rc = input->ev_ops->move(input, dx, dy);
     
    142142        errno_t rc;
    143143
    144         x = IPC_GET_ARG1(call);
    145         y = IPC_GET_ARG2(call);
    146         max_x = IPC_GET_ARG3(call);
    147         max_y = IPC_GET_ARG4(call);
     144        x = ipc_get_arg1(call);
     145        y = ipc_get_arg2(call);
     146        max_x = ipc_get_arg3(call);
     147        max_y = ipc_get_arg4(call);
    148148
    149149        rc = input->ev_ops->abs_move(input, x, y, max_x, max_y);
     
    157157        errno_t rc;
    158158
    159         bnum = IPC_GET_ARG1(call);
    160         press = IPC_GET_ARG2(call);
     159        bnum = ipc_get_arg1(call);
     160        press = ipc_get_arg2(call);
    161161
    162162        rc = input->ev_ops->button(input, bnum, press);
     
    172172                async_get_call(&call);
    173173
    174                 if (!IPC_GET_IMETHOD(&call)) {
     174                if (!ipc_get_imethod(&call)) {
    175175                        async_answer_0(&call, EOK);
    176176                        return;
    177177                }
    178178
    179                 switch (IPC_GET_IMETHOD(&call)) {
     179                switch (ipc_get_imethod(&call)) {
    180180                case INPUT_EVENT_ACTIVE:
    181181                        input_ev_active(input, &call);
Note: See TracChangeset for help on using the changeset viewer.