elishacloud / DirectX-Wrappers

Wraps the main DirectX and Direct3D DLLs. It allows you to intercept calls to DirectX and Direct3D interface functions so that you can log API calls or you can add your own code into the game, such as enabling Anti-Aliasing or creating overlays in the game.
zlib License
218 stars 43 forks source link

Send any kb/mouse inputs to games based on dinput/dinput8 #1

Closed callTx closed 4 years ago

callTx commented 6 years ago

I'm looking for a DirectInput/DirectInput8 solution to send any keyboard/mouse input to the games based on dinput/dinput8. So, is there any sample in DirectX-Wrappers ?

elishacloud commented 6 years ago

Are you looking to create one yourself or use some existing one? If you want to create one you can use this wrapper as a start and then add your own code on top of it. I don't have any examples here. However I am planning to make a converter to convert from dinput.dll to dinput8.dll. This will allow you to use dinput8 programs on your dinput games.

Also you can check out the Xbox 360 Controller Emulator. This is a full open source project that using dinput8 to allow you to remap controller buttons to play games with a controller that they don't normally support.

elishacloud commented 6 years ago

@eipeipkrop7992, I created a DirectInput converter that converts DirectInput games to DirectInput8. You can check it out here: dinputto8

elishacloud commented 4 years ago

You may also want to check out this project: DirectX_Hacks_for_TLoH

Closing issue.