-
-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
Using v0.17.3.
Couple of issues around gamepads:
- The gamepad events are using the old "controller" nomenclature from sdl2. E.g.
Event::ControllerDeviceAddedinstead of e.g.Event::GamepadAdded(fromSDL_EVENT_GAMEPAD_ADDED). - The gamepad events return
u32forwhich, while the gamepad API's take aJoystckIDnew type. The new sdl3 events use joystick id's instead of u32, so maybe this is related to the previous point. - Constructing a
JoystickIDfails, because you can't construct type aliases in rust (see: Cannot construct tuple struct via type alias rust-lang/rust#17422 ) JoystickID, doesn't implementDebugorDisplay, so you can't look at it without unwrapping it first.Gamepadhas_led,has_rumble, andhas_rumble_triggersare marked unsafe.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels