Handle control requests for Dualshock 3

This commit is contained in:
Marc Riera Irigoyen 2023-05-22 18:30:11 +02:00
parent c6013f2b74
commit 1f84543091
2 changed files with 47 additions and 3 deletions

View file

@ -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);
}
_ => ()
}
}
}