Skip to content

WinRT port#114

Open
MoeMod wants to merge 1 commit intoFWGS:masterfrom
MoeMod:master
Open

WinRT port#114
MoeMod wants to merge 1 commit intoFWGS:masterfrom
MoeMod:master

Conversation

@MoeMod
Copy link
Copy Markdown
Contributor

@MoeMod MoeMod commented Nov 18, 2019

No description provided.

@mittorn
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

mittorn commented Nov 18, 2019

Why not fix it on engine side?

@mittorn
Copy link
Copy Markdown
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

@ghost
Copy link
Copy Markdown

ghost 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.

2 participants