Android: Add custom control scaling
Also put all touch control settings under a "Configure Controls" submenu so the in-game menu isn't so cluttered.
This commit is contained in:
1 parent
283c681f30
commit
05f78a7707
6 files changed
+117
-38
No files matched your search
@@ -9,12 +9,12 @@
|
||||
android:id="@+id/seekbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/spacing_xlarge"
|
||||
android:layout_marginRight="@dimen/spacing_xlarge"
|
||||
android:layout_marginLeft="@dimen/spacing_large"
|
||||
android:layout_marginRight="@dimen/spacing_large"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_below="@+id/text_value"
|
||||
android:layout_marginBottom="@dimen/spacing_xlarge"/>
|
||||
android:layout_marginBottom="@dimen/spacing_medlarge"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -23,8 +23,8 @@
|
||||
android:id="@+id/text_value"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/spacing_xlarge"
|
||||
android:layout_marginBottom="@dimen/spacing_large"/>
|
||||
android:layout_marginTop="@dimen/spacing_medlarge"
|
||||
android:layout_marginBottom="@dimen/spacing_medlarge"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -25,18 +25,6 @@
|
||||
android:title="@string/emulation_quickload"
|
||||
/>
|
||||
|
||||
<!-- Enable/Disable Input Overlay -->
|
||||
<item
|
||||
android:id="@+id/menu_emulation_input_overlay"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/emulation_toggle_input"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_emulation_configure_controls"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/emulation_configure_controls">
|
||||
</item>
|
||||
|
||||
<!-- Save State Slots -->
|
||||
<item
|
||||
android:id="@+id/menu_emulation_save_root"
|
||||
@@ -92,4 +80,23 @@
|
||||
android:title="@string/overlay_slot5"/>
|
||||
</menu>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_emulation_configure_controls"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/emulation_configure_controls">
|
||||
<menu>
|
||||
<item
|
||||
android:id="@+id/menu_emulation_edit_layout"
|
||||
android:title="@string/emulation_edit_layout"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_emulation_toggle_controls"
|
||||
android:title="@string/emulation_toggle_controls"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_emulation_adjust_scale"
|
||||
android:title="@string/emulation_control_scale"/>
|
||||
</menu>
|
||||
</item>
|
||||
</menu>
|
||||
@@ -211,7 +211,7 @@
|
||||
<item>2</item>
|
||||
<item>+</item>
|
||||
<item>-</item>
|
||||
<item>Home</item>
|
||||
<item>Home</item>
|
||||
<item>C</item>
|
||||
<item>Z</item>
|
||||
<item>D-Pad</item>
|
||||
|
||||
@@ -355,13 +355,15 @@
|
||||
<string name="dialog_seekbar_neg">Cancel</string>
|
||||
|
||||
<!-- Emulation Menu -->
|
||||
<string name="emulation_toggle_input">Toggle Touch Controls</string>
|
||||
<string name="emulation_toggle_all">Toggle All</string>
|
||||
<string name="emulation_quicksave">Quick Save</string>
|
||||
<string name="emulation_quickload">Quick Load</string>
|
||||
<string name="emulation_refresh_wiimotes">Refresh Wiimotes</string>
|
||||
<string name="emulation_configure_controls">Configure Controls</string>
|
||||
<string name="emulation_edit_layout">Edit Layout</string>
|
||||
<string name="emulation_done">Done</string>
|
||||
<string name="emulation_toggle_controls">Toggle Controls</string>
|
||||
<string name="emulation_toggle_all">Toggle All</string>
|
||||
<string name="emulation_control_scale">Adjust Scale</string>
|
||||
|
||||
<!-- GC Adapter Menu-->
|
||||
<string name="gc_adapter_rumble">Enable Vibration</string>
|
||||
|
||||
Reference in new issue
Block a user