diff --git a/src/android/app/src/main/java/org/citra/citra_emu/vr/ui/VrRibbonLayer.kt b/src/android/app/src/main/java/org/citra/citra_emu/vr/ui/VrRibbonLayer.kt index 67f4b6530..7bd82d425 100644 --- a/src/android/app/src/main/java/org/citra/citra_emu/vr/ui/VrRibbonLayer.kt +++ b/src/android/app/src/main/java/org/citra/citra_emu/vr/ui/VrRibbonLayer.kt @@ -18,19 +18,6 @@ class VrRibbonLayer(activity: VrActivity) : VrUILayer(activity, R.layout.vr_ribb else NativeLibrary.ButtonState.RELEASED) false } - window?.findViewById(R.id.buttonHome)?.setOnTouchListener { view, motionEvent -> - if (motionEvent.action == MotionEvent.ACTION_DOWN) { - (view as ImageButton).setImageResource(R.drawable.button_home_pressed) - } else { - (view as ImageButton).setImageResource(R.drawable.button_home) - } - NativeLibrary.onGamePadEvent(NativeLibrary.TouchScreenDevice, - NativeLibrary.ButtonType.BUTTON_HOME, - if (motionEvent.action == MotionEvent.ACTION_DOWN) - NativeLibrary.ButtonState.PRESSED - else NativeLibrary.ButtonState.RELEASED) - false - } window?.findViewById