diff --git a/OpenHMD.cpp b/OpenHMD.cpp index 5d3260a..a9d4713 100644 --- a/OpenHMD.cpp +++ b/OpenHMD.cpp @@ -64,9 +64,11 @@ void OpenHMD::printDeviceInfo() { print("right eye aspect:", 1, OHMD_RIGHT_EYE_ASPECT_RATIO); print("distortion k:", 6, OHMD_DISTORTION_K); - int bcount[1]; - ohmd_device_geti(hmd, OHMD_BUTTON_COUNT, bcount); - printf("digital button count: %i\n", bcount[0]); + // bue 20180422: OHMD_BUTTON_COUNT causes troubles by + // compiling with latest openhmd version 0.2.0-3 + //int bcount[1]; + //ohmd_device_geti(hmd, OHMD_BUTTON_COUNT, bcount); + //printf("digital button count: %i\n", bcount[0]); printf("\n"); }