This commit is contained in:
Epic Studios 2024-03-29 04:35:46 +02:00
parent d4ead721bc
commit 2a4cb18fb8
2 changed files with 6 additions and 24 deletions

View file

@ -1,21 +1,3 @@
/*
Copyright (C) Max Kastanas 2012
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
package com.vectras.qemu;
import static android.os.Build.VERSION.SDK_INT;
@ -695,7 +677,7 @@ public class MainSettingsManager extends AppCompatActivity
public static String getMouse(Activity activity) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(activity);
return prefs.getString("mouse", "usb-mouse");
return prefs.getString("mouse", "ps2-mouse");
}
public static void setKeyboard(Activity activity, String type) {
@ -707,7 +689,7 @@ public class MainSettingsManager extends AppCompatActivity
public static String getKeyboard(Activity activity) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(activity);
return prefs.getString("keyboard", "usb-kbd");
return prefs.getString("keyboard", "ps2-kbd");
}
public static void setAvx(Activity activity, boolean AVX) {