Solved

How to capture DirectInput FFB effects from an application?

Posted on 2009-07-06
2
514 Views
Last Modified: 2013-11-25
Hi, and thanks in advance if anyone can help me!

I'd like to be able to capture any force feedback directInput effects coming from any running game, but I can't seem to find out how to do it.  I guess I need to emulate a directInput joystick decice somehow, and report its capabilities to any querying app as being able to deal with all force feedback effects, but I've only found simple code snippets on how to emulate joystick / mouse or read positions from actual joystick / mouse etc.

Could someone please point me in the right direction or provide any help / sample code to get me started?

I'm using VS2005 (vc++ MFC/win32).

A million thanks if you can help!

Chris J
0
Comment
Question by:chrispauljarram
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 24797882
Maybe http://www.codeproject.com/KB/system/Hooking_DirectX_COM.aspx ("Hooking a DirectX/COM Interface") can help ypu here. It demonstrates hooking a COM interface using a DirectInput device, so chances are you can gram the information there.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now