source-engine icon indicating copy to clipboard operation
source-engine copied to clipboard

Gamepadui

Open celisej567 opened this issue 1 year ago • 6 comments

Basic implementation of GamepadUI from EZ2. Tested on HL2. Cant test on Episodic. Doesnt work on Portal for some reason.

Other games: Idk

celisej567 avatar Oct 19 '24 19:10 celisej567

Great work, by the way! The only problem with this pull request is that you didn't add SDL2 as an library in the gamepadui wscript, which results in a build error.

hangocdinhnew avatar Nov 12 '24 06:11 hangocdinhnew

And also the fact that you added bitmap after mathlib, causes an linker error in GCC, and will make Gamepad UI not work in regular Clang (in the wscript)

hangocdinhnew avatar Nov 12 '24 12:11 hangocdinhnew

Ive tested it only on windows, so makes sense.

celisej567 avatar Nov 12 '24 13:11 celisej567

As nillerusr said to me, he will implement my pull request only after some digging in there. He found some things to fix there. So i think at the time when this will be implemented, it will work normally.

celisej567 avatar Nov 12 '24 13:11 celisej567

Ive tested it only on windows, so makes sense.

You said "Cant test on Episodic" right? I've tested it, and it works fine, the only thing right now is Portal, which is missing a logo, and also the loading circle around the portal thing in the loading screen is orange, so there's that, but other than that, Portal is sort of functional.

hangocdinhnew avatar Nov 12 '24 14:11 hangocdinhnew

Here's the general platform compatibility:

Windows: Works (Out of the box). MacOS: Works* (Only needed a patch). Linux: Works* (Needed two patch).

hangocdinhnew avatar Nov 12 '24 14:11 hangocdinhnew