Function gilrs::ev::filter::axis_dpad_to_button
[−]
[src]
pub fn axis_dpad_to_button(ev: Option<Event>, gilrs: &Gilrs) -> Option<Event>
Maps axis dpad events to button dpad events.
This filter will do nothing if gamepad have dpad buttons (to prevent double events for same
element) and if standard NativeEvCode
for dpads is used by some other buttons.