[gnome-games] retro-gamepad: Always return JOYPAD type
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] retro-gamepad: Always return JOYPAD type
- Date: Mon, 3 Feb 2020 14:38:05 +0000 (UTC)
commit a65be791f190de91b8ee69765add393a24a7237a
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Feb 3 19:36:40 2020 +0500
retro-gamepad: Always return JOYPAD type
Looks like ANALOG type is breaking some cores, in particular, Beetle Saturn
and Flycast. Also Beetle PCE Fast, but it's already fixed.
src/retro/retro-gamepad.vala | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/retro/retro-gamepad.vala b/src/retro/retro-gamepad.vala
index 637f8438..a046422d 100644
--- a/src/retro/retro-gamepad.vala
+++ b/src/retro/retro-gamepad.vala
@@ -44,9 +44,6 @@ private class Games.RetroGamepad : Object, Retro.Controller {
}
public Retro.ControllerType get_controller_type () {
- if (present_analog_sticks)
- return Retro.ControllerType.ANALOG;
-
return Retro.ControllerType.JOYPAD;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]