Lines Matching defs:keycode
114 unsigned int cur_idx, unsigned int keycode)
117 * We should exclude unmapped usages when doing lookup by keycode.
119 return (usage->type == EV_KEY && usage->code == keycode);
186 ke->keycode = usage->type == EV_KEY ?
210 usage->code = ke->keycode;
214 dbg_hid("Assigned keycode %d to HID usage code %x\n",
218 * Set the keybit for the old keycode if the old keycode is used
1715 * report constant 0. As all map to the same keycode, they'd confuse
1717 * skip the keycode translation and only forward real events.