Home
last modified time | relevance | path

Searched refs:spitz_keycode (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/arm/
H A Dspitz.c310 int spitz_keycode = s->keymap[keycode & 0x7f]; in spitz_keyboard_keydown() local
311 if (spitz_keycode == -1) in spitz_keyboard_keydown()
315 if ((spitz_keycode >> 4) == SPITZ_KEY_SENSE_NUM) { in spitz_keyboard_keydown()
316 qemu_set_irq(s->gpiomap[spitz_keycode & 0xf], (keycode < 0x80)); in spitz_keyboard_keydown()
321 s->keyrow[spitz_keycode >> 4] &= ~(1 << (spitz_keycode & 0xf)); in spitz_keyboard_keydown()
323 s->keyrow[spitz_keycode >> 4] |= 1 << (spitz_keycode & 0xf); in spitz_keyboard_keydown()