Merge pull request #45 from johnoliverdriscoll/input-fix-linux-mac

Fix controller button detection for linux and mac
This commit is contained in:
Bjorn Swenson 2018-04-22 18:55:30 -07:00 committed by GitHub
commit 4ccaff4386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -9,7 +9,13 @@
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#ifndef WIN32
#pragma pack(push, 4)
#endif
#include <openvr_capi.h>
#ifndef WIN32
#pragma pack(pop)
#endif
// From openvr_capi.h
extern intptr_t VR_InitInternal(EVRInitError *peError, EVRApplicationType eType);