[Android] Basic UI functionality for enabling/disabling aforementioned Gamecube controllers.
This commit is contained in:
parent
53ab104d5f
commit
7e544d8996
|
@ -50,6 +50,7 @@
|
|||
<string name="controller_2">コントローラ2</string>
|
||||
<string name="controller_3">コントローラ3</string>
|
||||
<string name="controller_4">コントローラ4</string>
|
||||
<string name="enable_controller">コントローラを有効</string>
|
||||
<string name="input_binding">入力バインディング</string>
|
||||
<string name="input_binding_descrip">%1$sにバインドするための入力を移動または押してください。</string>
|
||||
<string name="button_a">Aボタン</string>
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
<string name="controller_2">Controller 2</string>
|
||||
<string name="controller_3">Controller 3</string>
|
||||
<string name="controller_4">Controller 4</string>
|
||||
<string name="enable_controller">Enable controller</string>
|
||||
<string name="input_binding">Input Binding</string>
|
||||
<string name="input_binding_descrip">Press or move an input to bind it to %1$s.</string>
|
||||
<string name="button_a">Button A</string>
|
||||
|
|
|
@ -13,332 +13,428 @@
|
|||
<PreferenceScreen
|
||||
android:key="gamecube_bindings_control_1"
|
||||
android:title="@string/controller_1">
|
||||
<CheckBoxPreference
|
||||
android:key="enableController1"
|
||||
android:title="@string/enable_controller"/>
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="InputA_1"
|
||||
android:title="@string/button_a" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="InputB_1"
|
||||
android:title="@string/button_b" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="InputX_1"
|
||||
android:title="@string/button_x" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="InputY_1"
|
||||
android:title="@string/button_y" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="InputZ_1"
|
||||
android:title="@string/button_z" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="InputStart_1"
|
||||
android:title="@string/button_start" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="DPadUp_1"
|
||||
android:title="@string/dpad_up" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="DPadDown_1"
|
||||
android:title="@string/dpad_down" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="DPadLeft_1"
|
||||
android:title="@string/dpad_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="DPadRight_1"
|
||||
android:title="@string/dpad_right" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="MainUp_1"
|
||||
android:title="@string/main_stick_up" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="MainDown_1"
|
||||
android:title="@string/main_stick_down" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="MainLeft_1"
|
||||
android:title="@string/main_stick_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="MainRight_1"
|
||||
android:title="@string/main_stick_right" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="CStickUp_1"
|
||||
android:title="@string/c_stick_up" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="CStickDown_1"
|
||||
android:title="@string/c_stick_down" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="CStickLeft_1"
|
||||
android:title="@string/c_stick_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="CStickRight_1"
|
||||
android:title="@string/c_stick_right" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="InputL_1"
|
||||
android:title="@string/trigger_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController1"
|
||||
android:key="InputR_1"
|
||||
android:title="@string/trigger_right" />
|
||||
</PreferenceScreen>
|
||||
<PreferenceScreen
|
||||
android:key="gamecube_bindings_control_2"
|
||||
android:title="@string/controller_2">
|
||||
<CheckBoxPreference
|
||||
android:key="enableController2"
|
||||
android:title="@string/enable_controller"/>
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="InputA_2"
|
||||
android:title="@string/button_a" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="InputB_2"
|
||||
android:title="@string/button_b" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="InputX_2"
|
||||
android:title="@string/button_x" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="InputY_2"
|
||||
android:title="@string/button_y" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="InputZ_2"
|
||||
android:title="@string/button_z" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="InputStart_2"
|
||||
android:title="@string/button_start" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="DPadUp_2"
|
||||
android:title="@string/dpad_up" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="DPadDown_2"
|
||||
android:title="@string/dpad_down" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="DPadLeft_2"
|
||||
android:title="@string/dpad_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="DPadRight_2"
|
||||
android:title="@string/dpad_right" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="MainUp_2"
|
||||
android:title="@string/main_stick_up" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="MainDown_2"
|
||||
android:title="@string/main_stick_down" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="MainLeft_2"
|
||||
android:title="@string/main_stick_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="MainRight_2"
|
||||
android:title="@string/main_stick_right" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="CStickUp_2"
|
||||
android:title="@string/c_stick_up" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="CStickDown_2"
|
||||
android:title="@string/c_stick_down" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="CStickLeft_2"
|
||||
android:title="@string/c_stick_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="CStickRight_2"
|
||||
android:title="@string/c_stick_right" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="InputL_2"
|
||||
android:title="@string/trigger_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController2"
|
||||
android:key="InputR_2"
|
||||
android:title="@string/trigger_right" />
|
||||
</PreferenceScreen>
|
||||
<PreferenceScreen
|
||||
android:key="gamecube_bindings_control_3"
|
||||
android:title="@string/controller_3">
|
||||
<CheckBoxPreference
|
||||
android:key="enableController3"
|
||||
android:title="@string/enable_controller"/>
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="InputA_3"
|
||||
android:title="@string/button_a" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="InputB_3"
|
||||
android:title="@string/button_b" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="InputX_3"
|
||||
android:title="@string/button_x" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="InputY_3"
|
||||
android:title="@string/button_y" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="InputZ_3"
|
||||
android:title="@string/button_z" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="InputStart_3"
|
||||
android:title="@string/button_start" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="DPadUp_3"
|
||||
android:title="@string/dpad_up" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="DPadDown_3"
|
||||
android:title="@string/dpad_down" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="DPadLeft_3"
|
||||
android:title="@string/dpad_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="DPadRight_3"
|
||||
android:title="@string/dpad_right" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="MainUp_3"
|
||||
android:title="@string/main_stick_up" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="MainDown_3"
|
||||
android:title="@string/main_stick_down" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="MainLeft_3"
|
||||
android:title="@string/main_stick_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="MainRight_3"
|
||||
android:title="@string/main_stick_right" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="CStickUp_3"
|
||||
android:title="@string/c_stick_up" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="CStickDown_3"
|
||||
android:title="@string/c_stick_down" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="CStickLeft_3"
|
||||
android:title="@string/c_stick_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="CStickRight_3"
|
||||
android:title="@string/c_stick_right" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="InputL_3"
|
||||
android:title="@string/trigger_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController3"
|
||||
android:key="InputR_3"
|
||||
android:title="@string/trigger_right" />
|
||||
</PreferenceScreen>
|
||||
<PreferenceScreen
|
||||
android:key="gamecube_bindings_control_4"
|
||||
android:title="@string/controller_4">
|
||||
<CheckBoxPreference
|
||||
android:key="enableController4"
|
||||
android:title="@string/enable_controller"/>
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="InputA_4"
|
||||
android:title="@string/button_a" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="InputB_4"
|
||||
android:title="@string/button_b" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="InputX_4"
|
||||
android:title="@string/button_x" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="InputY_4"
|
||||
android:title="@string/button_y" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="InputZ_4"
|
||||
android:title="@string/button_z" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="InputStart_4"
|
||||
android:title="@string/button_start" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="DPadUp_4"
|
||||
android:title="@string/dpad_up" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="DPadDown_4"
|
||||
android:title="@string/dpad_down" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="DPadLeft_4"
|
||||
android:title="@string/dpad_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="DPadRight_4"
|
||||
android:title="@string/dpad_right" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="MainUp_4"
|
||||
android:title="@string/main_stick_up" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="MainDown_4"
|
||||
android:title="@string/main_stick_down" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="MainLeft_4"
|
||||
android:title="@string/main_stick_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="MainRight_4"
|
||||
android:title="@string/main_stick_right" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="CStickUp_4"
|
||||
android:title="@string/c_stick_up" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="CStickDown_4"
|
||||
android:title="@string/c_stick_down" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="CStickLeft_4"
|
||||
android:title="@string/c_stick_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="CStickRight_4"
|
||||
android:title="@string/c_stick_right" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="InputL_4"
|
||||
android:title="@string/trigger_left" />
|
||||
|
||||
<org.dolphinemu.dolphinemu.settings.input.InputBindingPreference
|
||||
android:dependency="enableController4"
|
||||
android:key="InputR_4"
|
||||
android:title="@string/trigger_right" />
|
||||
</PreferenceScreen>
|
||||
|
|
Loading…
Reference in New Issue