From a63cede6bc0811b541c328a31266b75f55252f38 Mon Sep 17 00:00:00 2001 From: TwistedUmbrella Date: Thu, 23 Jan 2014 00:18:11 -0500 Subject: [PATCH 1/7] Add a generic function to modify the button assignments This should support a per-player option in the future. --- shell/android/res/layout/input_fragment.xml | 11 + .../android/res/layout/input_mod_fragment.xml | 335 +++++++++++++ shell/android/res/values/strings.xml | 4 + .../com/reicast/emulator/GL2JNIActivity.java | 446 ++++++++++-------- .../com/reicast/emulator/InputFragment.java | 18 +- .../reicast/emulator/InputModFragment.java | 239 ++++++++++ .../src/com/reicast/emulator/MOGAInput.java | 47 +- 7 files changed, 904 insertions(+), 196 deletions(-) create mode 100644 shell/android/res/layout/input_mod_fragment.xml create mode 100644 shell/android/src/com/reicast/emulator/InputModFragment.java diff --git a/shell/android/res/layout/input_fragment.xml b/shell/android/res/layout/input_fragment.xml index bdde31490..cf0007d6a 100644 --- a/shell/android/res/layout/input_fragment.xml +++ b/shell/android/res/layout/input_fragment.xml @@ -252,6 +252,17 @@ android:text="@string/remove" /> + + +