Refine meta_input_keys_pressed