summaryrefslogtreecommitdiffhomepage
path: root/src/rinput.c
AgeCommit message (Collapse)Author
2023-05-04Refactor the RGBA colour struct into engineapi.hMichael Smith
In both the engine and SST it's used in more places than just console printing, so it makes more sense to give it a more appropriate nanme and location.
2022-12-25Add basic mouse input scalingMichael Smith
2022-08-10Add magical feature codegen system, at long lastMichael Smith
2022-06-02Solve the error logging situationMichael Smith
2022-04-26Fix GetCursorPos hook return valueMichael Smith
I'd noticed this at some point but it didn't seem to matter, and now all of sudden it does matter because magic. The hook just stopped working suddenly.
2022-04-25Add engine_no_focus_sleep backport, fix codegenMichael Smith
Default gamedata values actually work the way they're supposed to now.
2022-04-24Move WIN32_LEAN_AND_MEAN and NOMINMAX into flagsMichael Smith
They're literally always defined thusfar, and it's always possible to include specific headers for other stuff. So, rather than litter the source with defines (which might not even work in the likes of os.h if some other system header already decided to define/include stuff), let's just define it at the build script level.
2022-03-21Remove useless raw input multithreadingMichael Smith
Turns out creating the input window on the main thread means it actually gets events from the game's event loop on the main thread which means we don't have to do our own event loop at all and in fact doing so is kind of broken and causes thread lockups and leaks and other such nonsense.
2022-03-21Add m_rawinput reimplementation to replace RInputMichael Smith
It's archive so you can set m_rawinput 1, load SST via VDF and then never think about it again.