mirror of https://github.com/PCSX2/pcsx2.git
parent
31b32d3b11
commit
f3e1ba5251
|
@ -144,11 +144,12 @@ void GamepadConfiguration::InitGamepadConfiguration()
|
||||||
* May be better to create a new function in order to check only that
|
* May be better to create a new function in order to check only that
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!s_vgamePad[m_pad_id]->TestForce(0.001f)) {
|
// Bad idea. Some connected devices might support rumble but not all connected devices.
|
||||||
wxMessageBox(L"Rumble is not available for your device.");
|
// if (!s_vgamePad[m_pad_id]->TestForce(0.001f)) {
|
||||||
m_cb_rumble->Disable(); // disable the rumble checkbox
|
// wxMessageBox(L"Rumble is not available for your device.");
|
||||||
m_sl_rumble_intensity->Disable(); // disable the rumble intensity slider
|
// m_cb_rumble->Disable(); // disable the rumble checkbox
|
||||||
}
|
// m_sl_rumble_intensity->Disable(); // disable the rumble intensity slider
|
||||||
|
// }
|
||||||
} else {
|
} else {
|
||||||
wxMessageBox(L"No gamepad detected.");
|
wxMessageBox(L"No gamepad detected.");
|
||||||
m_sl_joystick_sensibility->Disable(); // disable the joystick sensibility slider
|
m_sl_joystick_sensibility->Disable(); // disable the joystick sensibility slider
|
||||||
|
|
Loading…
Reference in New Issue