Solved

How to capture DirectInput FFB effects from an application?

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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…
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…

687 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