mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-06 06:28:00 +01:00
vrclient: remove redundant user_structs field
This commit is contained in:
parent
3584832fa4
commit
f24e88d400
68 changed files with 336 additions and 609 deletions
|
|
@ -6,25 +6,6 @@
|
|||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
#pragma pack(push, 8)
|
||||
struct winVREvent_t_0914 {
|
||||
vr::EVREventType eventType;
|
||||
vr::TrackedDeviceIndex_t trackedDeviceIndex;
|
||||
vr::VREvent_Data_t data __attribute__((aligned(8)));
|
||||
float eventAgeSeconds;
|
||||
} __attribute__ ((ms_struct));
|
||||
#pragma pack(pop)
|
||||
|
||||
void struct_VREvent_t_0914_lin_to_win(void *l, void *w)
|
||||
{
|
||||
struct winVREvent_t_0914 *win = (struct winVREvent_t_0914 *)w;
|
||||
VREvent_t *lin = (VREvent_t *)l;
|
||||
win->eventType = lin->eventType;
|
||||
win->trackedDeviceIndex = lin->trackedDeviceIndex;
|
||||
win->data = lin->data;
|
||||
win->eventAgeSeconds = lin->eventAgeSeconds;
|
||||
}
|
||||
|
||||
#pragma pack(push, 8)
|
||||
struct winVRControllerState001_t_0914 {
|
||||
uint32_t unPacketNum;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue