hlsdk-portable icon indicating copy to clipboard operation
hlsdk-portable copied to clipboard

WinRT port

Open MoeMod opened this issue 4 years ago • 5 comments

MoeMod avatar Nov 18 '19 09:11 MoeMod

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)

mittorn avatar Nov 18 '19 09:11 mittorn

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.

MoeMod avatar Nov 18 '19 09:11 MoeMod

Why not fix it on engine side?

mittorn avatar Nov 18 '19 10:11 mittorn

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

mittorn avatar Nov 18 '19 10:11 mittorn

pull request #470 on the engine has some mouse reworks in progress

mr-sihc avatar Jun 04 '21 15:06 mr-sihc