Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you disable and re-enable NOLEGACY on-the-fly? Maybe you can disable it when you calculate that the user has moved the mouse outside of the game window region.


apparently not:

> This would at least solve the problem for the vast majority of users, but it’s not possible, as far as I can tell. You seemingly cannot switch between legacy and raw input once you’ve enabled it. You might think RIDEV_REMOVE would help, but that completely removes all input that the device generates, including both legacy and raw input.


Unfortunately it seems that is not possible.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: