mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
Merge pull request #9209 from Ebola16/AIRSDS
Android: Update IR sensitivity default values
This commit is contained in:
commit
5afda5efe3
@ -18,8 +18,8 @@ IR/Right = `Axis 115`
|
|||||||
IR/Forward = `Axis 116`
|
IR/Forward = `Axis 116`
|
||||||
IR/Backward = `Axis 117`
|
IR/Backward = `Axis 117`
|
||||||
IR/Hide = `Button 118`
|
IR/Hide = `Button 118`
|
||||||
IR/Total Pitch = 15
|
IR/Total Pitch = 20
|
||||||
IR/Total Yaw = 15
|
IR/Total Yaw = 25
|
||||||
IR/Vertical Offset = 10
|
IR/Vertical Offset = 10
|
||||||
Swing/Up = `Axis 120`
|
Swing/Up = `Axis 120`
|
||||||
Swing/Down = `Axis 121`
|
Swing/Down = `Axis 121`
|
||||||
|
@ -18,8 +18,8 @@ IR/Right = `Axis 115`
|
|||||||
IR/Forward = `Axis 116`
|
IR/Forward = `Axis 116`
|
||||||
IR/Backward = `Axis 117`
|
IR/Backward = `Axis 117`
|
||||||
IR/Hide = `Button 118`
|
IR/Hide = `Button 118`
|
||||||
IR/Total Pitch = 15
|
IR/Total Pitch = 20
|
||||||
IR/Total Yaw = 15
|
IR/Total Yaw = 25
|
||||||
IR/Vertical Offset = 10
|
IR/Vertical Offset = 10
|
||||||
Swing/Up = `Axis 120`
|
Swing/Up = `Axis 120`
|
||||||
Swing/Down = `Axis 121`
|
Swing/Down = `Axis 121`
|
||||||
|
@ -915,7 +915,7 @@ public final class EmulationActivity extends AppCompatActivity
|
|||||||
File file = SettingsFile.getCustomGameSettingsFile(NativeLibrary.GetCurrentGameID());
|
File file = SettingsFile.getCustomGameSettingsFile(NativeLibrary.GetCurrentGameID());
|
||||||
IniFile ini = new IniFile(file);
|
IniFile ini = new IniFile(file);
|
||||||
|
|
||||||
int ir_pitch = ini.getInt(Settings.SECTION_CONTROLS, SettingsFile.KEY_WIIBIND_IR_PITCH, 15);
|
int ir_pitch = ini.getInt(Settings.SECTION_CONTROLS, SettingsFile.KEY_WIIBIND_IR_PITCH, 20);
|
||||||
|
|
||||||
LayoutInflater inflater = LayoutInflater.from(this);
|
LayoutInflater inflater = LayoutInflater.from(this);
|
||||||
View view = inflater.inflate(R.layout.dialog_ir_sensitivity, null);
|
View view = inflater.inflate(R.layout.dialog_ir_sensitivity, null);
|
||||||
@ -947,7 +947,7 @@ public final class EmulationActivity extends AppCompatActivity
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
int ir_yaw = ini.getInt(Settings.SECTION_CONTROLS, SettingsFile.KEY_WIIBIND_IR_YAW, 15);
|
int ir_yaw = ini.getInt(Settings.SECTION_CONTROLS, SettingsFile.KEY_WIIBIND_IR_YAW, 25);
|
||||||
|
|
||||||
TextView text_slider_value_yaw = view.findViewById(R.id.text_ir_yaw);
|
TextView text_slider_value_yaw = view.findViewById(R.id.text_ir_yaw);
|
||||||
TextView units_yaw = view.findViewById(R.id.text_ir_yaw_units);
|
TextView units_yaw = view.findViewById(R.id.text_ir_yaw_units);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user