Swordfish90 / Lemuroid

All in one emulator on Android!
GNU General Public License v3.0
2.58k stars 164 forks source link

Gamepad not working on Android 9 #300

Open papernoise opened 3 years ago

papernoise commented 3 years ago

I'm using Lemuroid (F-Droid version) on a Fairphone 2 with the latest FPOpen firmware installed (afaik based on Android 9). Everything runs fine, but the gamepad doesn't work in the games. Interestingly it works in the main menu, I can select and launch games, but once I am in the game it doesn't work anymore. I've tried with a couple of gameboy and some NES games.

The gamepad is an old Logitech Precison one. It's a very basic device, but definitely enough to play old Gameboy games.

Jejebond commented 3 years ago

Same here on a chromebook with xbox one s controller.

sonictruth commented 3 years ago

Same here on a Chromebook using https://github.com/jehervy/node-virtual-gamepads . In works in Retropie for android but not in Lemuroid. Only the D-PAD works and only in the menu.

sonictruth commented 3 years ago

It seems that, at least on ChromeOS

To fix that I changed the fallowing lines:

https://github.com/sonictruth/Lemuroid/commit/39df3f5d10abe72e175076761daed84649c8f76b

The controller is working inside the game but not on the main menu. Also there is another unrelated issue that if you have two controllers on the second one the d-pad is not working. I think this is a libretro bug.

ghost commented 2 years ago

Please fix gamepad not working in Samsung android 11. Iove lemuroid from before but I am forced to use retroarch which I am not a big fan of since the gamepad doesn't work on samsung android 11.

nsrosenqvist commented 2 years ago

Same issue here on Samsung

Warden20 commented 2 years ago

Bug: The gamepad does not work inside the game, but it works in the Lemuroid menus. When I was using android webview everything worked fine but I installed bromite webview and it stopped recognizing the control. What could be the problem?

Os: Android 11 Linageos 18.1 Webview:Bromite Poco X3 NFC

Tubbles commented 2 years ago

Bug: The gamepad does not work inside the game, but it works in the Lemuroid menus. When I was using android webview everything worked fine but I installed bromite webview and it stopped recognizing the control. What could be the problem?

Os: Android 11 Linageos 18.1 Webview:Bromite Poco X3 NFC

Same here Os lineageos 18.1-20220110-NIGHTLY-oneplus3 Android 11 Oneplus 3 8bitdo sn30 pro controller

thiago-scherrer commented 2 years ago

Here too, Amazon fire hd. Only working on menu

DaniJohni commented 6 months ago

Same here, Raspberry pi Lineage OS, the gamepad does not work inside the game, but it works in the Lemuroid menus

ronakg commented 3 months ago

I'm having the same issue. I have two 8BitDo controllers that I've attached to my Nvidia Shield TV via bluetooth. The first controller works as expected. But the second controller's d-pad doesn't work in games. I can use the action buttons for jump/shoot etc., but the d-pad doesn't work for moving left/right/up/down. When I go to the controller setting, there's no way to reassign the d-pad buttons either.

Is there a workaround for this issue? Am I missing some configuration?