Skip to main content

cursor_keys_name

Function cursor_keys_name 

Source
pub fn cursor_keys_name<A: ActionSet>(keys: HelpKeys<'_, A>) -> String
Expand description

What moves the cursor: arrows when the four cursor actions are on the arrow keys, otherwise their keys in up-left-down-right order (wasd). On a controller, D-pad/L-stick or whatever the cursor is on (Keymap::cursor_buttons_name). HelpKeys::not_mapped if any cursor action has no key. See Keymap::cursor_keys_name.