Android: Add analog-stick-as-dpad option to controller settings
This commit is contained in:
parent
0aa3b6b399
commit
1b99233466
|
@ -177,4 +177,7 @@
|
||||||
<string name="controller_mapping_activity_failed_to_save_input_profile">Failed to save input profile.</string>
|
<string name="controller_mapping_activity_failed_to_save_input_profile">Failed to save input profile.</string>
|
||||||
<string name="controller_mapping_activity_input_profile_saved">Input profile \'%s\' saved.</string>
|
<string name="controller_mapping_activity_input_profile_saved">Input profile \'%s\' saved.</string>
|
||||||
<string name="controller_mapping_activity_cancel">Cancel</string>
|
<string name="controller_mapping_activity_cancel">Cancel</string>
|
||||||
|
<string name="settings_use_analog_sticks_for_dpad">Use Analog Sticks for D-Pad in Digital Mode</string>
|
||||||
|
<string name="settings_summary_enable_analog_mode_on_reset">Forces the controller to analog mode when the console is reset/powered on.</string>
|
||||||
|
<string name="settings_summary_use_analog_sticks_for_dpad">Allows you to use the analog sticks to control the d-pad in digital mode, as well as the buttons.</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -36,6 +36,13 @@
|
||||||
<SwitchPreferenceCompat
|
<SwitchPreferenceCompat
|
||||||
app:key="Controller1/ForceAnalogOnReset"
|
app:key="Controller1/ForceAnalogOnReset"
|
||||||
app:title="@string/settings_enable_analog_mode_on_reset"
|
app:title="@string/settings_enable_analog_mode_on_reset"
|
||||||
|
app:summary="@string/settings_summary_enable_analog_mode_on_reset"
|
||||||
|
app:defaultValue="true"
|
||||||
|
app:iconSpaceReserved="false" />
|
||||||
|
<SwitchPreferenceCompat
|
||||||
|
app:key="Controller1/"
|
||||||
|
app:title="@string/settings_use_analog_sticks_for_dpad"
|
||||||
|
app:summary="@string/settings_summary_use_analog_sticks_for_dpad"
|
||||||
app:defaultValue="true"
|
app:defaultValue="true"
|
||||||
app:iconSpaceReserved="false" />
|
app:iconSpaceReserved="false" />
|
||||||
<ListPreference
|
<ListPreference
|
||||||
|
|
Loading…
Reference in New Issue