Searched refs:fn_pressed (Results 1 – 2 of 2) sorted by relevance
130 u8 fn_pressed; member1086 static unsigned int applespi_translate_fn_key(unsigned int key, int fn_pressed) in applespi_translate_fn_key() argument1094 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() argument1122 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 …]
152 bool fn_pressed; member252 fn_state = value ? ppkb->fn_pressed : ppkb->fn_state[col] & mask; in ppkb_update()262 ppkb->fn_pressed = value; in ppkb_update()