?
Solved

How to capture DirectInput FFB effects from an application?

Posted on 2009-07-06
2
Medium Priority
?
563 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 2000 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
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…

752 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