Changeset fafb8e5 in mainline for uspace/srv/hid/input/ctl/kbdev.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/srv/hid/input/ctl/kbdev.c
reb13ef8 rfafb8e5 160 160 async_get_call(&call); 161 161 162 if (! IPC_GET_IMETHOD(&call)) {162 if (!ipc_get_imethod(&call)) { 163 163 async_answer_0(&call, EOK); 164 164 kbdev_destroy(kbdev); … … 166 166 } 167 167 168 switch ( IPC_GET_IMETHOD(&call)) {168 switch (ipc_get_imethod(&call)) { 169 169 case KBDEV_EVENT: 170 170 /* Got event from keyboard device */ 171 171 retval = 0; 172 type = IPC_GET_ARG1(&call);173 key = IPC_GET_ARG2(&call);172 type = ipc_get_arg1(&call); 173 key = ipc_get_arg2(&call); 174 174 kbd_push_event(kbdev->kbd_dev, type, key); 175 175 break;
Note:
See TracChangeset
for help on using the changeset viewer.