Closed IntinteDAO closed 1 year ago
I am pretty sure that it is the same problem as in the case of CS1.6
https://github.com/termux/termux-x11/assets/9674930/d9b47b21-6a43-4872-8d0b-4b18b751356a
Termux:X11 sends absolute coordinates of mouse event and currently there is no way to override this.
Hmm, too bad. However, is this 'fixable' in the distant future? Because I wonder whether to try to port Linux games that require mouse rotation.
I wonder if Termux X11 can't emulate a Gamepad. On the one hand, that's not what it's for, but on the other hand, maybe it can be made to be a provider?
It wouldn't solve the problem, but for some people maybe it would go around if you could play with the help of a game pad.
Some people use so-called "input bridge" with wine for this.
@twaik Yep, I know input bridge, but I thinking about physical gamepad, like Xbox pad. I'm not sure how to use USB Gamepad in Termux (termux-usb I think?), but I wondering is it possible to use "fake gamepad" in Termux X11 like a some devices that can be handled by X11 (Tablets, Keyboards, Mouse).
I checked it with https://gamaverse.com/parkour-block-2-game/ so I am pretty sure it works well. Mouse acceleration can be adjusted with XFCE settings
It is possible to run Mouse Capture in Termux. If you play a game, for example krunker.io in browser, it's technically too sensitive for use.
The mouse behaves as if it is switching very aggressively to the other side, making it impossible to play. https://tube.midov.pl/w/2sJyCDvdbCgwr3Rjc1yQPW