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
Forgive me if I'm missing something obvious, but in lego/hid_report.rs and dualsense/hid_report.rs couldn't you just use Rust binary literals rather than bit-shifts for the as_bitflag() functions?
We could, and have started in newer drivers. The new horipad uses binary literals for example. We probably need to review the older drivers for a lot of lessons learned soon. Thanks for pointing this out
Forgive me if I'm missing something obvious, but in
lego/hid_report.rs
anddualsense/hid_report.rs
couldn't you just use Rust binary literals rather than bit-shifts for theas_bitflag()
functions?Example:
The text was updated successfully, but these errors were encountered: