Function arcdps::extras::exports::get_keybind
source · pub fn get_keybind(control: Control) -> Keybind
Expand description
Retrieves the Keybind
for a given game Control
from Unofficial Extras.
Returns an empty/default Key
if the key is not set
or if the functionality is disabled cause of missing patterns.
§Examples
use arcdps::extras::{keybinds::Control, exports::get_keybind};
let keybind = get_keybind(Control::Skills_EliteSkill);
let primary = keybind.primary;
let secondary = keybind.secondary;