Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/input/keyboard/
Dapplespi.c130 u8 fn_pressed; member
1086 static unsigned int applespi_translate_fn_key(unsigned int key, int fn_pressed) in applespi_translate_fn_key() argument
1094 do_translate = (fnmode == 2 && fn_pressed) || in applespi_translate_fn_key()
1095 (fnmode == 1 && !fn_pressed); in applespi_translate_fn_key()
1097 do_translate = fn_pressed; in applespi_translate_fn_key()
1117 static unsigned int applespi_code_to_key(u8 code, int fn_pressed) in applespi_code_to_key() argument
1122 key = applespi_translate_fn_key(key, fn_pressed); in applespi_code_to_key()
1138 tmp = keyboard_protocol->fn_pressed; in applespi_remap_fn_key()
1139 keyboard_protocol->fn_pressed = !!(keyboard_protocol->modifiers & bit); in applespi_remap_fn_key()
1183 keyboard_protocol->fn_pressed); in applespi_handle_keyboard_event()
[all …]
Dpinephone-keyboard.c152 bool fn_pressed; member
252 fn_state = value ? ppkb->fn_pressed : ppkb->fn_state[col] & mask; in ppkb_update()
262 ppkb->fn_pressed = value; in ppkb_update()