How can I read the instantaneous position of a USB joystick in Windows 7 or later in a Matlab script without using simulink?
3 views (last 30 days)
Show older comments
I'm looking for a one-off function call e.g. [axis1,axis2,axis3,button1]=GetJoystickPositionRightNow .
Not so worried about buttons or POV hat; 2-axis values are essential, a joystick button (e.g. trigger) and a further axis (e.g. thrust control) would be nice to have.
0 Comments
Answers (0)
See Also
Categories
Find more on Embedded Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!