Changeset fafb8e5 in mainline for uspace/lib/c/generic/io/input.c
- Timestamp:
- 2019-02-06T13:25:12Z (6 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/input.c
reb13ef8 rfafb8e5 112 112 errno_t rc; 113 113 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); 118 118 119 119 rc = input->ev_ops->key(input, type, key, mods, c); … … 127 127 errno_t rc; 128 128 129 dx = IPC_GET_ARG1(call);130 dy = IPC_GET_ARG2(call);129 dx = ipc_get_arg1(call); 130 dy = ipc_get_arg2(call); 131 131 132 132 rc = input->ev_ops->move(input, dx, dy); … … 142 142 errno_t rc; 143 143 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); 148 148 149 149 rc = input->ev_ops->abs_move(input, x, y, max_x, max_y); … … 157 157 errno_t rc; 158 158 159 bnum = IPC_GET_ARG1(call);160 press = IPC_GET_ARG2(call);159 bnum = ipc_get_arg1(call); 160 press = ipc_get_arg2(call); 161 161 162 162 rc = input->ev_ops->button(input, bnum, press); … … 172 172 async_get_call(&call); 173 173 174 if (! IPC_GET_IMETHOD(&call)) {174 if (!ipc_get_imethod(&call)) { 175 175 async_answer_0(&call, EOK); 176 176 return; 177 177 } 178 178 179 switch ( IPC_GET_IMETHOD(&call)) {179 switch (ipc_get_imethod(&call)) { 180 180 case INPUT_EVENT_ACTIVE: 181 181 input_ev_active(input, &call);
Note:
See TracChangeset
for help on using the changeset viewer.