olegos2 / mobox

2.75k stars 118 forks source link

USB keyboard and mouse support (Nubia Red Magic 9 Pro) #409

Open PadMadoff opened 4 months ago

PadMadoff commented 4 months ago

I tried connect otg hub with keyboard and mouse to my Nubia Red Magic 9 Pro, but for example i can't move in Lethal Company and can't look around. Only Right Mouse click working. Android: 14 Build variant: wow64

RomzesRover commented 2 weeks ago

In general, I figured out how to "properly" connect the keyboard and mouse so that everything works, and the FPS doesn't drop.

I’m using Termux, Termux:X11, from the Mobox page. Accordingly, I'm using the Mobox Wine 9.3-vanilla-wow64 version.

The Input Bridge app needs to be completely closed (or even deleted).

In the X11 settings, enable the following: "Capture external mouse when possible" and "Prefer scancodes when possible." The rest of the settings are up to you.

Launch Mobox. When the desktop appears, you need to kill the ib.exe application. Be sure to kill it through Task Manager or check after closing to ensure it's no longer there because if you close it from the system tray with a right-click, the application remains in memory.

Open the desired game. Check if it works.

If the game does not respond to keyboard inputs, press F5; the desktop and Task Manager will open. Just close the Task Manager and switch back to the game. Everything should work.