You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rust error E0004 (https://doc.rust-lang.org/error_codes/E0004.html) when enabling the library's hidapi feature due to the difference between the library's SensorType implementation and SDL's SDL_SensorType implementation.
The error would be vanished simply by editing sensor.rs file from:
I'm not sure why this difference occurs as I haven't looked at the library in detail, but I guess the library needs to be modified to match the SDL-sys implementation.
The text was updated successfully, but these errors were encountered:
Rust error E0004 (https://doc.rust-lang.org/error_codes/E0004.html) when enabling the library's hidapi feature due to the difference between the library's SensorType implementation and SDL's SDL_SensorType implementation.
The error would be vanished simply by editing sensor.rs file from:
into:
However, this approach doesn't really solve the problem.
Current SDL-sys bindings are:
but the library's SensorType implementation is:
I'm not sure why this difference occurs as I haven't looked at the library in detail, but I guess the library needs to be modified to match the SDL-sys implementation.
The text was updated successfully, but these errors were encountered: