olegos2 / mobox

2.79k stars 119 forks source link

IB xinput gamepad won't work #125

Open XenoNolet opened 8 months ago

XenoNolet commented 8 months ago

I tried to map virtual Xbox gamepad (which works perfectly on box64droid), but Mobox work only with virtual keyboard buttons. Game controllers app in control panel don't showing any gamepads. If this is a bug, please fix it. Device: Samsung Galaxy s10e Snapdragon 855 8/256

olegos2 commented 8 months ago

Known issue since release. Wontfix until I find proper way to make gamepad work without root

777Raim commented 8 months ago

Are there any deadlines? Winlator recieved support in the last update (but it has own input control). But InputBridge doesn't want to work at Winlator (it works but only a keyboard events as at Mobox). Thanks

freel2017 commented 7 months ago

Known issue since release. Wontfix until I find proper way to make gamepad work without root

I have root, say how fix it please :(

ynixt commented 6 months ago

Known issue since release. Wontfix until I find proper way to make gamepad work without root

If you allow me to try to help you with ideas, @olegos2 : there's an app called Winlator where the gamepad works without root. If you see the source code you will see the idea behind is very cool:

The problem here on Mobox is that we don't have an app, right? But if we make a fake keyboard? This keyboard will be responsible for listening to the input and send to the socket. I know.. is ugly, but this can be the start of a great idea :)

Ilan12346-maya commented 5 months ago

The problem here on Mobox is that we don't have an app, right? But if we make a fake keyboard? This keyboard will be responsible for listening to the input and send to the socket. I know.. is ugly, but this can be the start of a great idea :)

First ugly build https://github.com/Ilan12346-maya/XinputBridge

ynixt commented 5 months ago

The problem here on Mobox is that we don't have an app, right? But if we make a fake keyboard? This keyboard will be responsible for listening to the input and send to the socket. I know.. is ugly, but this can be the start of a great idea :)

First ugly build https://github.com/Ilan12346-maya/XinputBridge

Awesome! Really awesome. Congrats!

Unfortunately, I was not able to get this working with wine-ge-custom-8-25, but I got this working with wine-9.3-vanilla-wow64 and wine-8.0.2

Here is the command line that I used in termux

for wine-9.3-vanilla-wow64

cp -r /storage/emulated/0/Download/winefiles/winefiles/32/* $PREFIX/glibc/wine-9.3-vanilla-wow64/lib/wine/i386-windows
cp -r /storage/emulated/0/Download/winefiles/winefiles/64/* $PREFIX/glibc/wine-9.3-vanilla-wow64/lib/wine/x86_64-windows

for wine-8.0.2

cp -r /storage/emulated/0/Download/winefiles/winefiles/32/* $PREFIX/glibc/wine-8.0.2/lib/wine/i386-windows/
cp -r /storage/emulated/0/Download/winefiles/winefiles/64/* $PREFIX/glibc/wine-8.0.2/lib/wine/x86_64-windows/

for wine-ge-custom-8-25 (not working)

cp -r /storage/emulated/0/Download/winefiles/winefiles/32/* $PREFIX/glibc/wine-ge-custom-8-25/lib/wine/i386-windows/
cp -r /storage/emulated/0/Download/winefiles/winefiles/64/* $PREFIX/glibc/wine-ge-custom-8-25/lib64/wine/x86_64-windows/