Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WinRT port #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

WinRT port #114

wants to merge 1 commit into from

Conversation

MoeMod
Copy link
Contributor

@MoeMod MoeMod commented Nov 18, 2019

No description provided.

@mittorn
Copy link
Member

mittorn commented Nov 18, 2019

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)

@MoeMod
Copy link
Contributor Author

MoeMod commented Nov 18, 2019

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.

@mittorn
Copy link
Member

mittorn commented Nov 18, 2019

Why not fix it on engine side?

@mittorn
Copy link
Member

mittorn commented Nov 18, 2019

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

@mr-sihc
Copy link

mr-sihc commented Jun 4, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants