<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">

    <PreferenceCategory
        android:key="preferences_cpu"
        android:title="@string/preferences_cpu">

        <!-- CPU Settings -->
        <CheckBoxPreference
            android:defaultValue="true"
            android:key="dualCorePref"
            android:summary="@string/dual_core_descrip"
            android:title="@string/dual_core"/>

        <ListPreference
            android:key="cpuCorePref"
            android:summary="@string/cpu_core_desc"
            android:title="@string/cpu_core"
            android:entries="@array/string_emu_cores"
            android:entryValues="@array/int_emu_cores"/>

        <CheckBoxPreference
            android:defaultValue="false"
            android:key="OverclockEnable"
            android:summary="@string/overclock_enable_description"
            android:title="@string/overclock_enable"
            />

        <org.dolphinemu.dolphinemu.utils.SliderPreference
            android:dependency="OverclockEnable"
            android:defaultValue="100"
            android:key="Overclock"
            android:max="400"
            android:title="@string/overclock_title"
            />

    </PreferenceCategory>

    <PreferenceCategory
        android:key="preferences_input"
        android:title="@string/preferences_input">

        <PreferenceScreen
            android:key="input_overlay"
            android:summary="@string/input_overlay_desc"
            android:title="@string/input_overlay">

            <Preference
                android:key="inputOverlayConfigPref"
                android:summary="@string/input_overlay_layout_desc"
                android:title="@string/input_overlay_layout">

                <intent
                    android:targetClass="org.dolphinemu.dolphinemu.activities.OverlayConfigActivity"
                    android:targetPackage="@string/application_id"/>

            </Preference>

            <SeekBarPreference
                android:defaultValue="25"
                android:key="controls_size"
                android:max="75"
                android:title="@string/controls_size"/>

        </PreferenceScreen>

        <!-- Controller bindings -->
        <PreferenceScreen
            android:key="controller_bindings"
            android:title="@string/controller_bindings">

            <PreferenceCategory
                android:key="controller_gc_bindings"
                android:title="@string/controller_gc">

                <!-- Gamecube Controller 1 bindings -->
                <PreferenceScreen
                    android:key="gamecube_bindings_control_0"
                    android:title="@string/controller_0">

                    <CheckBoxPreference
                        android:key="enableController1"
                        android:title="@string/enable_controller"/>

                    <PreferenceCategory
                        android:key="preferences_controller0_buttons"
                        android:title="@string/controller_buttons">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="InputA_0"
                            android:summary="%s"
                            android:title="@string/button_a"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="InputB_0"
                            android:summary="%s"
                            android:title="@string/button_b"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="InputX_0"
                            android:summary="%s"
                            android:title="@string/button_x"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="InputY_0"
                            android:summary="%s"
                            android:title="@string/button_y"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="InputZ_0"
                            android:summary="%s"
                            android:title="@string/button_z"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="InputStart_0"
                            android:summary="%s"
                            android:title="@string/button_start"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller0_dpad"
                        android:title="@string/controller_dpad">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="DPadUp_0"
                            android:summary="%s"
                            android:title="@string/dpad_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="DPadDown_0"
                            android:summary="%s"
                            android:title="@string/dpad_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="DPadLeft_0"
                            android:summary="%s"
                            android:title="@string/dpad_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="DPadRight_0"
                            android:summary="%s"
                            android:title="@string/dpad_right"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller0_main"
                        android:title="@string/controller_main">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="MainUp_0"
                            android:summary="%s"
                            android:title="@string/main_stick_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="MainDown_0"
                            android:summary="%s"
                            android:title="@string/main_stick_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="MainLeft_0"
                            android:summary="%s"
                            android:title="@string/main_stick_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="MainRight_0"
                            android:summary="%s"
                            android:title="@string/main_stick_right"/>

                        <ListPreference
                            android:defaultValue="100,000000"
                            android:dependency="enableController1"
                            android:key="mainRadius0"
                            android:summary="%s"
                            android:title="@string/analog_radius"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller0_c"
                        android:title="@string/controller_c">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="CStickUp_0"
                            android:summary="%s"
                            android:title="@string/c_stick_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="CStickDown_0"
                            android:summary="%s"
                            android:title="@string/c_stick_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="CStickLeft_0"
                            android:summary="%s"
                            android:title="@string/c_stick_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="CStickRight_0"
                            android:summary="%s"
                            android:title="@string/c_stick_right"/>

                        <ListPreference
                            android:defaultValue="100,000000"
                            android:dependency="enableController1"
                            android:key="cStickRadius0"
                            android:summary="%s"
                            android:title="@string/analog_radius"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller0_trig"
                        android:title="@string/controller_trig">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="InputL_0"
                            android:summary="%s"
                            android:title="@string/trigger_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController1"
                            android:key="InputR_0"
                            android:summary="%s"
                            android:title="@string/trigger_right"/>

                        <ListPreference
                            android:defaultValue="90,000000"
                            android:dependency="enableController1"
                            android:key="inputThres0"
                            android:summary="%s"
                            android:title="@string/analog_threshold"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                </PreferenceScreen>

                <!-- GameCube Controller 2 bindings -->
                <PreferenceScreen
                    android:key="gamecube_bindings_control_1"
                    android:title="@string/controller_1">

                    <CheckBoxPreference
                        android:key="enableController2"
                        android:title="@string/enable_controller"/>

                    <PreferenceCategory
                        android:key="preferences_controller1_buttons"
                        android:title="@string/controller_buttons">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="InputA_1"
                            android:summary="%s"
                            android:title="@string/button_a"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="InputB_1"
                            android:summary="%s"
                            android:title="@string/button_b"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="InputX_1"
                            android:summary="%s"
                            android:title="@string/button_x"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="InputY_1"
                            android:summary="%s"
                            android:title="@string/button_y"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="InputZ_1"
                            android:summary="%s"
                            android:title="@string/button_z"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="InputStart_1"
                            android:summary="%s"
                            android:title="@string/button_start"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller1_dpad"
                        android:title="@string/controller_dpad">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="DPadUp_1"
                            android:summary="%s"
                            android:title="@string/dpad_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="DPadDown_1"
                            android:summary="%s"
                            android:title="@string/dpad_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="DPadLeft_1"
                            android:summary="%s"
                            android:title="@string/dpad_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="DPadRight_1"
                            android:summary="%s"
                            android:title="@string/dpad_right"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller1_main"
                        android:title="@string/controller_main">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="MainUp_1"
                            android:summary="%s"
                            android:title="@string/main_stick_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="MainDown_1"
                            android:summary="%s"
                            android:title="@string/main_stick_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="MainLeft_1"
                            android:summary="%s"
                            android:title="@string/main_stick_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="MainRight_1"
                            android:summary="%s"
                            android:title="@string/main_stick_right"/>

                        <ListPreference
                            android:defaultValue="100,000000"
                            android:dependency="enableController2"
                            android:key="mainRadius1"
                            android:summary="%s"
                            android:title="@string/analog_radius"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller1_c"
                        android:title="@string/controller_c">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="CStickUp_1"
                            android:summary="%s"
                            android:title="@string/c_stick_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="CStickDown_1"
                            android:summary="%s"
                            android:title="@string/c_stick_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="CStickLeft_1"
                            android:summary="%s"
                            android:title="@string/c_stick_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="CStickRight_1"
                            android:summary="%s"
                            android:title="@string/c_stick_right"/>

                        <ListPreference
                            android:defaultValue="100,000000"
                            android:dependency="enableController2"
                            android:key="cStickRadius1"
                            android:summary="%s"
                            android:title="@string/analog_radius"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller1_trig"
                        android:title="@string/controller_trig">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="InputL_1"
                            android:summary="%s"
                            android:title="@string/trigger_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController2"
                            android:key="InputR_1"
                            android:summary="%s"
                            android:title="@string/trigger_right"/>

                        <ListPreference
                            android:defaultValue="90,000000"
                            android:dependency="enableController2"
                            android:key="inputThres1"
                            android:summary="%s"
                            android:title="@string/analog_threshold"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                </PreferenceScreen>

                <!-- Gamecube Controller 3 bindings -->
                <PreferenceScreen
                    android:key="gamecube_bindings_control_2"
                    android:title="@string/controller_2">

                    <CheckBoxPreference
                        android:key="enableController3"
                        android:title="@string/enable_controller"/>

                    <PreferenceCategory
                        android:key="preferences_controller2_buttons"
                        android:title="@string/controller_buttons">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="InputA_2"
                            android:summary="%s"
                            android:title="@string/button_a"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="InputB_2"
                            android:summary="%s"
                            android:title="@string/button_b"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="InputX_2"
                            android:summary="%s"
                            android:title="@string/button_x"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="InputY_2"
                            android:summary="%s"
                            android:title="@string/button_y"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="InputZ_2"
                            android:summary="%s"
                            android:title="@string/button_z"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="InputStart_2"
                            android:summary="%s"
                            android:title="@string/button_start"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller2_dpad"
                        android:title="@string/controller_dpad">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="DPadUp_2"
                            android:summary="%s"
                            android:title="@string/dpad_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="DPadDown_2"
                            android:summary="%s"
                            android:title="@string/dpad_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="DPadLeft_2"
                            android:summary="%s"
                            android:title="@string/dpad_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="DPadRight_2"
                            android:summary="%s"
                            android:title="@string/dpad_right"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller2_main"
                        android:title="@string/controller_main">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="MainUp_2"
                            android:summary="%s"
                            android:title="@string/main_stick_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="MainDown_2"
                            android:summary="%s"
                            android:title="@string/main_stick_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="MainLeft_2"
                            android:summary="%s"
                            android:title="@string/main_stick_left"/>

                         <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="MainRight_2"
                            android:summary="%s"
                            android:title="@string/main_stick_right"/>

                        <ListPreference
                            android:defaultValue="100,000000"
                            android:dependency="enableController3"
                            android:key="mainRadius2"
                            android:summary="%s"
                            android:title="@string/analog_radius"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller2_c"
                        android:title="@string/controller_c">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="CStickUp_2"
                            android:summary="%s"
                            android:title="@string/c_stick_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="CStickDown_2"
                            android:summary="%s"
                            android:title="@string/c_stick_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="CStickLeft_2"
                            android:summary="%s"
                            android:title="@string/c_stick_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="CStickRight_2"
                            android:summary="%s"
                            android:title="@string/c_stick_right"/>

                        <ListPreference
                            android:defaultValue="100,000000"
                            android:dependency="enableController3"
                            android:key="cStickRadius2"
                            android:summary="%s"
                            android:title="@string/analog_radius"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller2_trig"
                        android:title="@string/controller_trig">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="InputL_2"
                            android:summary="%s"
                            android:title="@string/trigger_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController3"
                            android:key="InputR_2"
                            android:summary="%s"
                            android:title="@string/trigger_right"/>

                        <ListPreference
                            android:defaultValue="90,000000"
                            android:dependency="enableController3"
                            android:key="inputThres2"
                            android:summary="%s"
                            android:title="@string/analog_threshold"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                </PreferenceScreen>

                <!-- Gamecube Controller 4 bindings -->
                <PreferenceScreen
                    android:key="gamecube_bindings_control_3"
                    android:title="@string/controller_3">

                    <CheckBoxPreference
                        android:key="enableController4"
                        android:title="@string/enable_controller"/>

                    <PreferenceCategory
                        android:key="preferences_controller3_buttons"
                        android:title="@string/controller_buttons">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="InputA_3"
                            android:summary="%s"
                            android:title="@string/button_a"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="InputB_3"
                            android:summary="%s"
                            android:title="@string/button_b"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="InputX_3"
                            android:summary="%s"
                            android:title="@string/button_x"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="InputY_3"
                            android:summary="%s"
                            android:title="@string/button_y"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="InputZ_3"
                            android:summary="%s"
                            android:title="@string/button_z"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="InputStart_3"
                            android:summary="%s"
                            android:title="@string/button_start"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller3_dpad"
                        android:title="@string/controller_dpad">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="DPadUp_3"
                            android:summary="%s"
                            android:title="@string/dpad_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="DPadDown_3"
                            android:summary="%s"
                            android:title="@string/dpad_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="DPadLeft_3"
                            android:summary="%s"
                            android:title="@string/dpad_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="DPadRight_3"
                            android:summary="%s"
                            android:title="@string/dpad_right"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller3_main"
                        android:title="@string/controller_main">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="MainUp_3"
                            android:summary="%s"
                            android:title="@string/main_stick_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="MainDown_3"
                            android:summary="%s"
                            android:title="@string/main_stick_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="MainLeft_3"
                            android:summary="%s"
                            android:title="@string/main_stick_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="MainRight_3"
                            android:summary="%s"
                            android:title="@string/main_stick_right"/>

                        <ListPreference
                            android:defaultValue="100,000000"
                            android:dependency="enableController4"
                            android:key="mainRadius3"
                            android:summary="%s"
                            android:title="@string/analog_radius"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller3_c"
                        android:title="@string/controller_c">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="CStickUp_3"
                            android:summary="%s"
                            android:title="@string/c_stick_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="CStickDown_3"
                            android:summary="%s"
                            android:title="@string/c_stick_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="CStickLeft_3"
                            android:summary="%s"
                            android:title="@string/c_stick_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="CStickRight_3"
                            android:summary="%s"
                            android:title="@string/c_stick_right"/>

                        <ListPreference
                            android:defaultValue="100,000000"
                            android:dependency="enableController4"
                            android:key="cStickRadius3"
                            android:summary="%s"
                            android:title="@string/analog_radius"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_controller3_trig"
                        android:title="@string/controller_trig">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="InputL_3"
                            android:summary="%s"
                            android:title="@string/trigger_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableController4"
                            android:key="InputR_3"
                            android:summary="%s"
                            android:title="@string/trigger_right"/>

                        <ListPreference
                            android:defaultValue="90,000000"
                            android:dependency="enableController4"
                            android:key="inputThres3"
                            android:summary="%s"
                            android:title="@string/analog_threshold"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                </PreferenceScreen>

            </PreferenceCategory>

            <PreferenceCategory
                android:key="controller_wii_bindings"
                android:title="@string/controller_wii">

                    <!-- Wiimote 1 bindings -->
                <PreferenceScreen
                    android:key="wiimote_bindings_4"
                    android:title="@string/wiimote_0">

                    <CheckBoxPreference
                        android:key="enableWiimote1"
                        android:title="@string/enable_wiimote"/>

                    <ListPreference
                        android:dependency="enableWiimote1"
                        android:defaultValue="None"
                        android:entries="@array/wiimoteExtEntries"
                        android:entryValues="@array/wiimoteExtValues"
                        android:key="wiimoteExtension4"
                        android:summary="@string/wiimote_extensions_descrip"
                        android:title="@string/wiimote_extensions"/>

                    <PreferenceCategory
                        android:key="preferences_wiimote4_buttons"
                        android:title="@string/controller_buttons">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="WiimoteA_4"
                            android:summary="%s"
                            android:title="@string/button_a"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="WiimoteB_4"
                            android:summary="%s"
                            android:title="@string/button_b"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="WiimoteMinus_4"
                            android:summary="%s"
                            android:title="@string/button_minus"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="WiimotePlus_4"
                            android:summary="%s"
                            android:title="@string/button_plus"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="WiimoteHome_4"
                            android:summary="%s"
                            android:title="@string/button_home"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="Wiimote1_4"
                            android:summary="%s"
                            android:title="@string/button_one"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="Wiimote2_4"
                            android:summary="%s"
                            android:title="@string/button_two"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote4_dpad"
                        android:title="@string/controller_dpad">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="WiimoteUp_4"
                            android:summary="%s"
                            android:title="@string/dpad_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="WiimoteDown_4"
                            android:summary="%s"
                            android:title="@string/dpad_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="WiimoteLeft_4"
                            android:summary="%s"
                            android:title="@string/dpad_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="WiimoteRight_4"
                            android:summary="%s"
                            android:title="@string/dpad_right"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote4_ir"
                        android:title="@string/wiimote_ir">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="IRUp_4"
                            android:summary="%s"
                            android:title="@string/ir_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="IRDown_4"
                            android:summary="%s"
                            android:title="@string/ir_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="IRLeft_4"
                            android:summary="%s"
                            android:title="@string/ir_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="IRRight_4"
                            android:summary="%s"
                            android:title="@string/ir_right"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="IRForward_4"
                            android:summary="%s"
                            android:title="@string/ir_forward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="IRBackward_4"
                            android:summary="%s"
                            android:title="@string/ir_backward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="IRHide_4"
                            android:summary="%s"
                            android:title="@string/ir_hide"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote4_swing"
                        android:title="@string/wiimote_swing">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="SwingUp_4"
                            android:summary="%s"
                            android:title="@string/swing_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="SwingDown_4"
                            android:summary="%s"
                            android:title="@string/swing_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="SwingLeft_4"
                            android:summary="%s"
                            android:title="@string/swing_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="SwingRight_4"
                            android:summary="%s"
                            android:title="@string/swing_right"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="SwingForward_4"
                            android:summary="%s"
                            android:title="@string/swing_forward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="SwingBackward_4"
                            android:summary="%s"
                            android:title="@string/swing_backward"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote4_tilt"
                        android:title="@string/wiimote_tilt">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="TiltForward_4"
                            android:summary="%s"
                            android:title="@string/tilt_forward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="TiltBackward_4"
                            android:summary="%s"
                            android:title="@string/tilt_backward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="TiltLeft_4"
                            android:summary="%s"
                            android:title="@string/tilt_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="TiltRight_4"
                            android:summary="%s"
                            android:title="@string/tilt_right"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="TiltModifier_4"
                            android:summary="%s"
                            android:title="@string/tilt_modifier"/>

                        <ListPreference
                            android:dependency="enableWiimote1"
                            android:defaultValue="50,000000"
                            android:key="tiltRange4"
                            android:summary="%s"
                            android:title="@string/modifier_range"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote4_shake"
                        android:title="@string/wiimote_shake">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="ShakeX_4"
                            android:summary="%s"
                            android:title="@string/shake_x"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="ShakeY_4"
                            android:summary="%s"
                            android:title="@string/shake_y"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote1"
                            android:key="ShakeZ_4"
                            android:summary="%s"
                            android:title="@string/shake_z"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_extension4"
                        android:title="@string/preferences_extensions">

                        <!-- Nunchuk 1 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote1"
                            android:key="ExtNunchuk_4"
                            android:title="@string/show_nunchuk">

                            <PreferenceCategory
                                android:key="preferences_nunchuk4_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukC_4"
                                    android:summary="%s"
                                    android:title="@string/nunchuk_button_c"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukZ_4"
                                    android:summary="%s"
                                    android:title="@string/button_z"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk4_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukUp_4"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukDown_4"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukLeft_4"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukRight_4"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="nunchukRadius4"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk4_swing"
                                android:title="@string/wiimote_swing">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingUp_4"
                                    android:summary="%s"
                                    android:title="@string/swing_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingDown_4"
                                    android:summary="%s"
                                    android:title="@string/swing_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingLeft_4"
                                    android:summary="%s"
                                    android:title="@string/swing_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingRight_4"
                                    android:summary="%s"
                                    android:title="@string/swing_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingForward_4"
                                    android:summary="%s"
                                    android:title="@string/swing_forward"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingBackward_4"
                                    android:summary="%s"
                                    android:title="@string/swing_backward"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk4_tilt"
                                android:title="@string/wiimote_tilt">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltForward_4"
                                    android:summary="%s"
                                    android:title="@string/tilt_forward"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltBackward_4"
                                    android:summary="%s"
                                    android:title="@string/tilt_backward"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltLeft_4"
                                    android:summary="%s"
                                    android:title="@string/tilt_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltRight_4"
                                    android:summary="%s"
                                    android:title="@string/tilt_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukModifier_4"
                                    android:summary="%s"
                                    android:title="@string/tilt_modifier"/>

                                <ListPreference
                                    android:defaultValue="50,000000"
                                    android:key="nunchukRange4"
                                    android:summary="%s"
                                    android:title="@string/modifier_range"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk4_shake"
                                android:title="@string/wiimote_shake">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukShakeX_4"
                                    android:summary="%s"
                                    android:title="@string/shake_x"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukShakeY_4"
                                    android:summary="%s"
                                    android:title="@string/shake_y"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukShakeZ_4"
                                    android:summary="%s"
                                    android:title="@string/shake_z"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Classic 1 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote1"
                            android:key="ExtClassic_4"
                            android:title="@string/show_classic">

                            <PreferenceCategory
                                android:key="preferences_classic4_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicA_4"
                                    android:summary="%s"
                                    android:title="@string/button_a"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicB_4"
                                    android:summary="%s"
                                    android:title="@string/button_b"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicX_4"
                                    android:summary="%s"
                                    android:title="@string/button_x"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicY_4"
                                    android:summary="%s"
                                    android:title="@string/button_y"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicMinus_4"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicPlus_4"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicHome_4"
                                    android:summary="%s"
                                    android:title="@string/button_home"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicZL_4"
                                    android:summary="%s"
                                    android:title="@string/classic_button_zl"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicZR_4"
                                    android:summary="%s"
                                    android:title="@string/classic_button_zr"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic4_dpad"
                                android:title="@string/controller_dpad">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicUp_4"
                                    android:summary="%s"
                                    android:title="@string/dpad_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicDown_4"
                                    android:summary="%s"
                                    android:title="@string/dpad_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeft_4"
                                    android:summary="%s"
                                    android:title="@string/dpad_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRight_4"
                                    android:summary="%s"
                                    android:title="@string/dpad_right"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic4_leftstick"
                                android:title="@string/classic_leftstick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickUp_4"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickDown_4"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickLeft_4"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickRight_4"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="classicLRadius4"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic4_rightstick"
                                android:title="@string/classic_rightstick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickUp_4"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickDown_4"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickLeft_4"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickRight_4"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="classicRRadius4"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic4_trig"
                                android:title="@string/controller_trig">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicTriggerL_4"
                                    android:summary="%s"
                                    android:title="@string/trigger_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicTriggerR_4"
                                    android:summary="%s"
                                    android:title="@string/trigger_right"/>

                                <ListPreference
                                    android:defaultValue="90,000000"
                                    android:key="classicThres4"
                                    android:summary="%s"
                                    android:title="@string/analog_threshold"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Guitar 1 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote1"
                            android:key="ExtGuitar_4"
                            android:title="@string/show_guitar">

                            <PreferenceCategory
                                android:key="preferences_guitar4_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarMinus_4"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarPlus_4"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_guitar4_frets"
                                android:title="@string/guitar_frets">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarGreen_4"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_green"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarRed_4"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_red"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarYellow_4"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_yellow"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarBlue_4"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_blue"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarOrange_4"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_orange"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarStrumUp_4"
                                    android:summary="%s"
                                    android:title="@string/guitar_strum_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarStrumDown_4"
                                    android:summary="%s"
                                    android:title="@string/guitar_strum_down"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_guitar4_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarUp_4"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarDown_4"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarLeft_4"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarRight_4"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="guitarRadius4"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_guitar4_whammy"
                                android:title="@string/guitar_whammy">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarWhammy_4"
                                    android:summary="%s"
                                    android:title="@string/guitar_whammy_bar"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Drums 1 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote1"
                            android:key="ExtDrums_4"
                            android:title="@string/show_drums">

                            <PreferenceCategory
                                android:key="preferences_drums4_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsMinus_4"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsPlus_4"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_drums4_pads"
                                android:title="@string/drums_pads">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsRed_4"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_red"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsYellow_4"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_yellow"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsBlue_4"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_blue"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsGreen_4"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_green"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsOrange_4"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_orange"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsBass_4"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_bass"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_drums4_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsUp_4"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsDown_4"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsLeft_4"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsRight_4"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="drumsRadius4"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Turntable 1 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote1"
                            android:key="ExtTurntable_4"
                            android:title="@string/show_turntable">

                            <PreferenceCategory
                                android:key="preferences_turntable4_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableGreenLeft_4"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_green_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRedLeft_4"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_red_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableBlueLeft_4"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_blue_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableGreenRight_4"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_green_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRedRight_4"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_red_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableBlueRight_4"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_blue_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableMinus_4"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntablePlus_4"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableHome_4"
                                    android:summary="%s"
                                    android:title="@string/button_home"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableEuphoria_4"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_euphoria"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable4_lefttable"
                                android:title="@string/turntable_table_left">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableLeftLeft_4"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_left_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableLeftRight_4"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_left_right"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable4_righttable"
                                android:title="@string/turntable_table_right">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRightLeft_4"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_right_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRightRight_4"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_right_right"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable4_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableUp_4"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableDown_4"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableLeft_4"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRight_4"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="turntableRadius4"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable4_eff"
                                android:title="@string/turntable_effect">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableEffDial_4"
                                    android:summary="%s"
                                    android:title="@string/turntable_effect_dial"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable4_cross"
                                android:title="@string/turntable_crossfade">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableCrossLeft_4"
                                    android:summary="%s"
                                    android:title="@string/turntable_crossfade_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableCrossRight_4"
                                    android:summary="%s"
                                    android:title="@string/turntable_crossfade_right"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                    </PreferenceCategory>

                </PreferenceScreen>

                <!-- Wiimote 2 bindings -->
                <PreferenceScreen
                    android:key="wiimote_bindings_5"
                    android:title="@string/wiimote_1">

                    <CheckBoxPreference
                        android:key="enableWiimote2"
                        android:title="@string/enable_wiimote"/>

                    <ListPreference
                        android:dependency="enableWiimote2"
                        android:defaultValue="None"
                        android:entries="@array/wiimoteExtEntries"
                        android:entryValues="@array/wiimoteExtValues"
                        android:key="wiimoteExtension5"
                        android:summary="@string/wiimote_extensions_descrip"
                        android:title="@string/wiimote_extensions"/>

                    <PreferenceCategory
                        android:key="preferences_wiimote5_buttons"
                        android:title="@string/controller_buttons">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="WiimoteA_5"
                            android:summary="%s"
                            android:title="@string/button_a"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="WiimoteB_5"
                            android:summary="%s"
                            android:title="@string/button_b"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="WiimoteMinus_5"
                            android:summary="%s"
                            android:title="@string/button_minus"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="WiimotePlus_5"
                            android:summary="%s"
                            android:title="@string/button_plus"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="WiimoteHome_5"
                            android:summary="%s"
                            android:title="@string/button_home"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="Wiimote1_5"
                            android:summary="%s"
                            android:title="@string/button_one"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="Wiimote2_5"
                            android:summary="%s"
                            android:title="@string/button_two"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote5_dpad"
                        android:title="@string/controller_dpad">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="WiimoteUp_5"
                            android:summary="%s"
                            android:title="@string/dpad_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="WiimoteDown_5"
                            android:summary="%s"
                            android:title="@string/dpad_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="WiimoteLeft_5"
                            android:summary="%s"
                            android:title="@string/dpad_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="WiimoteRight_5"
                            android:summary="%s"
                            android:title="@string/dpad_right"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote5_ir"
                        android:title="@string/wiimote_ir">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="IRUp_5"
                            android:summary="%s"
                            android:title="@string/ir_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="IRDown_5"
                            android:summary="%s"
                            android:title="@string/ir_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="IRLeft_5"
                            android:summary="%s"
                            android:title="@string/ir_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="IRRight_5"
                            android:summary="%s"
                            android:title="@string/ir_right"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="IRForward_5"
                            android:summary="%s"
                            android:title="@string/ir_forward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="IRBackward_5"
                            android:summary="%s"
                            android:title="@string/ir_backward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="IRHide_5"
                            android:summary="%s"
                            android:title="@string/ir_hide"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote5_swing"
                        android:title="@string/wiimote_swing">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="SwingUp_5"
                            android:summary="%s"
                            android:title="@string/swing_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="SwingDown_5"
                            android:summary="%s"
                            android:title="@string/swing_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="SwingLeft_5"
                            android:summary="%s"
                            android:title="@string/swing_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="SwingRight_5"
                            android:summary="%s"
                            android:title="@string/swing_right"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="SwingForward_5"
                            android:summary="%s"
                            android:title="@string/swing_forward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="SwingBackward_5"
                            android:summary="%s"
                            android:title="@string/swing_backward"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote5_tilt"
                        android:title="@string/wiimote_tilt">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="TiltForward_5"
                            android:summary="%s"
                            android:title="@string/tilt_forward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="TiltBackward_5"
                            android:summary="%s"
                            android:title="@string/tilt_backward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="TiltLeft_5"
                            android:summary="%s"
                            android:title="@string/tilt_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="TiltRight_5"
                            android:summary="%s"
                            android:title="@string/tilt_right"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="TiltModifier_5"
                            android:summary="%s"
                            android:title="@string/tilt_modifier"/>

                        <ListPreference
                            android:dependency="enableWiimote2"
                            android:defaultValue="50,000000"
                            android:key="tiltRange5"
                            android:summary="%s"
                            android:title="@string/modifier_range"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote5_shake"
                        android:title="@string/wiimote_shake">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="ShakeX_5"
                            android:summary="%s"
                            android:title="@string/shake_x"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="ShakeY_5"
                            android:summary="%s"
                            android:title="@string/shake_y"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote2"
                            android:key="ShakeZ_5"
                            android:summary="%s"
                            android:title="@string/shake_z"/>

                    </PreferenceCategory>

                    <!-- Nunchuk 2 Bindings -->
                    <PreferenceCategory
                        android:key="preferences_extension5"
                        android:title="@string/preferences_extensions">

                        <PreferenceScreen
                            android:dependency="enableWiimote2"
                            android:key="ExtNunchuk_5"
                            android:title="@string/show_nunchuk">

                            <PreferenceCategory
                                android:key="preferences_nunchuk5_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukC_5"
                                    android:summary="%s"
                                    android:title="@string/nunchuk_button_c"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukZ_5"
                                    android:summary="%s"
                                    android:title="@string/button_z"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk5_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukUp_5"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukDown_5"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukLeft_5"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukRight_5"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="nunchukRadius5"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk5_swing"
                                android:title="@string/wiimote_swing">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingUp_5"
                                    android:summary="%s"
                                    android:title="@string/swing_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingDown_5"
                                    android:summary="%s"
                                    android:title="@string/swing_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingLeft_5"
                                    android:summary="%s"
                                    android:title="@string/swing_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingRight_5"
                                    android:summary="%s"
                                    android:title="@string/swing_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingForward_5"
                                    android:summary="%s"
                                    android:title="@string/swing_forward"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingBackward_5"
                                    android:summary="%s"
                                    android:title="@string/swing_backward"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk5_tilt"
                                android:title="@string/wiimote_tilt">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltForward_5"
                                    android:summary="%s"
                                    android:title="@string/tilt_forward"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltBackward_5"
                                    android:summary="%s"
                                    android:title="@string/tilt_backward"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltLeft_5"
                                    android:summary="%s"
                                    android:title="@string/tilt_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltRight_5"
                                    android:summary="%s"
                                    android:title="@string/tilt_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukModifier_5"
                                    android:summary="%s"
                                    android:title="@string/tilt_modifier"/>

                                <ListPreference
                                    android:defaultValue="50,000000"
                                    android:key="nunchukRange5"
                                    android:summary="%s"
                                    android:title="@string/modifier_range"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk5_shake"
                                android:title="@string/wiimote_shake">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukShakeX_5"
                                    android:summary="%s"
                                    android:title="@string/shake_x"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukShakeY_5"
                                    android:summary="%s"
                                    android:title="@string/shake_y"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukShakeZ_5"
                                    android:summary="%s"
                                    android:title="@string/shake_z"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Classic 2 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote2"
                            android:key="ExtClassic_5"
                            android:title="@string/show_classic">

                            <PreferenceCategory
                                android:key="preferences_classic5_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicA_5"
                                    android:summary="%s"
                                    android:title="@string/button_a"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicB_5"
                                    android:summary="%s"
                                    android:title="@string/button_b"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicX_5"
                                    android:summary="%s"
                                    android:title="@string/button_x"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicY_5"
                                    android:summary="%s"
                                    android:title="@string/button_y"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicMinus_5"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicPlus_5"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicHome_5"
                                    android:summary="%s"
                                    android:title="@string/button_home"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicZL_5"
                                    android:summary="%s"
                                    android:title="@string/classic_button_zl"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicZR_5"
                                    android:summary="%s"
                                    android:title="@string/classic_button_zr"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic5_dpad"
                                android:title="@string/controller_dpad">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicUp_5"
                                    android:summary="%s"
                                    android:title="@string/dpad_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicDown_5"
                                    android:summary="%s"
                                    android:title="@string/dpad_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeft_5"
                                    android:summary="%s"
                                    android:title="@string/dpad_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRight_5"
                                    android:summary="%s"
                                    android:title="@string/dpad_right"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic5_leftstick"
                                android:title="@string/classic_leftstick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickUp_5"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickDown_5"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickLeft_5"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickRight_5"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="classicLRadius5"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic5_rightstick"
                                android:title="@string/classic_rightstick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickUp_5"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickDown_5"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickLeft_5"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickRight_5"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="classicRRadius5"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic5_trig"
                                android:title="@string/controller_trig">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicTriggerL_5"
                                    android:summary="%s"
                                    android:title="@string/trigger_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicTriggerR_5"
                                    android:summary="%s"
                                    android:title="@string/trigger_right"/>

                                <ListPreference
                                    android:defaultValue="90,000000"
                                    android:key="classicThres5"
                                    android:summary="%s"
                                    android:title="@string/analog_threshold"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Guitar 2 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote2"
                            android:key="ExtGuitar_5"
                            android:title="@string/show_guitar">

                            <PreferenceCategory
                                android:key="preferences_guitar5_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarMinus_5"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarPlus_5"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_guitar5_frets"
                                android:title="@string/guitar_frets">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarGreen_5"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_green"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarRed_5"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_red"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarYellow_5"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_yellow"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarBlue_5"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_blue"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarOrange_5"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_orange"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarStrumUp_5"
                                    android:summary="%s"
                                    android:title="@string/guitar_strum_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarStrumDown_5"
                                    android:summary="%s"
                                    android:title="@string/guitar_strum_down"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_guitar5_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarUp_5"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarDown_5"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarLeft_5"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarRight_5"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="guitarRadius5"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_guitar5_whammy"
                                android:title="@string/guitar_whammy">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarWhammy_5"
                                    android:summary="%s"
                                    android:title="@string/guitar_whammy_bar"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Drums 2 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote2"
                            android:key="ExtDrums_5"
                            android:title="@string/show_drums">

                            <PreferenceCategory
                                android:key="preferences_drums5_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsMinus_5"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsPlus_5"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_drums5_pads"
                                android:title="@string/drums_pads">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsRed_5"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_red"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsYellow_5"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_yellow"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsBlue_5"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_blue"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsGreen_5"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_green"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsOrange_5"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_orange"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsBass_5"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_bass"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_drums5_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsUp_5"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsDown_5"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsLeft_5"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsRight_5"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="drumsRadius5"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Turntable 2 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote2"
                            android:key="ExtTurntable_5"
                            android:title="@string/show_turntable">

                            <PreferenceCategory
                                android:key="preferences_turntable5_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableGreenLeft_5"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_green_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRedLeft_5"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_red_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableBlueLeft_5"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_blue_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableGreenRight_5"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_green_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRedRight_5"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_red_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableBlueRight_5"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_blue_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableMinus_5"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntablePlus_5"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableHome_5"
                                    android:summary="%s"
                                    android:title="@string/button_home"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableEuphoria_5"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_euphoria"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable5_lefttable"
                                android:title="@string/turntable_table_left">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableLeftLeft_5"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_left_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableLeftRight_5"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_left_right"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable5_righttable"
                                android:title="@string/turntable_table_right">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRightLeft_5"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_right_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRightRight_5"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_right_right"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable5_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableUp_5"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableDown_5"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableLeft_5"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRight_5"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="turntableRadius5"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable5_eff"
                                android:title="@string/turntable_effect">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableEffDial_5"
                                    android:summary="%s"
                                    android:title="@string/turntable_effect_dial"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable5_cross"
                                android:title="@string/turntable_crossfade">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableCrossLeft_5"
                                    android:summary="%s"
                                    android:title="@string/turntable_crossfade_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableCrossRight_5"
                                    android:summary="%s"
                                    android:title="@string/turntable_crossfade_right"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                    </PreferenceCategory>

                </PreferenceScreen>

                <!-- Wiimote 3 bindings -->
                <PreferenceScreen
                    android:key="wiimote_bindings_6"
                    android:title="@string/wiimote_2">

                    <CheckBoxPreference
                        android:key="enableWiimote3"
                        android:title="@string/enable_wiimote"/>

                    <ListPreference
                        android:dependency="enableWiimote3"
                        android:defaultValue="None"
                        android:entries="@array/wiimoteExtEntries"
                        android:entryValues="@array/wiimoteExtValues"
                        android:key="wiimoteExtension6"
                        android:summary="@string/wiimote_extensions_descrip"
                        android:title="@string/wiimote_extensions"/>

                    <PreferenceCategory
                        android:key="preferences_wiimote6_buttons"
                        android:title="@string/controller_buttons">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="WiimoteA_6"
                            android:summary="%s"
                            android:title="@string/button_a"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="WiimoteB_6"
                            android:summary="%s"
                            android:title="@string/button_b"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="WiimoteMinus_6"
                            android:summary="%s"
                            android:title="@string/button_minus"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="WiimotePlus_6"
                            android:summary="%s"
                            android:title="@string/button_plus"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="WiimoteHome_6"
                            android:summary="%s"
                            android:title="@string/button_home"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="Wiimote1_6"
                            android:summary="%s"
                            android:title="@string/button_one"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="Wiimote2_6"
                            android:summary="%s"
                            android:title="@string/button_two"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote6_dpad"
                        android:title="@string/controller_dpad">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="WiimoteUp_6"
                            android:summary="%s"
                            android:title="@string/dpad_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="WiimoteDown_6"
                            android:summary="%s"
                            android:title="@string/dpad_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="WiimoteLeft_6"
                            android:summary="%s"
                            android:title="@string/dpad_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="WiimoteRight_6"
                            android:summary="%s"
                            android:title="@string/dpad_right"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote6_ir"
                        android:title="@string/wiimote_ir">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="IRUp_6"
                            android:summary="%s"
                            android:title="@string/ir_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="IRDown_6"
                            android:summary="%s"
                            android:title="@string/ir_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="IRLeft_6"
                            android:summary="%s"
                            android:title="@string/ir_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="IRRight_6"
                            android:summary="%s"
                            android:title="@string/ir_right"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="IRForward_6"
                            android:summary="%s"
                            android:title="@string/ir_forward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="IRBackward_6"
                            android:summary="%s"
                            android:title="@string/ir_backward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="IRHide_6"
                            android:summary="%s"
                            android:title="@string/ir_hide"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote6_swing"
                        android:title="@string/wiimote_swing">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="SwingUp_6"
                            android:summary="%s"
                            android:title="@string/swing_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="SwingDown_6"
                            android:summary="%s"
                            android:title="@string/swing_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="SwingLeft_6"
                            android:summary="%s"
                            android:title="@string/swing_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="SwingRight_6"
                            android:summary="%s"
                            android:title="@string/swing_right"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="SwingForward_6"
                            android:summary="%s"
                            android:title="@string/swing_forward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="SwingBackward_6"
                            android:summary="%s"
                            android:title="@string/swing_backward"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote6_tilt"
                        android:title="@string/wiimote_tilt">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="TiltForward_6"
                            android:summary="%s"
                            android:title="@string/tilt_forward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="TiltBackward_6"
                            android:summary="%s"
                            android:title="@string/tilt_backward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="TiltLeft_6"
                            android:summary="%s"
                            android:title="@string/tilt_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="TiltRight_6"
                            android:summary="%s"
                            android:title="@string/tilt_right"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="TiltModifier_6"
                            android:summary="%s"
                            android:title="@string/tilt_modifier"/>

                        <ListPreference
                            android:defaultValue="50,000000"
                            android:key="tiltRange6"
                            android:summary="%s"
                            android:title="@string/modifier_range"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote6_shake"
                        android:title="@string/wiimote_shake">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="ShakeX_6"
                            android:summary="%s"
                            android:title="@string/shake_x"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="ShakeY_6"
                            android:summary="%s"
                            android:title="@string/shake_y"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote3"
                            android:key="ShakeZ_6"
                            android:summary="%s"
                            android:title="@string/shake_z"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_extension6"
                        android:title="@string/preferences_extensions">

                        <!-- Nunchuk 3 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote3"
                            android:key="ExtNunchuk_6"
                            android:title="@string/show_nunchuk">

                            <PreferenceCategory
                                android:key="preferences_nunchuk6_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukC_6"
                                    android:summary="%s"
                                    android:title="@string/nunchuk_button_c"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukZ_6"
                                    android:summary="%s"
                                    android:title="@string/button_z"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk6_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukUp_6"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukDown_6"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukLeft_6"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukRight_6"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="nunchukRadius6"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk6_swing"
                                android:title="@string/wiimote_swing">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingUp_6"
                                    android:summary="%s"
                                    android:title="@string/swing_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingDown_6"
                                    android:summary="%s"
                                    android:title="@string/swing_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingLeft_6"
                                    android:summary="%s"
                                    android:title="@string/swing_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingRight_6"
                                    android:summary="%s"
                                    android:title="@string/swing_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingForward_6"
                                    android:summary="%s"
                                    android:title="@string/swing_forward"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingBackward_6"
                                    android:summary="%s"
                                    android:title="@string/swing_backward"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk6_tilt"
                                android:title="@string/wiimote_tilt">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltForward_6"
                                    android:summary="%s"
                                    android:title="@string/tilt_forward"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltBackward_6"
                                    android:summary="%s"
                                    android:title="@string/tilt_backward"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltLeft_6"
                                    android:summary="%s"
                                    android:title="@string/tilt_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltRight_6"
                                    android:summary="%s"
                                    android:title="@string/tilt_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukModifier_6"
                                    android:summary="%s"
                                    android:title="@string/tilt_modifier"/>

                                <ListPreference
                                    android:defaultValue="50,000000"
                                    android:key="nunchukRange6"
                                    android:summary="%s"
                                    android:title="@string/modifier_range"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk6_shake"
                                android:title="@string/wiimote_shake">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukShakeX_6"
                                    android:summary="%s"
                                    android:title="@string/shake_x"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukShakeY_6"
                                    android:summary="%s"
                                    android:title="@string/shake_y"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukShakeZ_6"
                                    android:summary="%s"
                                    android:title="@string/shake_z"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Classic 3 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote3"
                            android:key="ExtClassic_6"
                            android:title="@string/show_classic">

                            <PreferenceCategory
                                android:key="preferences_classic6_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicA_6"
                                    android:summary="%s"
                                    android:title="@string/button_a"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicB_6"
                                    android:summary="%s"
                                    android:title="@string/button_b"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicX_6"
                                    android:summary="%s"
                                    android:title="@string/button_x"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicY_6"
                                    android:summary="%s"
                                    android:title="@string/button_y"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicMinus_6"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicPlus_6"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicHome_6"
                                    android:summary="%s"
                                    android:title="@string/button_home"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicZL_6"
                                    android:summary="%s"
                                    android:title="@string/classic_button_zl"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicZR_6"
                                    android:summary="%s"
                                    android:title="@string/classic_button_zr"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic6_dpad"
                                android:title="@string/controller_dpad">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicUp_6"
                                    android:summary="%s"
                                    android:title="@string/dpad_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicDown_6"
                                    android:summary="%s"
                                    android:title="@string/dpad_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeft_6"
                                    android:summary="%s"
                                    android:title="@string/dpad_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRight_6"
                                    android:summary="%s"
                                    android:title="@string/dpad_right"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic6_leftstick"
                                android:title="@string/classic_leftstick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickUp_6"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickDown_6"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickLeft_6"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickRight_6"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="classicLRadius6"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic6_rightstick"
                                android:title="@string/classic_rightstick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickUp_6"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickDown_6"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickLeft_6"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickRight_6"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="classicRRadius6"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic6_trig"
                                android:title="@string/controller_trig">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicTriggerL_6"
                                    android:summary="%s"
                                    android:title="@string/trigger_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicTriggerR_6"
                                    android:summary="%s"
                                    android:title="@string/trigger_right"/>

                                <ListPreference
                                    android:defaultValue="90,000000"
                                    android:key="classicThres6"
                                    android:summary="%s"
                                    android:title="@string/analog_threshold"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Guitar 3 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote3"
                            android:key="ExtGuitar_6"
                            android:title="@string/show_guitar">

                            <PreferenceCategory
                                android:key="preferences_guitar6_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarMinus_6"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarPlus_6"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_guitar6_frets"
                                android:title="@string/guitar_frets">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarGreen_6"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_green"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarRed_6"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_red"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarYellow_6"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_yellow"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarBlue_6"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_blue"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarOrange_6"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_orange"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarStrumUp_6"
                                    android:summary="%s"
                                    android:title="@string/guitar_strum_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarStrumDown_6"
                                    android:summary="%s"
                                    android:title="@string/guitar_strum_down"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_guitar6_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarUp_6"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarDown_6"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarLeft_6"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarRight_6"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="guitarRadius6"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_guitar6_whammy"
                                android:title="@string/guitar_whammy">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarWhammy_6"
                                    android:summary="%s"
                                    android:title="@string/guitar_whammy_bar"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Drums 3 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote3"
                            android:key="ExtDrums_6"
                            android:title="@string/show_drums">

                            <PreferenceCategory
                                android:key="preferences_drums6_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsMinus_6"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsPlus_6"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_drums6_pads"
                                android:title="@string/drums_pads">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsRed_6"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_red"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsYellow_6"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_yellow"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsBlue_6"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_blue"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsGreen_6"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_green"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsOrange_6"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_orange"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsBass_6"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_bass"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_drums6_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsUp_6"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsDown_6"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsLeft_6"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsRight_6"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="drumsRadius6"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Turntable 3 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote3"
                            android:key="ExtTurntable_6"
                            android:title="@string/show_turntable">

                            <PreferenceCategory
                                android:key="preferences_turntable6_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableGreenLeft_6"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_green_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRedLeft_6"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_red_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableBlueLeft_6"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_blue_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableGreenRight_6"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_green_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRedRight_6"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_red_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableBlueRight_6"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_blue_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableMinus_6"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntablePlus_6"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableHome_6"
                                    android:summary="%s"
                                    android:title="@string/button_home"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableEuphoria_6"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_euphoria"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable6_lefttable"
                                android:title="@string/turntable_table_left">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableLeftLeft_6"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_left_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableLeftRight_6"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_left_right"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable6_righttable"
                                android:title="@string/turntable_table_right">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRightLeft_6"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_right_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRightRight_6"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_right_right"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable6_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableUp_6"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableDown_6"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableLeft_6"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRight_6"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="turntableRadius6"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable6_eff"
                                android:title="@string/turntable_effect">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableEffDial_6"
                                    android:summary="%s"
                                    android:title="@string/turntable_effect_dial"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable6_cross"
                                android:title="@string/turntable_crossfade">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableCrossLeft_6"
                                    android:summary="%s"
                                    android:title="@string/turntable_crossfade_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableCrossRight_6"
                                    android:summary="%s"
                                    android:title="@string/turntable_crossfade_right"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                    </PreferenceCategory>

                </PreferenceScreen>

                <!-- Wiimote 4 bindings -->
                <PreferenceScreen
                    android:key="wiimote_bindings_7"
                    android:title="@string/wiimote_3">

                    <CheckBoxPreference
                        android:key="enableWiimote4"
                        android:title="@string/enable_wiimote"/>

                    <ListPreference
                        android:dependency="enableWiimote4"
                        android:defaultValue="None"
                        android:entries="@array/wiimoteExtEntries"
                        android:entryValues="@array/wiimoteExtValues"
                        android:key="wiimoteExtension7"
                        android:summary="@string/wiimote_extensions_descrip"
                        android:title="@string/wiimote_extensions"/>

                    <PreferenceCategory
                        android:key="preferences_wiimote7_buttons"
                        android:title="@string/controller_buttons">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="WiimoteA_7"
                            android:summary="%s"
                            android:title="@string/button_a"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="WiimoteB_7"
                            android:summary="%s"
                            android:title="@string/button_b"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="WiimoteMinus_7"
                            android:summary="%s"
                            android:title="@string/button_minus"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="WiimotePlus_7"
                            android:summary="%s"
                            android:title="@string/button_plus"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="WiimoteHome_7"
                            android:summary="%s"
                            android:title="@string/button_home"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="Wiimote1_7"
                            android:summary="%s"
                            android:title="@string/button_one"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="Wiimote2_7"
                            android:summary="%s"
                            android:title="@string/button_two"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote7_dpad"
                        android:title="@string/controller_dpad">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="WiimoteUp_7"
                            android:summary="%s"
                            android:title="@string/dpad_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="WiimoteDown_7"
                            android:summary="%s"
                            android:title="@string/dpad_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="WiimoteLeft_7"
                            android:summary="%s"
                            android:title="@string/dpad_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="WiimoteRight_7"
                            android:summary="%s"
                            android:title="@string/dpad_right"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote7_ir"
                        android:title="@string/wiimote_ir">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="IRUp_7"
                            android:summary="%s"
                            android:title="@string/ir_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="IRDown_7"
                            android:summary="%s"
                            android:title="@string/ir_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="IRLeft_7"
                            android:summary="%s"
                            android:title="@string/ir_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="IRRight_7"
                            android:summary="%s"
                            android:title="@string/ir_right"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="IRForward_7"
                            android:summary="%s"
                            android:title="@string/ir_forward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="IRBackward_7"
                            android:summary="%s"
                            android:title="@string/ir_backward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="IRHide_7"
                            android:summary="%s"
                            android:title="@string/ir_hide"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote7_swing"
                        android:title="@string/wiimote_swing">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="SwingUp_7"
                            android:summary="%s"
                            android:title="@string/swing_up"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="SwingDown_7"
                            android:summary="%s"
                            android:title="@string/swing_down"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="SwingLeft_7"
                            android:summary="%s"
                            android:title="@string/swing_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="SwingRight_7"
                            android:summary="%s"
                            android:title="@string/swing_right"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="SwingForward_7"
                            android:summary="%s"
                            android:title="@string/swing_forward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="SwingBackward_7"
                            android:summary="%s"
                            android:title="@string/swing_backward"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote7_tilt"
                        android:title="@string/wiimote_tilt">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="TiltForward_7"
                            android:summary="%s"
                            android:title="@string/tilt_forward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="TiltBackward_7"
                            android:summary="%s"
                            android:title="@string/tilt_backward"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="TiltLeft_7"
                            android:summary="%s"
                            android:title="@string/tilt_left"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="TiltRight_7"
                            android:summary="%s"
                            android:title="@string/tilt_right"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="TiltModifier_7"
                            android:summary="%s"
                            android:title="@string/tilt_modifier"/>

                        <ListPreference
                            android:defaultValue="50,000000"
                            android:key="tiltRange7"
                            android:summary="%s"
                            android:title="@string/modifier_range"
                            android:entries="@array/analogRangesEntries"
                            android:entryValues="@array/analogRangesValues"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_wiimote7_shake"
                        android:title="@string/wiimote_shake">

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="ShakeX_7"
                            android:summary="%s"
                            android:title="@string/shake_x"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="ShakeY_7"
                            android:summary="%s"
                            android:title="@string/shake_y"/>

                        <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                            android:dependency="enableWiimote4"
                            android:key="ShakeZ_7"
                            android:summary="%s"
                            android:title="@string/shake_z"/>

                    </PreferenceCategory>

                    <PreferenceCategory
                        android:key="preferences_extension7"
                        android:title="@string/preferences_extensions">

                        <!-- Nunchuk 4 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote4"
                            android:key="ExtClassic_7"
                            android:title="@string/show_nunchuk">

                            <PreferenceCategory
                                android:key="preferences_nunchuk7_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukC_7"
                                    android:summary="%s"
                                    android:title="@string/nunchuk_button_c"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukZ_7"
                                    android:summary="%s"
                                    android:title="@string/button_z"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk7_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukUp_7"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukDown_7"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukLeft_7"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukRight_7"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="nunchukRadius7"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk7_swing"
                                android:title="@string/wiimote_swing">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingUp_7"
                                    android:summary="%s"
                                    android:title="@string/swing_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingDown_7"
                                    android:summary="%s"
                                    android:title="@string/swing_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingLeft_7"
                                    android:summary="%s"
                                    android:title="@string/swing_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingRight_7"
                                    android:summary="%s"
                                    android:title="@string/swing_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingForward_7"
                                    android:summary="%s"
                                    android:title="@string/swing_forward"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukSwingBackward_7"
                                    android:summary="%s"
                                    android:title="@string/swing_backward"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk7_tilt"
                                android:title="@string/wiimote_tilt">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltForward_7"
                                    android:summary="%s"
                                    android:title="@string/tilt_forward"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltBackward_7"
                                    android:summary="%s"
                                    android:title="@string/tilt_backward"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltLeft_7"
                                    android:summary="%s"
                                    android:title="@string/tilt_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukTiltRight_7"
                                    android:summary="%s"
                                    android:title="@string/tilt_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukModifier_7"
                                    android:summary="%s"
                                    android:title="@string/tilt_modifier"/>

                                <ListPreference
                                    android:defaultValue="50,000000"
                                    android:key="nunchukRange7"
                                    android:summary="%s"
                                    android:title="@string/modifier_range"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_nunchuk7_shake"
                                android:title="@string/wiimote_shake">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukShakeX_7"
                                    android:summary="%s"
                                    android:title="@string/shake_x"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukShakeY_7"
                                    android:summary="%s"
                                    android:title="@string/shake_y"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="NunchukShakeZ_7"
                                    android:summary="%s"
                                    android:title="@string/shake_z"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Classic 4 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote4"
                            android:key="ExtClassic_7"
                            android:title="@string/show_classic">

                            <PreferenceCategory
                                android:key="preferences_classic7_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicA_7"
                                    android:summary="%s"
                                    android:title="@string/button_a"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicB_7"
                                    android:summary="%s"
                                    android:title="@string/button_b"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicX_7"
                                    android:summary="%s"
                                    android:title="@string/button_x"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicY_7"
                                    android:summary="%s"
                                    android:title="@string/button_y"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicMinus_7"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicPlus_7"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicHome_7"
                                    android:summary="%s"
                                    android:title="@string/button_home"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicZL_7"
                                    android:summary="%s"
                                    android:title="@string/classic_button_zl"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicZR_7"
                                    android:summary="%s"
                                    android:title="@string/classic_button_zr"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic7_dpad"
                                android:title="@string/controller_dpad">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicUp_7"
                                    android:summary="%s"
                                    android:title="@string/dpad_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicDown_7"
                                    android:summary="%s"
                                    android:title="@string/dpad_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeft_7"
                                    android:summary="%s"
                                    android:title="@string/dpad_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRight_7"
                                    android:summary="%s"
                                    android:title="@string/dpad_right"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic7_leftstick"
                                android:title="@string/classic_leftstick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickUp_7"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickDown_7"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickLeft_7"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicLeftStickRight_7"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_left_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="classicLRadius7"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic7_rightstick"
                                android:title="@string/classic_rightstick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickUp_7"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickDown_7"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickLeft_7"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicRightStickRight_7"
                                    android:summary="%s"
                                    android:title="@string/classic_stick_right_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="classicRRadius7"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_classic7_trig"
                                android:title="@string/controller_trig">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicTriggerL_7"
                                    android:summary="%s"
                                    android:title="@string/trigger_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="ClassicTriggerR_7"
                                    android:summary="%s"
                                    android:title="@string/trigger_right"/>

                                <ListPreference
                                    android:defaultValue="90,000000"
                                    android:key="classicThres7"
                                    android:summary="%s"
                                    android:title="@string/analog_threshold"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Guitar 4 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote4"
                            android:key="ExtGuitar_7"
                            android:title="@string/show_guitar">

                            <PreferenceCategory
                                android:key="preferences_guitar7_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarMinus_7"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarPlus_7"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_guitar7_frets"
                                android:title="@string/guitar_frets">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarGreen_7"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_green"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarRed_7"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_red"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarYellow_7"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_yellow"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarBlue_7"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_blue"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarOrange_7"
                                    android:summary="%s"
                                    android:title="@string/guitar_fret_orange"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarStrumUp_7"
                                    android:summary="%s"
                                    android:title="@string/guitar_strum_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarStrumDown_7"
                                    android:summary="%s"
                                    android:title="@string/guitar_strum_down"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_guitar7_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarUp_7"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarDown_7"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarLeft_7"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarRight_7"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="guitarRadius7"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_guitar7_whammy"
                                android:title="@string/guitar_whammy">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="GuitarWhammy_7"
                                    android:summary="%s"
                                    android:title="@string/guitar_whammy_bar"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Drums 4 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote4"
                            android:key="ExtDrums_7"
                            android:title="@string/show_drums">

                            <PreferenceCategory
                                android:key="preferences_drums7_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsMinus_7"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsPlus_7"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_drums7_pads"
                                android:title="@string/drums_pads">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsRed_7"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_red"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsYellow_7"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_yellow"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsBlue_7"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_blue"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsGreen_7"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_green"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsOrange_7"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_orange"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsBass_7"
                                    android:summary="%s"
                                    android:title="@string/drums_pad_bass"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_drums7_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsUp_7"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsDown_7"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsLeft_7"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="DrumsRight_7"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="drumsRadius7"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                        </PreferenceScreen>

                        <!-- Turntable 4 Bindings -->
                        <PreferenceScreen
                            android:dependency="enableWiimote4"
                            android:key="ExtTurntable_7"
                            android:title="@string/show_turntable">

                            <PreferenceCategory
                                android:key="preferences_turntable7_buttons"
                                android:title="@string/controller_buttons">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableGreenLeft_7"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_green_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRedLeft_7"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_red_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableBlueLeft_7"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_blue_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableGreenRight_7"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_green_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRedRight_7"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_red_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableBlueRight_7"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_blue_right"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableMinus_7"
                                    android:summary="%s"
                                    android:title="@string/button_minus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntablePlus_7"
                                    android:summary="%s"
                                    android:title="@string/button_plus"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableHome_7"
                                    android:summary="%s"
                                    android:title="@string/button_home"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableEuphoria_7"
                                    android:summary="%s"
                                    android:title="@string/turntable_button_euphoria"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable7_lefttable"
                                android:title="@string/turntable_table_left">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableLeftLeft_7"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_left_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableLeftRight_7"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_left_right"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable7_righttable"
                                android:title="@string/turntable_table_right">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRightLeft_7"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_right_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRightRight_7"
                                    android:summary="%s"
                                    android:title="@string/turntable_table_right_right"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable7_stick"
                                android:title="@string/wiimote_stick">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableUp_7"
                                    android:summary="%s"
                                    android:title="@string/stick_up"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableDown_7"
                                    android:summary="%s"
                                    android:title="@string/stick_down"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableLeft_7"
                                    android:summary="%s"
                                    android:title="@string/stick_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableRight_7"
                                    android:summary="%s"
                                    android:title="@string/stick_right"/>

                                <ListPreference
                                    android:defaultValue="100,000000"
                                    android:key="turntableRadius7"
                                    android:summary="%s"
                                    android:title="@string/analog_radius"
                                    android:entries="@array/analogRangesEntries"
                                    android:entryValues="@array/analogRangesValues"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable7_eff"
                                android:title="@string/turntable_effect">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableEffDial_7"
                                    android:summary="%s"
                                    android:title="@string/turntable_effect_dial"/>

                            </PreferenceCategory>

                            <PreferenceCategory
                                android:key="preferences_turntable7_cross"
                                android:title="@string/turntable_crossfade">

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableCrossLeft_7"
                                    android:summary="%s"
                                    android:title="@string/turntable_crossfade_left"/>

                                <org.dolphinemu.dolphinemu.utils.InputBindingPreference
                                    android:key="TurntableCrossRight_7"
                                    android:summary="%s"
                                    android:title="@string/turntable_crossfade_right"/>

                             </PreferenceCategory>

                        </PreferenceScreen>

                    </PreferenceCategory>

                </PreferenceScreen>

            </PreferenceCategory>

        </PreferenceScreen>

    </PreferenceCategory>

    <PreferenceCategory
        android:key="preferences_video"
        android:title="@string/preferences_video"><!-- Video Settings -->

        <!-- Video Enhancements -->
        <PreferenceScreen
            android:title="@string/enhancements"
            android:key="enhancements">

            <ListPreference
                android:entries="@array/internalResolutionEntries"
                android:entryValues="@array/internalResolutionValues"
                android:key="internalResolution"
                android:summary="@string/internal_resolution_descrip"
                android:title="@string/internal_resolution"/>

            <ListPreference
                android:entries="@array/FSAAEntries"
                android:entryValues="@array/FSAAValues"
                android:key="FSAA"
                android:summary="@string/FSAA_descrip"
                android:title="@string/FSAA"/>

            <ListPreference
                android:entries="@array/anisotropicFilteringEntries"
                android:entryValues="@array/anisotropicFilteringValues"
                android:key="anisotropicFiltering"
                android:summary="@string/anisotropic_filtering_descrip"
                android:title="@string/anisotropic_filtering"/>

            <ListPreference
                android:key="postProcessingShader"
                android:summary="@string/postprocessing_shader_descrip"
                android:title="@string/postprocessing_shader"/>

            <CheckBoxPreference
                android:defaultValue="true"
                android:key="scaledEFBCopy"
                android:summary="@string/scaled_efb_copy_descrip"
                android:title="@string/scaled_efb_copy"/>

            <CheckBoxPreference
                android:defaultValue="false"
                android:key="perPixelLighting"
                android:summary="@string/per_pixel_lighting_descrip"
                android:title="@string/per_pixel_lighting"/>

            <CheckBoxPreference
                android:defaultValue="false"
                android:key="forceTextureFiltering"
                android:summary="@string/force_texture_filtering_descrip"
                android:title="@string/force_texture_filtering"/>

            <CheckBoxPreference
                android:defaultValue="false"
                android:key="disableFog"
                android:summary="@string/disable_fog_descrip"
                android:title="@string/disable_fog"/>

            <PreferenceScreen
                android:key="StereoscopyScreen"
                android:summary="@string/stereoscopy_descrip"
                android:title="@string/stereoscopy">

                <ListPreference
                    android:entries="@array/stereoscopyEntries"
                    android:entryValues="@array/stereoscopyValues"
                    android:key="stereoscopyMode"
                    android:summary="@string/stereoscopy_mode_descrip"
                    android:title="@string/stereoscopy_mode"/>

                <org.dolphinemu.dolphinemu.utils.SliderPreference
                    android:defaultValue="20"
                    android:key="stereoDepth"
                    android:max="100"
                    android:summary="@string/sterescopy_depth_descrip"
                    android:title="@string/sterescopy_depth"/>

                <org.dolphinemu.dolphinemu.utils.SliderPreference
                    android:defaultValue="20"
                    android:key="stereoConvergence"
                    android:max="500"
                    android:summary="@string/convergence_descrip"
                    android:title="@string/convergence"/>

                <CheckBoxPreference
                    android:defaultValue="false"
                    android:key="stereoSwapEyes"
                    android:summary="@string/swap_eyes_descrip"
                    android:title="@string/swap_eyes"/>
            </PreferenceScreen>
        </PreferenceScreen>

        <!-- Video Hacks -->
        <PreferenceScreen
            android:title="@string/hacks"
            android:key="hacks">
            <PreferenceCategory android:title="@string/embedded_frame_buffer">

                <CheckBoxPreference
                    android:defaultValue="false"
                    android:key="skipEFBAccess"
                    android:summary="@string/skip_efb_access_descrip"
                    android:title="@string/skip_efb_access"/>

                <CheckBoxPreference
                    android:defaultValue="true"
                    android:key="ignoreFormatChanges"
                    android:summary="@string/ignore_format_changes_descrip"
                    android:title="@string/ignore_format_changes"/>

                <ListPreference
                    android:defaultValue="Texture"
                    android:entries="@array/efbCopyMethodEntries"
                    android:entryValues="@array/efbCopyMethodValues"
                    android:key="efbCopyMethod"
                    android:summary="@string/efb_copy_method_descrip"
                    android:title="@string/efb_copy_method"/>

            </PreferenceCategory>

            <!-- Texture Cache -->
            <PreferenceCategory android:title="@string/texture_cache">
                <ListPreference
                    android:defaultValue="Low"
                    android:entries="@array/textureCacheAccuracyEntries"
                    android:entryValues="@array/textureCacheAccuracyValues"
                    android:key="textureCacheAccuracy"
                    android:summary="@string/texture_cache_accuracy_descrip"
                    android:title="@string/texture_cache_accuracy"/>
            </PreferenceCategory>

            <!-- External Frame Buffer -->
            <PreferenceCategory android:title="@string/external_frame_buffer">
                <ListPreference
                    android:defaultValue="Disabled"
                    android:entries="@array/externalFrameBufferEntries"
                    android:entryValues="@array/externalFrameBufferValues"
                    android:key="externalFrameBuffer"
                    android:summary="@string/external_frame_buffer_descrip"
                    android:title="@string/external_frame_buffer"/>
            </PreferenceCategory>


            <!-- Other Hacks -->
            <PreferenceCategory android:title="@string/other">

                <CheckBoxPreference
                    android:defaultValue="true"
                    android:key="fastDepthCalculation"
                    android:summary="@string/fast_depth_calculation_descrip"
                    android:title="@string/fast_depth_calculation"/>

                <ListPreference
                    android:defaultValue="0"
                    android:entries="@array/aspectRatioEntries"
                    android:entryValues="@array/aspectRatioValues"
                    android:key="aspectRatio"
                    android:summary="@string/aspect_ratio_descrip"
                    android:title="@string/aspect_ratio"/>

            </PreferenceCategory>
        </PreferenceScreen>

        <ListPreference
            android:key="gpuPref"
            android:summary="@string/video_backend_desc"
            android:title="@string/video_backend"/>

        <CheckBoxPreference
            android:key="showFPS"
            android:summary="@string/show_fps_descrip"
            android:title="@string/show_fps"/>

    </PreferenceCategory>

    <!-- TODO Add the About information here too. -->
</PreferenceScreen>
