Solved

How to capture DirectInput FFB effects from an application?

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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…

679 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