Hi @wmrom, welcome to the forum!
Sadly, I haven’t had the financial capacity to be able to get my hands on a GPD Win Max 2 to play around with, but I wrote the guides on most of the other GPD devices.
It’s highly likely that “Mouse for Windows
” actually is your gamepad. GPD devices usually come with a hardware switch somewhere on the laptop that will change the identifier of the joystick to and from “Mouse for Windows
” and “Xbox 360 Controller
”.
When the gamepad is set to being “Mouse for Windows
”, the on-board gamepad firmware usually maps the controls like this (at least, on the GPD Win Max 1 models):
Button |
Function |
Left Joystick Up |
W Key |
Left Joystick Down |
S Key |
Left Joystick Left |
A Key |
Left Joystick Right |
D Key |
|
|
Right Joystick Up |
Cursor Up |
Right Joystick Down |
Cursor Down |
Right Joystick Left |
Cursor Left |
Right Joystick Right |
Cursor Right |
|
|
L1 Button |
Left-click |
L2 Button |
Middle-click |
R1 Button |
Right-click |
R2 Button |
Move the cursor faster |
|
|
D-Pad Up |
Mouse Scroll Up |
D-Pad Down |
Mouse Scroll Down |
D-Pad Left |
Page Up |
D-Pad Right |
Page Down |
|
|
Y (Triangle) Button |
Up Arrow |
A (X) Button |
Down Arrow |
X (Square) Button |
Left Arrow |
B (Circle) Button |
Right Arrow |
Start |
Nothing |
Select |
Nothing |
Menu |
Nothing |
Most GPD devices come with the following:
Interface |
Device Model |
Device Name |
i2c |
GXTP7385 |
Goodix Capacitive TouchScreen |
i2c |
PNP0C50 |
Mouse/Trackpad |
USB |
2f24:0118 |
Mouse for Windows |
USB |
045e:028e |
Microsoft Corp. Xbox360 Controller |
Newer models also come with accelerometers, gyroscopes, temperature sensors, and fingerprint readers, which are connected via i2c.
A quick search online showed this, but honestly I don’t know how much help it may be: GitHub - Sabrina-Fox/WM2-Help: GPD Win Max 2 Wiki/Guide
I agree with you on this. I have gotten used to it, but at first it was pretty jarring…
The “Mouse for Windows
” should automatically be picked up by sys-usb
and a qubes.InputMouse
dialog box should show up, asking you to confirm it’s attachment to dom0.
Does this not happen…?
On the GPD Pocket 3, the keyboard and trackpad are only USB, so I had to compromise:
- Allow all keyboard devices into dom0 without asking (otherwise I wouldn’t be able to type my password in)
- Ask for all other HID devices (mice, tablets, touchscreens)
It’s not ideal, but it’s usable…
Without doing any thorough investigation (sorry, I don’t have access to the GPD WinMax 2 hardware at the moment…), a few things you can try are:
- Check the BIOS to see if the keyboard/touchpad are interfacing via USB, PS/2, or both
- the GPD Win Max 2021 AMD model had this option in the BIOS
- If you want it to automatically accept any USB device that says it’s a mouse/keyboard, you can add a rule in
/etc/qubes/policy.d/
- WARNING: This will cause any device that tells your computer that it’s a mouse to be automatically let into dom0, even if it’s lying. Your choice if you want to do this.
@apparatus is right. If that works, ignore what I suggested, because it’s much more complicated
The Goodix Capacitive TouchScreen is pretty standard in the industry, and has pretty good Linux support baked into almost every kernel (and has had it for quite a long time).
Honestly, you shouldn’t need to…
Whilst GPD have made some pretty great hardware in the past, none of the models internal components seem to have anything in common. It’s almost as if they are quite happy to compromise on hardware consistency (substitute internal components for “whatever works”, even if the substitute is inferior or buggy), just for the sake of “getting a product out to market”.
The appeal of GPD laptops (at least, the appeal for me) are the fact that they are compact and not “potato computers”. Their specs and internals would give some desktops a run for their money. Not to mention they usually come with quite a lot of I/O ports (RS-232 Serial, RJ45 Ethernet, Oculink, etc.), which is very difficult to find on laptops nowadays.
I would love to post a full write-up on how to get the GPD Win Max 2 100% working with Qubes OS, and I will once I get my hands on one. But I haven’t got access to one at the moment