Changeset 8820544 in mainline for uspace/srv/hid/input/input.c
- Timestamp:
- 2014-08-16T00:02:04Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 35b8bfe, 8cd680c
- Parents:
- 83f29e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/input.c
r83f29e0 r8820544 54 54 #include <io/keycode.h> 55 55 #include <loc.h> 56 #include <event.h>57 56 #include <str_error.h> 58 57 #include "layout.h" … … 358 357 } 359 358 360 static void kconsole_event_received(ipc_callid_t callid, ipc_call_t *call) 359 static void kconsole_event_handler(ipc_callid_t callid, ipc_call_t *call, 360 void *arg) 361 361 { 362 362 if (IPC_GET_ARG1(*call)) { … … 772 772 773 773 /* Receive kernel notifications */ 774 async_set_interrupt_received(kconsole_event_received); 775 rc = event_subscribe(EVENT_KCONSOLE, 0); 774 rc = async_event_subscribe(EVENT_KCONSOLE, kconsole_event_handler, NULL); 776 775 if (rc != EOK) 777 776 printf("%s: Failed to register kconsole notifications (%s)\n",
Note:
See TracChangeset
for help on using the changeset viewer.