Changeset b7fd2a0 in mainline for uspace/drv/hid/adb-kbd/adb-kbd.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/adb-kbd/adb-kbd.c
r36f0738 rb7fd2a0 48 48 49 49 /** Add ADB keyboard device */ 50 int adb_kbd_add(adb_kbd_t *kbd)51 { 52 int rc;50 errno_t adb_kbd_add(adb_kbd_t *kbd) 51 { 52 errno_t rc; 53 53 bool bound = false; 54 54 … … 119 119 120 120 /** Remove ADB keyboard device */ 121 int adb_kbd_remove(adb_kbd_t *con)121 errno_t adb_kbd_remove(adb_kbd_t *con) 122 122 { 123 123 return ENOTSUP; … … 125 125 126 126 /** ADB keyboard device gone */ 127 int adb_kbd_gone(adb_kbd_t *con)127 errno_t adb_kbd_gone(adb_kbd_t *con) 128 128 { 129 129 return ENOTSUP; … … 140 140 ipc_callid_t callid = async_get_call(&call); 141 141 142 int retval = EOK;142 errno_t retval = EOK; 143 143 144 144 if (!IPC_GET_IMETHOD(call)) { … … 162 162 kbd_event_type_t etype; 163 163 unsigned int key; 164 int rc;164 errno_t rc; 165 165 166 166 rc = adb_kbd_key_translate(b, &etype, &key);
Note:
See TracChangeset
for help on using the changeset viewer.