cs2-sdk icon indicating copy to clipboard operation
cs2-sdk copied to clipboard

Inputs not registering LINUX

Open xnuken opened this issue 2 years ago • 4 comments

When using LINUX none of the inputs seem to register at all I cannot open the menu or unload the program.

xnuken avatar Mar 27 '24 18:03 xnuken

i am having the same problem, i think it has to do with sdl because if you place a breakpoint on peepEvents you can see that the wrong keys (scancodes idk havent looked much into it) are being registered when the event type is SDL_EVENT_KEY_DOWN (hope i typed i correctly). I assume its a version mismatch between the latest sdl3 available on github and the sdl3 used in cs2 (Broken compatibility since this didnt happen in the past)

bruhmoment21 avatar Mar 27 '24 20:03 bruhmoment21

i am having the same problem, i think it has to do with sdl because if you place a breakpoint on peepEvents you can see that the wrong keys (scancodes idk havent looked much into it) are being registered when the event type is SDL_EVENT_KEY_DOWN (hope i typed i correctly). I assume its a version mismatch between the latest sdl3 available on github and the sdl3 used in cs2 (Broken compatibility since this didnt happen in the past)

Will take a look and see if I can find the version CS2 is using

xnuken avatar Mar 28 '24 14:03 xnuken

CS2 Is using "SDL-prerelease-3.0.0-3413-g2670e"

xnuken avatar Mar 28 '24 14:03 xnuken

i have tested this version of sdl3 and it works, the latest one will not register any input so to make inputs work you'll have to downgrade sdl3 or wait until valve updates cs2 sdl3 library. [tested on windows]

bruhmoment21 avatar Apr 06 '24 15:04 bruhmoment21