Searched refs:keyboard_protocol (Results 1 – 1 of 1) sorted by relevance
124 struct keyboard_protocol { struct297 struct keyboard_protocol keyboard;1105 applespi_remap_fn_key(struct keyboard_protocol *keyboard_protocol) in applespi_remap_fn_key() argument1114 tmp = keyboard_protocol->fn_pressed; in applespi_remap_fn_key()1115 keyboard_protocol->fn_pressed = !!(keyboard_protocol->modifiers & bit); in applespi_remap_fn_key()1117 keyboard_protocol->modifiers |= bit; in applespi_remap_fn_key()1119 keyboard_protocol->modifiers &= ~bit; in applespi_remap_fn_key()1124 struct keyboard_protocol *keyboard_protocol) in applespi_handle_keyboard_event() argument1130 sizeof_field(struct keyboard_protocol, modifiers) * 8, in applespi_handle_keyboard_event()1134 if (!memchr_inv(keyboard_protocol->keys_pressed, 1, MAX_ROLLOVER)) in applespi_handle_keyboard_event()[all …]