libTAS icon indicating copy to clipboard operation
libTAS copied to clipboard

Cursor issue in OpenMW

Open clementgallet opened this issue 5 years ago • 1 comments

From Andy:

I've been experimenting with libTAS (1.4.0) and OpenMW (Morrowind) on WSL2 with vcxsrv following the instructions on the libTAS readme. However, I'm having a couple issues related to the mouse:Mouse clicks (for sure RMB but maybe also LMB) don't seem to pass through and I can't set them to in libTAS (nothing happens when I click the buttons in the libTAS "Press a key" screen Additionally, the cursor doesn't show up in openMW when I run it through libTAS (but does show up when I run it directly), which makes it impossible to calibrate the Xserver cursor to the game one. Finally, the game never captures my cursor when I'm in first person mode, restricting the ability to look around when the Xserver cursor hits the edge of my display.

clementgallet avatar Dec 11 '20 18:12 clementgallet

About the different issues:

  • I didn't go far enough into the game to encounter a situation where right click is used. Left click works for menus. Can you describe an example where a mouse click does not work in libTAS?
  • You don't have to change anything in the input mapping window if you don't want to change mouse mapping. Also, you can only map keys to inputs, not mouse clicks.
  • Yes, libTAS hides custom cursors, it was needed for one game that I don't remember, to prevent a crash. One feature I will implement to solve this issue is to allow games to warp the cursor (with an option), so that system cursor and game cursor are synced.
  • Yeah, one way to get the same behavior is to enable both "mouse relative mode" and "warp mouse to center each frame"

clementgallet avatar Dec 12 '20 17:12 clementgallet