Thread Subject: Joystick Input

Subject: Joystick Input

From: Bill

Date: 27 Sep, 2009 03:28:01

Message: 1 of 6

I currently have a Sidewinder Force Feedback 2 and am trying to use it in a GUI. For whatever reason, I'm unable to detect the joystick. Does anyone know of any issues with this joystick and the vrjoystick or analoginput('joy') function, as neither appears to be working properly?

Subject: Joystick Input

From: Bill

Date: 28 Sep, 2009 18:18:02

Message: 2 of 6

Bump!

Subject: Joystick Input

From: Jan Houska

Date: 28 Sep, 2009 18:45:51

Message: 3 of 6

Hi,

do you have the joystick correctly installed in your operating system?
Are you able to use it from the OS or from other applications?

Jan


Bill wrote:
> I currently have a Sidewinder Force Feedback 2 and am trying to use it in a GUI. For whatever reason, I'm unable to detect the joystick. Does anyone know of any issues with this joystick and the vrjoystick or analoginput('joy') function, as neither appears to be working properly?


--

--
Jan Houska HUMUSOFT s.r.o.
houska@humusoft.com Pobrezni 20
http://www.humusoft.com 186 00 Praha 8
tel: ++ 420 284 011 730 Czech Republic
fax: ++ 420 284 011 740

Subject: Joystick Input

From: Sherryl Radbil

Date: 29 Sep, 2009 12:50:04

Message: 4 of 6

Hi Bill,
The joystick is not supported by Data Acquisition Toolbox out of the box, but many people have had success. See this article
http://www.mathworks.com/company/newsletters/digest/june01/joystick.html
You can find the code here:
http://www.mathworks.com/matlabcentral/fileexchange/798

You may have to make some tweaks, but this will get you started.
Also, googling
matlab joystick
or sidewinder
may lead you to additional alternatives.

All the best,
Sherryl

Subject: Joystick Input

From: Bill

Date: 29 Sep, 2009 13:49:02

Message: 5 of 6

Sherryl,
Thank you so much for your help. As it turns out, I already stumbled across that package and downloaded it, but still to no avail. When I type in daqregister('joy'), I get 'Register function failed.' Any other ideas, or do I need to just get a new joystick?

Subject: Joystick Input

From: Sherryl Radbil

Date: 30 Sep, 2009 11:51:02

Message: 6 of 6

Hi Bill,
Registration problems are tricky to diagnose remotely.
We've greatly improved error messages from registration problems in newer releases so if you're on an older release and can upgrade to R2009b you should do so.
Also, registration is different on XP and Vista due to Vista's UAC, but in both cases you must be logged in as an administrator of the PC or be running MATLAB as an administrator in order to successfully register.
Another thought is to provide the full pathname to the adaptor to daqregister.
Search for daqregister both on The MathWorks website and in these newsgroups for additional places to find information.
Sherryl

 

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
joystick input Sprinceana 27 Sep, 2009 09:44:52
joystick Sprinceana 27 Sep, 2009 09:44:52
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com