Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/port/gxemul.c

    r1875a0c r5f88293  
    108108
    109109/** Process data sent when a key is pressed.
     110 * 
     111 *  @param keybuffer Buffer of pressed keys.
     112 *  @param call      IPC call.
    110113 *
    111  * @param keybuffer Buffer of pressed keys.
    112  * @param call      IPC call.
    113  *
     114 *  @return Always 1.
    114115 */
    115116static void gxemul_irq_handler(ipc_callid_t iid, ipc_call_t *call)
    116117{
    117         kbd_push_data(kbd_dev, IPC_GET_ARG2(*call));
     118        int scan_code = IPC_GET_ARG2(*call);
     119
     120        kbd_push_scancode(kbd_dev, scan_code);
    118121}
    119122
Note: See TracChangeset for help on using the changeset viewer.