Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/input/keyboard/
Dapplespi.c129 u8 fn_pressed; member
1062 static unsigned int applespi_translate_fn_key(unsigned int key, int fn_pressed) in applespi_translate_fn_key() argument
1070 do_translate = (fnmode == 2 && fn_pressed) || in applespi_translate_fn_key()
1071 (fnmode == 1 && !fn_pressed); in applespi_translate_fn_key()
1073 do_translate = fn_pressed; in applespi_translate_fn_key()
1093 static unsigned int applespi_code_to_key(u8 code, int fn_pressed) in applespi_code_to_key() argument
1098 key = applespi_translate_fn_key(key, fn_pressed); in applespi_code_to_key()
1114 tmp = keyboard_protocol->fn_pressed; in applespi_remap_fn_key()
1115 keyboard_protocol->fn_pressed = !!(keyboard_protocol->modifiers & bit); in applespi_remap_fn_key()
1159 keyboard_protocol->fn_pressed); in applespi_handle_keyboard_event()
[all …]