fn capture(
ctx: &Context,
state: &mut SettingsUi,
a: Action,
hotkeys: &mut Hotkeys,
) -> boolExpand description
While rebinding: take the first key press this frame, bind/unbind/cancel, and swallow all key/text events so nothing else reacts to them. Returns true if a binding changed.