Skip to content

Touchpad and Sensors don't work through Bluetooth #1489

@Zagrios

Description

@Zagrios

I have a PS5 controller.

When my controller is connected through a USB cable, everything works fine.
But when it's connected through Bluetooth, I don't get ControllerSensorUpdated or ControllerTouchpadMotion events.

I suspect that the problem doesn't come from this library but is rather a driver issue, although I'm not 100% sure.

println!(
    "{}",
    gamepad.has_sensor(SensorType::Accelerometer)
); // prints true when using a USB cable, but false when using Bluetooth

I'm using the master version of sdl2 :

sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2.git", branch = "master", features = ["bundled", "hidapi"] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions