What I want, is to make the computer think I am physically moving the mouse down toward me. I am making a program that should send input into a game. I have succeded to make it receive keyboard input programmatically, but encounter problems with the mouse.
When playing the game normally, it uses a first person perspective with a dot in the middle. When opening menus or maps, it has a cursor, but only then. I have tested several suggestions for mouseinputs, but the game only responds when I am in a mode that uses a cursor that it then moves, like the map or menu, but not in other cases.
What I want, is for my avatar to look down when I am in first perspective normal play mode, which it does when I move the mouse down. From this I infer, any method that that tries to move a cursor is ineffective, since the game mode doesn't have a normal cursor. I need to make the computer itself think that the mouse has been physically moved, never mind cursor.
(For reference, one of the things I have tried is https://gist.github.com/Harmek/1263705), and other examples of using imported SendInput.