Lines Matching refs:modifiers

273     uint16_t modifiers;  member
341 s->modifiers |= 1; in spitz_keyboard_handler()
344 s->modifiers &= ~1; in spitz_keyboard_handler()
347 s->modifiers |= 2; in spitz_keyboard_handler()
350 s->modifiers &= ~2; in spitz_keyboard_handler()
353 s->modifiers |= 4; in spitz_keyboard_handler()
356 s->modifiers &= ~4; in spitz_keyboard_handler()
359 s->modifiers |= 8; in spitz_keyboard_handler()
362 s->modifiers &= ~8; in spitz_keyboard_handler()
366 code = s->pre_map[mapcode = ((s->modifiers & 3) ? in spitz_keyboard_handler()
372 if ((code & SPITZ_MOD_SHIFT) && !(s->modifiers & 1)) { in spitz_keyboard_handler()
375 if ((code & SPITZ_MOD_CTRL) && !(s->modifiers & 4)) { in spitz_keyboard_handler()
378 if ((code & SPITZ_MOD_FN) && !(s->modifiers & 8)) { in spitz_keyboard_handler()
381 if ((code & SPITZ_MOD_FN) && (s->modifiers & 1)) { in spitz_keyboard_handler()
384 if ((code & SPITZ_MOD_FN) && (s->modifiers & 2)) { in spitz_keyboard_handler()
389 if ((s->imodifiers & 1 ) && !(s->modifiers & 1)) in spitz_keyboard_handler()
391 if ((s->imodifiers & 4 ) && !(s->modifiers & 4)) in spitz_keyboard_handler()
393 if ((s->imodifiers & 8 ) && !(s->modifiers & 8)) in spitz_keyboard_handler()
395 if ((s->imodifiers & 0x10) && (s->modifiers & 1)) in spitz_keyboard_handler()
397 if ((s->imodifiers & 0x20) && (s->modifiers & 2)) in spitz_keyboard_handler()
402 !((s->modifiers | s->imodifiers) & 1)) { in spitz_keyboard_handler()
407 !((s->modifiers | s->imodifiers) & 4)) { in spitz_keyboard_handler()
412 !((s->modifiers | s->imodifiers) & 8)) { in spitz_keyboard_handler()
416 if ((code & SPITZ_MOD_FN) && (s->modifiers & 1) && in spitz_keyboard_handler()
421 if ((code & SPITZ_MOD_FN) && (s->modifiers & 2) && in spitz_keyboard_handler()
486 s->modifiers = 0; in spitz_keyboard_pre_map()
503 s->modifiers = 0; in spitz_keyboard_post_load()