-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(DualSense): add DualSense target gamepad #38
Conversation
1366875
to
8ec83f9
Compare
Tested on ROG Ally. Motion in game seems to be correct, but the gyro calibration screen reports show roll and yaw swapped. Also, the guide button only works like 1/6 of the time now. QAM always works. |
0a5dfaf
to
71a3f84
Compare
71a3f84
to
9697e45
Compare
2d1b5b0
to
d36eafd
Compare
1242242
to
fac7db6
Compare
fac7db6
to
7f59c41
Compare
@@ -307,10 +314,11 @@ pub struct CompositeDevice { | |||
/// E.g. {"/org/shadowblip/InputPlumber/devices/target/dbus0": <Sender>} | |||
target_dbus_devices: HashMap<String, mpsc::Sender<TargetCommand>>, | |||
/// Set of available Force Feedback effect IDs that are not in use | |||
/// TODO: Just use the keys from ff_effect_id_source_map to determine next id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
;)
@@ -155,87 +161,155 @@ impl EventDevice { | |||
|
|||
// Loop to read events from the device and commands over the channel | |||
log::debug!("Reading events from {}", path); | |||
'main: loop { | |||
let mut interval = tokio::time::interval(POLL_RATE); | |||
loop { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
🎉 This PR is included in version 0.14.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
No description provided.