|
|
|
Page 1 of 1 |
[ 6 posts ] |
|
 Direct Input Services question : Developer's Corner
|
|
Posted: November 17th, 2003, 4:08 pm
|
|
|
|
Devestator
Devestator's Reps:
|
I just wanted to check here since that is an option on the vote on the main page, I assume that means yall know it is possible?
The reason I ask is I'm a programmer myself and currently trying to figure out how to do a macro program for a DirectInput game. And I'm not even sure if its possible. But if yall know its possible and just have to get time to do it then I'm gonna kep working at it since I dont feel like waiting weeks or months for XU to implement it.
I'm down to two options right now, emulate key presses at a lower level (before windows or at the device drivers) or create a DLL Wrapper for DirectInput that can send a false DInput event. I think the wrapper idea would work and be easier but I have no clue how to write a wrapper and can't find any good examples anywhere.
|
|
|
|
|
Posted: November 17th, 2003, 4:37 pm
|
|
|
|
Admin
Admin's Reps:
|
Yes, we had a very basic DirectInput service running, but it was put on the back burner because others keep voting that it is lower priority.
|
|
|
|
|
Posted: November 17th, 2003, 8:45 pm
|
|
|
|
Devestator
Devestator's Reps:
|
Hmm dont suppose yall would tell me how yall went about doing it would yall? Hehe
If you could share with me where to get started I'd be happen to turn over any code I write and let yall use it.
I've started tampering with a DLL Wrapper myself I think I'm going in the write direction but I can't seem to get at the dinput8.dll so I can see what functions are in it. If I could figure out what functions where in that DLL it'd be simple.. I'd just have to write functions to return their value plus any modified value that I set through an extra function in my DLL.
In VB I can only refernce the basic DX8 Type library, it wont let me refernce the dinput8.dll itself.. and in C++ I'm to new at it to even know how to reference it haha.
|
|
|
|
|
Posted: November 17th, 2003, 9:03 pm
|
|
Posted: November 17th, 2003, 9:46 pm
|
|
|
|
Devestator
Devestator's Reps:
|
Ok I did that and checking in the help file I've got a list of classes and functions for each class.
So in theory to make a wrapper I just need to create those classes and the functions listed in each of those classes correct?
I guess the only thing else I would still need to figure out is how to reference the old dinput8.dll
|
|
|
|
|
Posted: November 18th, 2003, 1:24 pm
|
|
|
|
Devestator
Devestator's Reps:
|
BAH!
Just spend about 1 1/2 hours writing what I though would function as a wrapper DLL. I copy the new DLL over and run a game runs fine like nothing happened...
Figuring I better try restarting my system to be sure, I boot back up and my dll is replaced by the original microsoft DLL again.. grr must have a self fix on load thing.
About to give up on this dern project.. I dont know anything about DLL wrappers so dont even iknow if I'm going in the right direction. And I can't find any help anywhere. Even on VBForums 5 different posts on the issue and no one knows a thing. And anyone who does know isn't speaking.
|
|
|
|
|
Who is online |
|
Users browsing this forum: No registered users and 2 guests |
|
|
|