Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
afshin_ommi's avatar
afshin_ommi
Honored Guest
8 years ago

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> ". 
No RepliesBe the first to reply