Hi there,
I am currently working on a 2 player game, which features joysticks. I am using SDL to get input,
and everything is working smoothly. But as far as I know, SDL does not support force feedback (rumble etc).
So my question is: Do I need an additional library to handle this, if so, which?
Please give detailed information, as I have little experience on the matter
I am on a Windows 7 computer, using C++.
Thanks!
Input devices - Force feedback
Moderator: Coders of Rage
Re: Input devices - Force feedback
As far as I know, Microsoft's DirectInput has support for almost any more or less standard input device, and I saw also force feedback in its API some years ago. Maybe DirectInput is an overkill for starters (as is most of DirectX with COM interfaces), but it is popular and I am sure, DirectInput has lots of tutorials.
Here you go:
http://www.microsoft.com/msj/0298/force.aspx
especially "Using DirectInputEffect" part of code.
Here you go:
http://www.microsoft.com/msj/0298/force.aspx
especially "Using DirectInputEffect" part of code.
Re: Input devices - Force feedback
wow im glad in the 2000's they invented triple digit column width values for websitesmidix wrote: http://www.microsoft.com/msj/0298/force.aspx
especially "Using DirectInputEffect" part of code.
- superLED
- Chaos Rift Junior
- Posts: 303
- Joined: Sun Nov 21, 2010 10:56 am
- Current Project: Engine
- Favorite Gaming Platforms: N64
- Programming Language of Choice: C++, PHP
- Location: Norway
Re: Input devices - Force feedback
Thank you so much! I'll look into that and see if I can understand and implement it.
:D
:D