mirror of
https://github.com/marcriera/ddgo-pnp-controller.git
synced 2025-05-18 13:48:34 +02:00
Handle control requests for Dualshock 3
This commit is contained in:
parent
c6013f2b74
commit
1f84543091
2 changed files with 47 additions and 3 deletions
|
@ -177,7 +177,13 @@ pub fn handle_ctrl_transfer(model: ControllerModel, data: &[u8]) {
|
|||
None => (),
|
||||
}
|
||||
}
|
||||
else if data[1] == 9 {
|
||||
else {
|
||||
match model {
|
||||
ControllerModel::SLPH00051 => {
|
||||
slph00051::handle_ctrl_transfer(data);
|
||||
}
|
||||
_ => ()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue