cmbruns / pyopenvr

Unofficial python bindings for Valve's OpenVR virtual reality SDK
BSD 3-Clause "New" or "Revised" License
251 stars 40 forks source link

openvr_bool '\x00' does not evaluate to python "False" #1

Closed cmbruns-hhmi closed 8 years ago

cmbruns-hhmi commented 8 years ago

...leading to unexpected behavior. Perhaps defining openvr_bool as c_uint8 instead of c_char would resolve this

cmbruns-hhmi commented 8 years ago

Added unit test and fixed in revision 689315c39257086713a9a172656478eac3d838cc