In read(vrjoystick), what value does "povs" take?

Hi guys.
So I've been trying to read the status of my joystick connected to pc by
[axes, buttons, povs] = read(vrjoystick)
but I was wondering about the values that "povs" take. (-1, 0, and 1, I am guessing??)
In the command window I have written:
povs
to see the actual value of povs, but Matlab is too busy to show anything before bearable amount of waiting.
Anyone having done similar stuff? I need help :(

댓글 수: 1

Heejin Kim
Heejin Kim 2017년 8월 22일
I also found this very helpful: https://kr.mathworks.com/help/sl3d/joystickinput.html

댓글을 달려면 로그인하십시오.

 채택된 답변

Walter Roberson
Walter Roberson 2017년 8월 22일

1 개 추천

At absolute minimum, the possible values are -1 (not available), 0, 90, 180, and 270.
I find evidence such as at https://forums.tigsource.com/index.php?topic=36675.0 that the 45 degree angles are also possible.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Video games에 대해 자세히 알아보기

질문:

2017년 8월 22일

댓글:

2017년 8월 22일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!