Skip to main content

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl LinuxGamepadExt for gilrs_core::Gamepad

Available on Linux only.
Source§

impl LinuxGamepadExt for gilrs::Gamepad<'_>

Available on Linux only.