mirror of
https://github.com/marcriera/ddgo-pnp-controller.git
synced 2025-04-11 06:29:29 +02:00
Disable untested controllers
This commit is contained in:
parent
70852cf2a7
commit
33667d8fae
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ pub fn set_model(state: &ControllerState) -> Option<ControllerModel> {
|
|||
model = ControllerModel::SOTP031201P5B5;
|
||||
descriptors = (&sotp031201_p5b5::DEVICE_DESCRIPTOR, &sotp031201_p5b5::DESCRIPTORS, &sotp031201_p5b5::STRINGS);
|
||||
}
|
||||
else if state.button_c && state.power == 3 {
|
||||
/* else if state.button_c && state.power == 3 {
|
||||
model_name = "SOTP-031201 (P5/B7 mode)";
|
||||
model = ControllerModel::SOTP031201P5B7;
|
||||
descriptors = (&sotp031201_p5b7::DEVICE_DESCRIPTOR, &sotp031201_p5b7::DESCRIPTORS, &sotp031201_p5b7::STRINGS);
|
||||
|
@ -96,7 +96,7 @@ pub fn set_model(state: &ControllerState) -> Option<ControllerModel> {
|
|||
model_name = "VOK-00106";
|
||||
model = ControllerModel::VOK00106;
|
||||
descriptors = (&vok00106::DEVICE_DESCRIPTOR, &vok00106::DESCRIPTORS, &vok00106::STRINGS);
|
||||
}
|
||||
} */
|
||||
else {
|
||||
println!("No controller selected.");
|
||||
return None;
|
||||
|
|
Loading…
Add table
Reference in a new issue