mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove the force device setting, map instead.
This commit is contained in:
parent
b3b2269536
commit
3852e26558
4 changed files with 0 additions and 5 deletions
|
@ -144,7 +144,6 @@ void Config::Load(const char *iniFileName)
|
|||
control->Get("LargeControls", &bLargeControls, false);
|
||||
// control->Get("KeyMapping",iMappingMap);
|
||||
control->Get("AccelerometerToAnalogHoriz", &bAccelerometerToAnalogHoriz, false);
|
||||
control->Get("ForceInputDevice", &iForceInputDevice, -1);
|
||||
control->Get("RightStickBind", &iRightStickBind, 0);
|
||||
control->Get("SwapDInputRightAxes", &iSwapRightAxes, 0);
|
||||
control->Get("TouchButtonOpacity", &iTouchButtonOpacity, 65);
|
||||
|
@ -258,7 +257,6 @@ void Config::Save()
|
|||
control->Set("LargeControls", bLargeControls);
|
||||
// control->Set("KeyMapping",iMappingMap);
|
||||
control->Set("AccelerometerToAnalogHoriz", bAccelerometerToAnalogHoriz);
|
||||
control->Set("ForceInputDevice", iForceInputDevice);
|
||||
control->Set("RightStickBind", iRightStickBind);
|
||||
control->Set("SwapDInputRightAxes", iSwapRightAxes);
|
||||
control->Set("TouchButtonOpacity", iTouchButtonOpacity);
|
||||
|
|
|
@ -117,7 +117,6 @@ public:
|
|||
int iSwapRightAxes;
|
||||
|
||||
// Control
|
||||
int iForceInputDevice;
|
||||
int iTouchButtonOpacity;
|
||||
float fButtonScale;
|
||||
|
||||
|
|
|
@ -149,7 +149,6 @@ DinputDevice::~DinputDevice() {
|
|||
}
|
||||
|
||||
int DinputDevice::UpdateState(InputState &input_state) {
|
||||
if (g_Config.iForceInputDevice == 0) return -1;
|
||||
if (!pJoystick) return -1;
|
||||
|
||||
DIJOYSTATE2 js;
|
||||
|
|
|
@ -46,7 +46,6 @@ struct Stick {
|
|||
static Stick NormalizedDeadzoneFilter(short x, short y);
|
||||
|
||||
int XinputDevice::UpdateState(InputState &input_state) {
|
||||
if (g_Config.iForceInputDevice > 0) return -1;
|
||||
if (this->check_delay-- > 0) return -1;
|
||||
XINPUT_STATE state;
|
||||
ZeroMemory( &state, sizeof(XINPUT_STATE) );
|
||||
|
|
Loading…
Add table
Reference in a new issue