No BSD License  

Highlights from
Force Feedback Joystick

4.5

4.5 | 4 ratings Rate this file 20 Downloads (last 30 days) File Size: 33.8 KB File ID: #4629

Force Feedback Joystick

by Anas Fattouh

 

15 Mar 2004 (Updated 18 Mar 2004)

Reading XY-positions and applying constant forces for a USB force feedback joystick.

| Watch this File

File Information
Description

This is the first version of a MEX-file that enables you reading XY-positions of a USB force feedback joystick and applying constant forces on it.

It was created using Direct Input in DirectX 8.1 and Microsoft Visual C++ 6.0. I tested it on Microsoft SideWinder Force Feedback 2 joystick using MATLAB R13 and MS Windows XP.

Required Products Simulink
MATLAB release MATLAB 6.5 (R13)
Other requirements MS Windows XP.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (8)
12 Apr 2004 Brent S

Excellent use of force feedback within Simulink!

04 Nov 2005 Tim Barfoot

Worked right out of the box with DirectX9.0 and Matlab 7.0 R13 and a Logitech Wingman Rumblepad.

07 Nov 2005 chen yongliang  
04 Apr 2007 Longjiang Zhou

It is excellent used in Simulink. But how can it be used to M-files? e.g. read data from joystick and send force feedback to joystick?

27 Feb 2008 Sippapas Sirijatuphat

It is excellent used in Simulink. But how can it be used to M-files? How can it read data from joystick and send force feedback to joystick? it I want to use joystick with XPC, and what should I do? How much for it?

14 May 2009 Abhishek Ramkumar

Hi Anas,

Great work on the force feedback control!

I am currently trying to make a .dll file using Microsoft Visual C++ and DirectX to control the force feedback to my "Logitech force 3D USB Pro" joystick. I want to access/control the functions via National Instruments' Labview and have the force feedback effect.

I have gone through the examples (FFconst_2008.proj) and am able to make an Win Application (.exe) but am finding it difficult to make a .dll.

Could you give me some hints or a sample VC++ program to create a .dll to control force feedback? Any help in this regard would be much appreciated.

Thanks in advance!
Cheers,
Abhishek

03 May 2010 Marc Turcotte

Hi,

I am working on a project and I need to read the force feedback infos of the steering wheel ( logitech momo force). More precisely, I want to monitor the force feedback effect to determine when the feedback is increased and decreased.

Anyone knows a way to get this done?

Thanks

Marc

25 May 2011 Renate

the simulink-model work perfectly with my force 3D pro joystick, thanks for that!

does anyone know how i can get information about buttons pressed on the joystick into matlab/simulink?

any help would be appreciated!

thanks,
Renate

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
simulink Anas Fattouh 22 Oct 2008 07:16:25
force feedback Anas Fattouh 22 Oct 2008 07:16:25
joystick Anas Fattouh 22 Oct 2008 07:16:25
usb Anas Fattouh 22 Oct 2008 07:16:25
io Anas Fattouh 22 Oct 2008 07:16:25
force feedback Renate 24 May 2011 09:30:35

Contact us at files@mathworks.com