In read(vrjoystick), what value does "povs" take?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Heejin Kim
el 22 de Ag. de 2017
Comentada: Heejin Kim
el 22 de Ag. de 2017
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 :(
Respuesta aceptada
Walter Roberson
el 22 de Ag. de 2017
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 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!