Changeset 1875a0c in mainline for uspace/srv/hid/input/port/gxemul.c
- Timestamp:
- 2011-06-21T19:10:20Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 022d9f67
- Parents:
- a9d85df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/port/gxemul.c
ra9d85df r1875a0c 108 108 109 109 /** Process data sent when a key is pressed. 110 *111 * @param keybuffer Buffer of pressed keys.112 * @param call IPC call.113 110 * 114 * @return Always 1. 111 * @param keybuffer Buffer of pressed keys. 112 * @param call IPC call. 113 * 115 114 */ 116 115 static void gxemul_irq_handler(ipc_callid_t iid, ipc_call_t *call) 117 116 { 118 int scan_code = IPC_GET_ARG2(*call); 119 120 kbd_push_scancode(kbd_dev, scan_code); 117 kbd_push_data(kbd_dev, IPC_GET_ARG2(*call)); 121 118 } 122 119
Note:
See TracChangeset
for help on using the changeset viewer.