Hi folks,
I'd like to be able to send input directly to the program, aka, from my injected DLL do one of the following:
- call SomeFunctionThatHandlesInput(..., my_key_or_mouse_value, ...)
- call MovePlayer(...), UseSkill(...)
I'd like to do this instead of something like SendKeys (or similar APIs) that require globally sending values, targeting a windows, having focus etc. It would also allows me to perform read/writes from my DLL, as well as send input from the same place.
Has anyone solved this problem, or have any helpful input they could share?
Any help is much appreciated!
I'd like to be able to send input directly to the program, aka, from my injected DLL do one of the following:
- call SomeFunctionThatHandlesInput(..., my_key_or_mouse_value, ...)
- call MovePlayer(...), UseSkill(...)
I'd like to do this instead of something like SendKeys (or similar APIs) that require globally sending values, targeting a windows, having focus etc. It would also allows me to perform read/writes from my DLL, as well as send input from the same place.
Has anyone solved this problem, or have any helpful input they could share?
Any help is much appreciated!