Solved

How to capture DirectInput FFB effects from an application?

Posted on 2009-07-06
2
524 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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:…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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…

930 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

12 Experts available now in Live!

Get 1:1 Help Now