Struct glfw::Joystick[][src]

pub struct Joystick {
    pub id: JoystickId,
    pub glfw: Glfw,
}

A joystick handle.

Fields

Methods

impl Joystick
[src]

Wrapper for glfwJoystickPresent.

Wrapper for glfwGetJoystickAxes.

Wrapper for glfwGetJoystickButtons.

Wrapper for glfwGetJoystickName.

Trait Implementations

impl Copy for Joystick
[src]

impl Clone for Joystick
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Joystick

impl Sync for Joystick