NUI: Mouse interactions

It would be nice to have a way to separate mouse and keyboard focus. In the meantime you can easily simulate mouse events which will give you the same effect. I put together a quick example which shows how to do this.


EDIT: Also I submitted a PR to fix SetCursorLocation which will allow you to center the cursor when displaying the wheel. https://github.com/citizenfx/fivem/pull/206

9 Likes