[Android-overlay] Disable Wiimote configuration until it is wired up.

This commit is contained in:
Ryan Houdek 2013-11-29 21:12:24 -06:00
parent f6e89356c7
commit 00a25cdaf5
2 changed files with 6 additions and 6 deletions

View File

@ -446,6 +446,7 @@
</PreferenceScreen>
<!-- Wiimote controller bindings -->
<!--
<PreferenceScreen
android:key="wiimote_bindings"
android:title="@string/wiimote_bindings">
@ -1042,5 +1043,5 @@
android:key="WiimoteShakeZ_4"
android:title="@string/shake_z"/>
</PreferenceScreen>
</PreferenceScreen>
</PreferenceScreen> -->
</PreferenceScreen>

View File

@ -6,18 +6,17 @@
package org.dolphinemu.dolphinemu.settings.input;
import java.util.List;
import android.app.Fragment;
import android.os.Build;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.PreferenceFragment;
import android.view.InputDevice;
import org.dolphinemu.dolphinemu.NativeLibrary;
import org.dolphinemu.dolphinemu.R;
import java.util.List;
/**
* The {@link Fragment} responsible for implementing the functionality
* within the input control mapping config.
@ -64,12 +63,12 @@ public final class InputConfigFragment extends PreferenceFragment
}
// Loop through the keys for the Wiimote
for (String key : wiimoteKeys)
/*for (String key : wiimoteKeys)
{
final String binding = NativeLibrary.GetConfig("Dolphin.ini", "Android", key+"_"+i, "None");
final Preference pref = findPreference(key+"_"+i);
pref.setSummary(binding);
}
}*/
}
}