Forum Discussion
afshin_ommi
8 years agoHonored Guest
Reading Buttons with Python
Is there any way that we make the command " ovr.InputState.HandTrigger[ovr.Hand_Right] " gives the two float number in python.
I'm trying to read "ovr.InputState.HandTrigger[ovr.Hand_Right]" but it gives the Error " '_ctypes.CField' object has no attribute '__getitem__' ". Also the command "print(ovr.InputState.HandTrigger)" gives " <Field type=c_float_Array_2, ofs=24, size=8> ".
I'm trying to read "ovr.InputState.HandTrigger[ovr.Hand_Right]" but it gives the Error " '_ctypes.CField' object has no attribute '__getitem__' ". Also the command "print(ovr.InputState.HandTrigger)" gives " <Field type=c_float_Array_2, ofs=24, size=8> ".
No RepliesBe the first to reply
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago