🖱️ Mouse & Keyboard Issues
Mouse/Cursor warp issues and view snapping in interaction mode
This issue can also manifest as some main menu buttons not working due to the cursor actually being offset
Switch to the game’s software cursor. Create a user.cfg file in the LIVE, PTU, EPTU, TECH-PREVIEW directory with the following contents:
#use software cursor
pl_pit.forceSoftwareCursor = 1
Alternatively, you may choose Xorg at your login screen instead of Wayland session. Other potential workarounds:
- Use LUG Wine 10.15-1 or newer with the game’s borderless windowed mode
- Experimental LUG Wine Wayland helps mitigate this for some
- Proton helps mitigate this for some
- Gamescope helps mitigate this for sonav_order: 3me
- Note for Nvidia users: Gamescope may not work on your hardware. See a possible fix
- Install and enable gamescope. Set these options for your display resolution
-W 2560 -H 1440 --force-grab-cursor - Other Gamescope settings that may be required depending on your system:
Window Modeset toFullscreenif it doesn’t launch fullscreen,-ginCustom Settingsto grab keyboard
- Switching to an alternate desktop environment may help; most Gnome users don’t seem to experience this issue
- You may try building xwayland with this patch applied. If using KDE and patching xwayland, you will also need to install Gamescope and use the
--force-grab-cursoroption
Mouse/Cursor restricted to a region smaller than the display, or clicks offset from cursor
- Create a user.cfg file in the LIVE, PTU, EPTU, TECH-PREVIEW directory
#set to your display resolution) tech support r_width = 3440 r_height = 1440 - Hyprland users: Try using the in-game fullscreen option instead of the Hyprland equivalent.
Mouse cursor escaping the game window
- Opening and closing game menu with the escape key usually recaptures the mouse
- You may also try adding a registry key to your Wine prefix:
- Use the
sc-launch.shlaunch script to open a Wine maintenance shell then run:wine reg add 'HKEY_CURRENT_USER\Software\Wine\X11 Driver' /t REG_SZ /v UseTakeFocus /d N /fNote: If using a third party launcher instead of the native Wine install, you’ll need to prepend
WINEPREFIX=/path/to/prefixbefore the above command.
- Use the
Non-US keyboard keys not working
- Use the LUG Helper to switch to a wine with staging in the name
- Use the LUG Helper Maintenance menu
Open Wine prefix configurationbutton to run winecfg - In the Input tab->Keyboard Settings, select your language from the list
- Keyboard scancode auto-detection may have to be enabled or disabled depending on your hardware. Try both.
- If the above doesn’t work, use the Lug Helper to edit your launch script to set the
export LANG=environment variable. You may need to switch to a staging runner besides LUG-Wine.################################################################ # Configure the environment # Add additional environment variables here as needed ################################################################ export LANG=de_DE