Skip to content

Commit 2b950e8

Browse files
Add Mouse cursor unlocks from game when using controller
1 parent 1025e8b commit 2b950e8

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Configure the Input Filter
2+
3+
You can force your input device and override the behavior like this
4+
5+
- Press the pencil icon to edit your profile
6+
7+
<img width="752" alt="Image" src="https://github.com/user-attachments/assets/e5aed881-38e8-4d70-bdd2-57f1f64b594f" />
8+
9+
- Press expand advanced
10+
11+
<img width="752" alt="Image" src="https://github.com/user-attachments/assets/77a4fb0b-7a09-40b3-972d-3af8aa98e1e5" />
12+
13+
- Scroll down to Environment Variables and Click "Add new Variable"
14+
15+
<img width="752" alt="Image" src="https://github.com/user-attachments/assets/bf6d70c7-2360-4de6-badd-af74d51eef8f" />
16+
17+
- Enter Key `MCPELAUNCHER_CLIENT_FORCED_INPUT_MODE` and value `2` (Gamepad Only) (`0` Touch Only, `1` Mouse + Keyboard Only) then press Save like this
18+
19+
<img width="752" alt="Image" src="https://github.com/user-attachments/assets/8ca89f21-db97-4809-a0a0-e320ff3b18ad" />
20+
21+
The launcher would now refuse to recognize any mouse, keyboard, touch input events that your drivers seem to randomly send to the launcher this confuses the game so the launcher filters them and not all software devices work well with it.
22+
23+
24+
If you don't like the input filter and think the game don't get confused you use this Key `MCPELAUNCHER_CLIENT_RAW_INPUT` with value `1`

src/troubleshooting/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ controller.
7575
Under Linux, you may have to plug the controller **after** launching the
7676
game.
7777

78+
### Mouse cursor unlocks from game when using controller
79+
80+
You can try
81+
- Disable Mouse Emulation for Gamepad
82+
- [Configure the Input Filter](./configure-input-filter/index.md)
83+
7884
## Game launcher
7985

8086
### Graphics performance issues (software rendering) - `EGLUT: failed to initialize EGL display...`

0 commit comments

Comments
 (0)