I’d like to know how can I perform for example a right mouse click, or press ENTER with XNA, is it possible? I want the XNA prog to do the action, not to check if I clicked it.
Thanks.
I’d like to know how can I perform for example a right mouse click,
Share
You can use the following to make the cursor of the mouse visible (if this is necessary):
Create the following variables, this way you can save the current and previous mouseState:
In the Update function you can use the following:
Hopefully this is of some use to you!