Lines Matching refs:key

76  * 	key	- scancode
80 * if it exists. If there is no raw callback, the key is translated.
87 kbtrans_key_t key,
91 "newstate=%d key=%d", state, key));
100 cb->kc_keypressed_raw(lower->kbtrans_upper, key);
103 cb->kc_keyreleased_raw(lower->kbtrans_upper, key);
110 * translate the scancode into a key.
112 kbtrans_translate(lower, cb, key, state);
121 * key - scan code
124 * Called to process key events if we are in TR_ASCII or TR_EVENT
131 kbtrans_key_t key,
143 "newstate=0x%x key=0x%x\n", newstate, key));
158 * If the key has been released, then or in the UPMASK flag.
167 ke = kbtrans_find_entry(lower, shiftmask, key);
171 * This is a gross error. Cancel the repeat key and exit,
180 * Get the key for this scancode.
187 * this key is not affected by Num Lock. This means we should
192 key);
196 * This is a gross error. Cancel the repeat key and
205 * Get the new key for this scancode.
211 * The entrytype indicates what category of key we are processing.
234 * Handle Compose and floating accent key sequences
276 entrytype, key, result_iso);
294 /* Invalid second key: ignore key */
301 key, (lower->kbtrans_compat ?
310 * If the key is going down, and it's not one of the keys that doesn't
313 * The keys that don't auto-repeat are the Compose key,
321 if (lower->kbtrans_repeatkey != key) {
324 key);
326 /* key going up */
327 } else if (key == lower->kbtrans_repeatkey) {
333 cb->kc_keyreleased(lower->kbtrans_upper, key);
343 case 0x0: /* regular key */
344 cb->kc_keypressed(lower->kbtrans_upper, entrytype, key,
389 cb->kc_keypressed(lower->kbtrans_upper, entrytype, key,
400 cb->kc_keypressed(lower->kbtrans_upper, entrytype, key,
427 cb->kc_keypressed(lower->kbtrans_upper, entrytype, key,
458 cb->kc_keypressed(lower->kbtrans_upper, entrytype, key, entry);
463 cb->kc_keypressed(lower->kbtrans_upper, entrytype, key, entry);
474 cb->kc_keypressed(lower->kbtrans_upper, entrytype, key, entry);
482 * Given a two key compose sequence, lookup the iso equivalent and put