hlsdk-portable
hlsdk-portable copied to clipboard
WinRT port
Why not use engine input interface for WinRT instead? It does support mouse (if was not, it was bug in new engine, but it is fixed already)
Why not use engine input interface for WinRT instead? It does support mouse (if was not, it was bug in new engine, but it is fixed already)
I have tried but SDL can't restrict the cursor in the window.
Why not fix it on engine side?
https://github.com/FWGS/xash3d-fwgs/blob/master/engine/client/input.c#L200 https://github.com/FWGS/xash3d-fwgs/blob/master/engine/client/input.c#L576 You may add mouse getting functions somewhere in platform/winrt/ and call it here
pull request #470 on the engine has some mouse reworks in progress