taultunleashed logoDirect Input Services question : Developer's Corner
newtopic  postreply
 [ 6 posts ] 
blue large dot

Direct Input Services question : Developer's Corner

Posted: November 17th, 2003, 4:08 pm
 
Devestator
Devestator's Reps:
User avatar
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.


Reply with quote
Posted: November 17th, 2003, 4:37 pm
 
Admin
Admin's Reps:
User avatar
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.


Reply with quote
Posted: November 17th, 2003, 8:45 pm
 
Devestator
Devestator's Reps:
User avatar
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.


Reply with quote
Posted: November 17th, 2003, 9:03 pm
 
WyvernX
WyvernX's Reps:
User avatar
Try going to www.microsoft.com/directx and grab their SDK for DirectX.


Reply with quote
Posted: November 17th, 2003, 9:46 pm
 
Devestator
Devestator's Reps:
User avatar
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


Reply with quote
Posted: November 18th, 2003, 1:24 pm
 
Devestator
Devestator's Reps:
User avatar
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.


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 2 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of Developer's Corner RSS Feed 

SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?