Okay, so I received the steam deck :3

Lots of impressions, both good and bad. Ofc one of my main goals is to run highscore on it, so it will be focused on that.

First yes, I did install bazzite instead of steamos - KDE is not very pleasant on a touchscreen, and well, I only read that it has steam+x shortcut for osk after I reinstalled it. It also doesn't have very well working portals - I failed to install firmware in highscore, file chooser just stops responding after a few invocations. Dark style also doesn't work, and inspector shows that it's just not supported, so there's no portal that provides it. Finally, GTK4 on X11 is rather glitchy...

Bazzite is fine after cleaning it up, so yeah. It has a lot of preinstalled crap (compared to steamos too btw), but well, it can be removed. At least now it runs GNOME and Wayland in desktop mode.

Third - gamepad support is confusing. It's a bit sad that Steam's own gamepad mapping system does not allow to map L4/L5/R4/R5 to unique button codes. You also cannot use the ... and Steam buttons, so well, there aren't enough buttons to use Highscore as a non-steam game in steam mode. Also, gamescope apparently doesn't support popups, so uhh - no menus.

I did manage to get it to sorta kinda work by mapping R5 to Esc - the game menu opens both on gamepad menu button and esc. So it's technically playable, but uhh, not well. Also the window opens letterboxed for some reason, until you open and close a game. Overall, not a very good experience. Some things can be fixed (e.g. if I detect gamescope and fullscreen the window right away), some can't (being unable to use the extra buttons).

In desktop mode however it mostly works, but needs tweaks.

First, Steam must not be running. Steam really wants to remap the gamepad and maps it to a keyboard layout basically. That's not a bad thing on its own, except ofc in highscore you want to use analog sticks, and you can't with this system.

If you hold the menu button for like a second, it will switch from desktop to gamepad layout, and now highscore can use it... except for, once again, the ..., steam and back buttons. So that's still a no.

It also autostarts steam, tho that can be prevented.

If you close steam entirely, it's still a desktop layout... But if you hold the menu button now, it will actually give the raw input, and now every button works. The catch? Touchpads stop working.

So - well, can't win. Maybe it's possible to extend libmanette to make use of the steam gamepad system and somehow get raw input while steam is running? I don't know, but otherwise you have to choose between working gamepad and working touchpad. ​:02_shrug:​

However, that caveat aside, it works really well. Everything runs, games work. There is an artifact with the NTSC shader, but it's probably a bug in my shader poer, I'm missing something like precision highp float. We'll see.

Fullscreen is horrible with touch as usual, but that's a GNOME design issue.

Meanwhile, for running steam games it ofc works perfectly, but that's to be expected ^^