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 Gamepad

Available on Linux only.