LinuxGamepadExt

Trait LinuxGamepadExt 

Source
pub trait LinuxGamepadExt {
    // Required method
    fn devpath(&self) -> &Path;
}
Expand description

Linux specific extension to Gamepad.

Required Methods§

Source

fn devpath(&self) -> &Path

Returns the device node of gamepad.

Implementors§

Source§

impl LinuxGamepadExt for gilrs_core::Gamepad

Source§

impl LinuxGamepadExt for gilrs::Gamepad<'_>

Available on Linux only.