diff --git a/app/src/main/java/com/vectras/qemu/MainSettingsManager.java b/app/src/main/java/com/vectras/qemu/MainSettingsManager.java index b68c5f9..028eafa 100644 --- a/app/src/main/java/com/vectras/qemu/MainSettingsManager.java +++ b/app/src/main/java/com/vectras/qemu/MainSettingsManager.java @@ -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) { diff --git a/app/src/main/res/values/array.xml b/app/src/main/res/values/array.xml index 0b6bbd7..6ed02b1 100644 --- a/app/src/main/res/values/array.xml +++ b/app/src/main/res/values/array.xml @@ -53,21 +53,21 @@ virtio - USB KEYBOARD PS2 KEYBOARD + USB KEYBOARD - usb-kbd ps2-kbd + usb-kbd - USB PS2 + USB USB TABLET - usb-mouse ps2-mouse + usb-mouse usb-tablet