From c31c7b714477f214f88697050ff0d73a2bf38c3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Sat, 30 Sep 2023 09:24:25 +0200 Subject: [PATCH] vrclient: Remove old struct conversion code. CW-Bug-Id: #22729 --- vrclient_x64/Makefile.in | 55 - vrclient_x64/gen_wrapper.py | 149 -- vrclient_x64/vrclient_x64/struct_converters.h | 1206 ----------------- .../vrclient_x64/struct_converters_090.cpp | 164 --- .../vrclient_x64/struct_converters_091.cpp | 164 --- .../vrclient_x64/struct_converters_0910.cpp | 188 --- .../vrclient_x64/struct_converters_0912.cpp | 250 ---- .../vrclient_x64/struct_converters_0913.cpp | 253 ---- .../vrclient_x64/struct_converters_0914.cpp | 268 ---- .../vrclient_x64/struct_converters_0915.cpp | 126 -- .../vrclient_x64/struct_converters_0916.cpp | 126 -- .../vrclient_x64/struct_converters_0917.cpp | 126 -- .../vrclient_x64/struct_converters_0918.cpp | 126 -- .../vrclient_x64/struct_converters_0919.cpp | 126 -- .../vrclient_x64/struct_converters_092.cpp | 164 --- .../vrclient_x64/struct_converters_0920.cpp | 126 -- .../vrclient_x64/struct_converters_093.cpp | 188 --- .../vrclient_x64/struct_converters_094.cpp | 188 --- .../vrclient_x64/struct_converters_096.cpp | 188 --- .../vrclient_x64/struct_converters_097.cpp | 188 --- .../vrclient_x64/struct_converters_098.cpp | 188 --- .../vrclient_x64/struct_converters_099.cpp | 188 --- .../vrclient_x64/struct_converters_100.cpp | 126 -- .../vrclient_x64/struct_converters_101.cpp | 126 -- .../vrclient_x64/struct_converters_1010.cpp | 126 -- .../vrclient_x64/struct_converters_1011.cpp | 126 -- .../vrclient_x64/struct_converters_1012.cpp | 126 -- .../vrclient_x64/struct_converters_1013.cpp | 126 -- .../vrclient_x64/struct_converters_1014.cpp | 126 -- .../vrclient_x64/struct_converters_1015.cpp | 277 ---- .../vrclient_x64/struct_converters_1016.cpp | 297 ---- .../vrclient_x64/struct_converters_1017.cpp | 335 ----- .../vrclient_x64/struct_converters_102.cpp | 212 --- .../vrclient_x64/struct_converters_103.cpp | 212 --- .../vrclient_x64/struct_converters_103a.cpp | 126 -- .../vrclient_x64/struct_converters_104.cpp | 126 -- .../vrclient_x64/struct_converters_105.cpp | 126 -- .../vrclient_x64/struct_converters_106.cpp | 126 -- .../vrclient_x64/struct_converters_107.cpp | 126 -- .../vrclient_x64/struct_converters_108.cpp | 126 -- .../vrclient_x64/struct_converters_109.cpp | 126 -- .../vrclient_x64/struct_converters_11030.cpp | 375 ----- .../vrclient_x64/struct_converters_11111.cpp | 378 ------ .../vrclient_x64/struct_converters_1125.cpp | 401 ------ .../vrclient_x64/struct_converters_11310.cpp | 401 ------ .../vrclient_x64/struct_converters_113b.cpp | 332 ----- .../vrclient_x64/struct_converters_11415.cpp | 401 ------ .../vrclient_x64/struct_converters_1168.cpp | 401 ------ .../vrclient_x64/struct_converters_1210.cpp | 332 ----- .../vrclient_x64/struct_converters_1237.cpp | 404 ------ .../vrclient_x64/struct_converters_1267.cpp | 404 ------ .../vrclient_x64/struct_converters_1322.cpp | 332 ----- .../vrclient_x64/struct_converters_1418.cpp | 332 ----- .../vrclient_x64/struct_converters_1517.cpp | 349 ----- .../vrclient_x64/struct_converters_1610.cpp | 349 ----- .../vrclient_x64/struct_converters_1715.cpp | 349 ----- .../vrclient_x64/struct_converters_1819.cpp | 349 ----- .../vrclient_x64/struct_converters_1916.cpp | 349 ----- 58 files changed, 14080 deletions(-) delete mode 100644 vrclient_x64/vrclient_x64/struct_converters.h delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_090.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_091.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_0910.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_0912.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_0913.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_0914.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_0915.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_0916.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_0917.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_0918.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_0919.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_092.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_0920.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_093.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_094.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_096.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_097.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_098.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_099.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_100.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_101.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1010.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1011.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1012.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1013.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1014.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1015.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1016.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1017.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_102.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_103.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_103a.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_104.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_105.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_106.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_107.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_108.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_109.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_11030.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_11111.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1125.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_11310.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_113b.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_11415.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1168.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1210.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1237.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1267.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1322.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1418.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1517.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1610.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1715.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1819.cpp delete mode 100644 vrclient_x64/vrclient_x64/struct_converters_1916.cpp diff --git a/vrclient_x64/Makefile.in b/vrclient_x64/Makefile.in index ac38c6b2..2b7f4022 100644 --- a/vrclient_x64/Makefile.in +++ b/vrclient_x64/Makefile.in @@ -139,60 +139,5 @@ SOURCES = \ vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp \ vrclient_x64/json_converter.cpp \ vrclient_x64/jsoncpp.cpp \ - vrclient_x64/struct_converters_090.cpp \ - vrclient_x64/struct_converters_091.cpp \ - vrclient_x64/struct_converters_0910.cpp \ - vrclient_x64/struct_converters_0912.cpp \ - vrclient_x64/struct_converters_0913.cpp \ - vrclient_x64/struct_converters_0914.cpp \ - vrclient_x64/struct_converters_0915.cpp \ - vrclient_x64/struct_converters_0916.cpp \ - vrclient_x64/struct_converters_0917.cpp \ - vrclient_x64/struct_converters_0918.cpp \ - vrclient_x64/struct_converters_0919.cpp \ - vrclient_x64/struct_converters_092.cpp \ - vrclient_x64/struct_converters_0920.cpp \ - vrclient_x64/struct_converters_093.cpp \ - vrclient_x64/struct_converters_094.cpp \ - vrclient_x64/struct_converters_096.cpp \ - vrclient_x64/struct_converters_097.cpp \ - vrclient_x64/struct_converters_098.cpp \ - vrclient_x64/struct_converters_099.cpp \ - vrclient_x64/struct_converters_100.cpp \ - vrclient_x64/struct_converters_101.cpp \ - vrclient_x64/struct_converters_1010.cpp \ - vrclient_x64/struct_converters_1011.cpp \ - vrclient_x64/struct_converters_1012.cpp \ - vrclient_x64/struct_converters_1013.cpp \ - vrclient_x64/struct_converters_1014.cpp \ - vrclient_x64/struct_converters_1015.cpp \ - vrclient_x64/struct_converters_1016.cpp \ - vrclient_x64/struct_converters_1017.cpp \ - vrclient_x64/struct_converters_102.cpp \ - vrclient_x64/struct_converters_103.cpp \ - vrclient_x64/struct_converters_103a.cpp \ - vrclient_x64/struct_converters_104.cpp \ - vrclient_x64/struct_converters_105.cpp \ - vrclient_x64/struct_converters_106.cpp \ - vrclient_x64/struct_converters_107.cpp \ - vrclient_x64/struct_converters_108.cpp \ - vrclient_x64/struct_converters_109.cpp \ - vrclient_x64/struct_converters_11030.cpp \ - vrclient_x64/struct_converters_11111.cpp \ - vrclient_x64/struct_converters_1125.cpp \ - vrclient_x64/struct_converters_11310.cpp \ - vrclient_x64/struct_converters_113b.cpp \ - vrclient_x64/struct_converters_11415.cpp \ - vrclient_x64/struct_converters_1168.cpp \ - vrclient_x64/struct_converters_1210.cpp \ - vrclient_x64/struct_converters_1237.cpp \ - vrclient_x64/struct_converters_1267.cpp \ - vrclient_x64/struct_converters_1322.cpp \ - vrclient_x64/struct_converters_1418.cpp \ - vrclient_x64/struct_converters_1517.cpp \ - vrclient_x64/struct_converters_1610.cpp \ - vrclient_x64/struct_converters_1715.cpp \ - vrclient_x64/struct_converters_1819.cpp \ - vrclient_x64/struct_converters_1916.cpp \ vrclient_x64/unix_vrrendermodels_manual.cpp \ vrclient_x64/unixlib_generated.cpp \ diff --git a/vrclient_x64/gen_wrapper.py b/vrclient_x64/gen_wrapper.py index cdd7b8ae..8a8a63da 100755 --- a/vrclient_x64/gen_wrapper.py +++ b/vrclient_x64/gen_wrapper.py @@ -1075,141 +1075,6 @@ def get_field_attribute_str(field): return " __attribute__((aligned(8)))" return f" __attribute__((aligned({abis['w32'].align})))" -generated_struct_handlers = [] -cpp_files_need_close_brace = [] - -LIN_TO_WIN=1 -WIN_TO_LIN=2 -WRAPPERS=3 - -#because of struct packing differences between win32 and linux, we -#need to convert these structs from their linux layout to the win32 -#layout. -def handle_struct(sdkver, struct): - handler_name = "%s_%s" % (struct.name, display_sdkver(sdkver)) - - if handler_name in generated_struct_handlers: - # we already have a handler for the struct struct of this size - return - - which = set() - - if struct_needs_conversion(struct.type.get_canonical()): - which.add(LIN_TO_WIN) - which.add(WIN_TO_LIN) - - if len(which) == 0: - return - - filename_base = "struct_converters_%s" % display_sdkver(sdkver) - cppname = "vrclient_x64/%s.cpp" % filename_base - file_exists = os.path.isfile(cppname) - cppfile = open(cppname, "a") - if not file_exists: - cppfile.write("#include \n"); - cppfile.write("#include \n"); - cppfile.write("#include \"vrclient_private.h\"\n") - cppfile.write("#include \"vrclient_defs.h\"\n") - cppfile.write("#include \"openvr_%s/openvr.h\"\n" % sdkver) - cppfile.write("using namespace vr;\n") - cppfile.write("extern \"C\" {\n") - cppfile.write("#include \"struct_converters.h\"\n") - cpp_files_need_close_brace.append(cppname) - - hfile = open("vrclient_x64/struct_converters.h", "a") - - hfile.write("typedef struct win%s win%s;\n" % (handler_name, handler_name)) - - cppfile.write("#pragma pack(push, 8)\n") - cppfile.write("struct win%s {\n" % handler_name) - for m in struct.get_children(): - if m.kind == CursorKind.FIELD_DECL: - if m.type.get_canonical().kind == TypeKind.CONSTANTARRAY: - cppfile.write(" %s %s[%u]" % (m.type.element_type.spelling, m.displayname, m.type.element_count)) - elif m.type.get_canonical().kind == TypeKind.RECORD and \ - struct_needs_conversion(m.type.get_canonical()): - cppfile.write(" win%s_%s %s" % (strip_ns(m.type.spelling), display_sdkver(sdkver), m.displayname)) - else: - if m.type.get_canonical().kind == TypeKind.POINTER and \ - m.type.get_pointee().kind == TypeKind.FUNCTIONPROTO: - cppfile.write(" void *%s /*fn pointer*/ " % m.displayname) - else: - cppfile.write(" %s %s" % (m.type.spelling, m.displayname)) - cppfile.write(get_field_attribute_str(m) + ";\n") - if WRAPPERS in which: - cppfile.write("\n %s *linux_side;\n" % struct.name) - cppfile.write("} __attribute__ ((ms_struct));\n") - cppfile.write("#pragma pack(pop)\n\n") - - def dump_converter(src, dst, size): - for m in struct.get_children(): - if m.kind == CursorKind.FIELD_DECL: - if m.type.get_canonical().kind == TypeKind.CONSTANTARRAY: - #TODO: if this is a struct, or packed differently, we'll have to - # copy each element in a for-loop - cppfile.write(" memcpy(" + dst + "->" + m.displayname + ", " + src + "->" + m.displayname + ", sizeof(" + dst + "->" + m.displayname + "));\n") - elif m.type.get_canonical().kind == TypeKind.RECORD and \ - struct_needs_conversion(m.type.get_canonical()): - cppfile.write(" struct_" + strip_ns(m.type.spelling) + "_" + display_sdkver(sdkver) + "_" + src + "_to_" + dst + \ - "(&" + src + "->" + m.displayname + ", &" + dst + "->" + m.displayname + ");\n") - elif struct.name in STRUCTS_SIZE_FIELD and \ - m.displayname in STRUCTS_SIZE_FIELD[struct.name]: - cppfile.write(" " + dst + "->" + m.displayname + " = sizeof(*" + dst + ");\n") - elif size and strip_ns(m.type.get_canonical().spelling) == "VREvent_Data_t": - #truncate variable-length data struct at the end of the parent struct - #XXX: dumb hard-coding. are the other types with lengths variable length? - cppfile.write(" memcpy(&" + dst + "->data, &" + src + "->data, " + size + " - (((char*)&" + dst + "->data) - ((char*)" + dst + ")));\n") - else: - cppfile.write(" " + dst + "->" + m.displayname + " = " + src + "->" + m.displayname + ";\n") - - if strip_ns(struct.name) in STRUCTS_NEXT_IS_SIZE: - size_arg = "sz" - size_arg_type = ", uint32_t sz" - else: - size_arg = None - size_arg_type = "" - - if LIN_TO_WIN in which: - hfile.write("extern void struct_%s_lin_to_win(void *l, void *w%s);\n" % (handler_name, size_arg_type)) - cppfile.write("void struct_%s_lin_to_win(void *l, void *w%s)\n{\n" % (handler_name, size_arg_type)) - cppfile.write(" struct win%s *win = (struct win%s *)w;\n" % (handler_name, handler_name)) - cppfile.write(" %s *lin = (%s *)l;\n" % (struct.name, struct.name)) - dump_converter("lin", "win", size_arg) - cppfile.write("}\n\n") - - if WIN_TO_LIN in which: - #XXX: should pass size param here, too - hfile.write("extern void struct_%s_win_to_lin(const void *w, void *l);\n" % handler_name) - cppfile.write("void struct_%s_win_to_lin(const void *w, void *l)\n{\n" % handler_name) - cppfile.write(" struct win%s *win = (struct win%s *)w;\n" % (handler_name, handler_name)) - cppfile.write(" %s *lin = (%s *)l;\n" % (struct.name, struct.name)) - dump_converter("win", "lin", None) - cppfile.write("}\n\n") - - if WRAPPERS in which: - hfile.write("extern struct win%s *struct_%s_wrap(void *l);\n" % (handler_name, handler_name)) - - cppfile.write("struct win%s *struct_%s_wrap(void *l)\n{\n" % (handler_name, handler_name)) - cppfile.write(" struct win%s *win = (struct win%s *)malloc(sizeof(*win));\n" % (handler_name, handler_name)) - cppfile.write(" %s *lin = (%s *)l;\n" % (struct.name, struct.name)) - - dump_converter("lin", "win", None) - - cppfile.write(" win->linux_side = lin;\n"); - cppfile.write(" return win;\n") - - cppfile.write("}\n\n") - - hfile.write("extern %s *struct_%s_unwrap(win%s *w);\n" % (struct.name, handler_name, handler_name)) - - cppfile.write("struct %s *struct_%s_unwrap(win%s *w)\n{\n" % (struct.name, handler_name, handler_name)) - cppfile.write(" %s *ret = w->linux_side;\n" % struct.name) - cppfile.write(" free(w);\n") - cppfile.write(" return ret;\n") - cppfile.write("}\n\n") - - generated_struct_handlers.append(handler_name) - def generate_x64_call_flat_method(cfile, param_count, has_floats, is_4th_float): assert param_count >= 4 @@ -1600,12 +1465,6 @@ def classify_struct(name): return versions -def generate(sdkver, structs): - print(f'generating SDK version {sdkver}...') - for child in structs['u32'].values(): - handle_struct(sdkver, child) - - for i, sdkver in enumerate(SDK_VERSIONS): print(f'loading SDKs... {i * 100 // len(SDK_VERSIONS)}%', end='\r') all_versions[sdkver], all_sources[sdkver] = load(sdkver) @@ -1707,14 +1566,6 @@ for _, klass in sorted(all_classes.items()): handle_class(klass) -for sdkver in SDK_VERSIONS: - generate(sdkver, all_records[sdkver]) - - -for f in cpp_files_need_close_brace: - m = open(f, "a") - m.write("\n}\n") - with open("tests/main_autogen.c", "a") as f: f.write(" printf(\"All tests executed.\\n\");\n") f.write("}\n") diff --git a/vrclient_x64/vrclient_x64/struct_converters.h b/vrclient_x64/vrclient_x64/struct_converters.h deleted file mode 100644 index b7c44751..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters.h +++ /dev/null @@ -1,1206 +0,0 @@ -typedef struct winVRVulkanTextureArrayData_t_1267 winVRVulkanTextureArrayData_t_1267; -extern void struct_VRVulkanTextureArrayData_t_1267_lin_to_win(void *l, void *w); -extern void struct_VRVulkanTextureArrayData_t_1267_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1267 winVREvent_t_1267; -extern void struct_VREvent_t_1267_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1267_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1267 winVRControllerState001_t_1267; -extern void struct_VRControllerState001_t_1267_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1267_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1267 winCameraVideoStreamFrameHeader_t_1267; -extern void struct_CameraVideoStreamFrameHeader_t_1267_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1267_win_to_lin(const void *w, void *l); -typedef struct winVROverlayView_t_1267 winVROverlayView_t_1267; -extern void struct_VROverlayView_t_1267_lin_to_win(void *l, void *w); -extern void struct_VROverlayView_t_1267_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1267 winRenderModel_TextureMap_t_1267; -extern void struct_RenderModel_TextureMap_t_1267_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1267_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1267 winRenderModel_t_1267; -extern void struct_RenderModel_t_1267_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1267_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1267 winInputAnalogActionData_t_1267; -extern void struct_InputAnalogActionData_t_1267_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1267_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1267 winInputDigitalActionData_t_1267; -extern void struct_InputDigitalActionData_t_1267_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1267_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1267 winInputPoseActionData_t_1267; -extern void struct_InputPoseActionData_t_1267_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1267_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_1267 winInputSkeletalActionData_t_1267; -extern void struct_InputSkeletalActionData_t_1267_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1267_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1267 winInputOriginInfo_t_1267; -extern void struct_InputOriginInfo_t_1267_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1267_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_1267 winIVRSpatialAnchors_1267; -extern void struct_IVRSpatialAnchors_1267_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_1267_win_to_lin(const void *w, void *l); -typedef struct winIVRDebug_1267 winIVRDebug_1267; -extern void struct_IVRDebug_1267_lin_to_win(void *l, void *w); -extern void struct_IVRDebug_1267_win_to_lin(const void *w, void *l); -typedef struct winVRVulkanTextureArrayData_t_1237 winVRVulkanTextureArrayData_t_1237; -extern void struct_VRVulkanTextureArrayData_t_1237_lin_to_win(void *l, void *w); -extern void struct_VRVulkanTextureArrayData_t_1237_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1237 winVREvent_t_1237; -extern void struct_VREvent_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1237_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1237 winVRControllerState001_t_1237; -extern void struct_VRControllerState001_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1237_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1237 winCameraVideoStreamFrameHeader_t_1237; -extern void struct_CameraVideoStreamFrameHeader_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1237_win_to_lin(const void *w, void *l); -typedef struct winVROverlayView_t_1237 winVROverlayView_t_1237; -extern void struct_VROverlayView_t_1237_lin_to_win(void *l, void *w); -extern void struct_VROverlayView_t_1237_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1237 winRenderModel_TextureMap_t_1237; -extern void struct_RenderModel_TextureMap_t_1237_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1237_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1237 winRenderModel_t_1237; -extern void struct_RenderModel_t_1237_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1237_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1237 winInputAnalogActionData_t_1237; -extern void struct_InputAnalogActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1237_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1237 winInputDigitalActionData_t_1237; -extern void struct_InputDigitalActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1237_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1237 winInputPoseActionData_t_1237; -extern void struct_InputPoseActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1237_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_1237 winInputSkeletalActionData_t_1237; -extern void struct_InputSkeletalActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1237_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1237 winInputOriginInfo_t_1237; -extern void struct_InputOriginInfo_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1237_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_1237 winIVRSpatialAnchors_1237; -extern void struct_IVRSpatialAnchors_1237_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_1237_win_to_lin(const void *w, void *l); -typedef struct winIVRDebug_1237 winIVRDebug_1237; -extern void struct_IVRDebug_1237_lin_to_win(void *l, void *w); -extern void struct_IVRDebug_1237_win_to_lin(const void *w, void *l); -typedef struct winVRVulkanTextureArrayData_t_1168 winVRVulkanTextureArrayData_t_1168; -extern void struct_VRVulkanTextureArrayData_t_1168_lin_to_win(void *l, void *w); -extern void struct_VRVulkanTextureArrayData_t_1168_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1168 winVREvent_t_1168; -extern void struct_VREvent_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1168_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1168 winVRControllerState001_t_1168; -extern void struct_VRControllerState001_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1168_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1168 winCameraVideoStreamFrameHeader_t_1168; -extern void struct_CameraVideoStreamFrameHeader_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1168_win_to_lin(const void *w, void *l); -typedef struct winVROverlayView_t_1168 winVROverlayView_t_1168; -extern void struct_VROverlayView_t_1168_lin_to_win(void *l, void *w); -extern void struct_VROverlayView_t_1168_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1168 winRenderModel_TextureMap_t_1168; -extern void struct_RenderModel_TextureMap_t_1168_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1168_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1168 winRenderModel_t_1168; -extern void struct_RenderModel_t_1168_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1168_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1168 winInputAnalogActionData_t_1168; -extern void struct_InputAnalogActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1168_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1168 winInputDigitalActionData_t_1168; -extern void struct_InputDigitalActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1168_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1168 winInputPoseActionData_t_1168; -extern void struct_InputPoseActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1168_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_1168 winInputSkeletalActionData_t_1168; -extern void struct_InputSkeletalActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1168_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1168 winInputOriginInfo_t_1168; -extern void struct_InputOriginInfo_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1168_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_1168 winIVRSpatialAnchors_1168; -extern void struct_IVRSpatialAnchors_1168_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_1168_win_to_lin(const void *w, void *l); -typedef struct winIVRDebug_1168 winIVRDebug_1168; -extern void struct_IVRDebug_1168_lin_to_win(void *l, void *w); -extern void struct_IVRDebug_1168_win_to_lin(const void *w, void *l); -typedef struct winVRVulkanTextureArrayData_t_11415 winVRVulkanTextureArrayData_t_11415; -extern void struct_VRVulkanTextureArrayData_t_11415_lin_to_win(void *l, void *w); -extern void struct_VRVulkanTextureArrayData_t_11415_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_11415 winVREvent_t_11415; -extern void struct_VREvent_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_11415_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_11415 winVRControllerState001_t_11415; -extern void struct_VRControllerState001_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_11415_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_11415 winCameraVideoStreamFrameHeader_t_11415; -extern void struct_CameraVideoStreamFrameHeader_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_11415_win_to_lin(const void *w, void *l); -typedef struct winVROverlayView_t_11415 winVROverlayView_t_11415; -extern void struct_VROverlayView_t_11415_lin_to_win(void *l, void *w); -extern void struct_VROverlayView_t_11415_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_11415 winRenderModel_TextureMap_t_11415; -extern void struct_RenderModel_TextureMap_t_11415_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_11415_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_11415 winRenderModel_t_11415; -extern void struct_RenderModel_t_11415_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_11415_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_11415 winInputAnalogActionData_t_11415; -extern void struct_InputAnalogActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_11415_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_11415 winInputDigitalActionData_t_11415; -extern void struct_InputDigitalActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_11415_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_11415 winInputPoseActionData_t_11415; -extern void struct_InputPoseActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_11415_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_11415 winInputSkeletalActionData_t_11415; -extern void struct_InputSkeletalActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_11415_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_11415 winInputOriginInfo_t_11415; -extern void struct_InputOriginInfo_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_11415_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_11415 winIVRSpatialAnchors_11415; -extern void struct_IVRSpatialAnchors_11415_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_11415_win_to_lin(const void *w, void *l); -typedef struct winIVRDebug_11415 winIVRDebug_11415; -extern void struct_IVRDebug_11415_lin_to_win(void *l, void *w); -extern void struct_IVRDebug_11415_win_to_lin(const void *w, void *l); -typedef struct winVRVulkanTextureArrayData_t_11310 winVRVulkanTextureArrayData_t_11310; -extern void struct_VRVulkanTextureArrayData_t_11310_lin_to_win(void *l, void *w); -extern void struct_VRVulkanTextureArrayData_t_11310_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_11310 winVREvent_t_11310; -extern void struct_VREvent_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_11310_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_11310 winVRControllerState001_t_11310; -extern void struct_VRControllerState001_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_11310_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_11310 winCameraVideoStreamFrameHeader_t_11310; -extern void struct_CameraVideoStreamFrameHeader_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_11310_win_to_lin(const void *w, void *l); -typedef struct winVROverlayView_t_11310 winVROverlayView_t_11310; -extern void struct_VROverlayView_t_11310_lin_to_win(void *l, void *w); -extern void struct_VROverlayView_t_11310_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_11310 winRenderModel_TextureMap_t_11310; -extern void struct_RenderModel_TextureMap_t_11310_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_11310_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_11310 winRenderModel_t_11310; -extern void struct_RenderModel_t_11310_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_11310_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_11310 winInputAnalogActionData_t_11310; -extern void struct_InputAnalogActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_11310_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_11310 winInputDigitalActionData_t_11310; -extern void struct_InputDigitalActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_11310_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_11310 winInputPoseActionData_t_11310; -extern void struct_InputPoseActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_11310_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_11310 winInputSkeletalActionData_t_11310; -extern void struct_InputSkeletalActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_11310_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_11310 winInputOriginInfo_t_11310; -extern void struct_InputOriginInfo_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_11310_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_11310 winIVRSpatialAnchors_11310; -extern void struct_IVRSpatialAnchors_11310_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_11310_win_to_lin(const void *w, void *l); -typedef struct winIVRDebug_11310 winIVRDebug_11310; -extern void struct_IVRDebug_11310_lin_to_win(void *l, void *w); -extern void struct_IVRDebug_11310_win_to_lin(const void *w, void *l); -typedef struct winVRVulkanTextureArrayData_t_1125 winVRVulkanTextureArrayData_t_1125; -extern void struct_VRVulkanTextureArrayData_t_1125_lin_to_win(void *l, void *w); -extern void struct_VRVulkanTextureArrayData_t_1125_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1125 winVREvent_t_1125; -extern void struct_VREvent_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1125_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1125 winVRControllerState001_t_1125; -extern void struct_VRControllerState001_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1125_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1125 winCameraVideoStreamFrameHeader_t_1125; -extern void struct_CameraVideoStreamFrameHeader_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1125_win_to_lin(const void *w, void *l); -typedef struct winVROverlayView_t_1125 winVROverlayView_t_1125; -extern void struct_VROverlayView_t_1125_lin_to_win(void *l, void *w); -extern void struct_VROverlayView_t_1125_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1125 winRenderModel_TextureMap_t_1125; -extern void struct_RenderModel_TextureMap_t_1125_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1125_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1125 winRenderModel_t_1125; -extern void struct_RenderModel_t_1125_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1125_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1125 winInputAnalogActionData_t_1125; -extern void struct_InputAnalogActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1125_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1125 winInputDigitalActionData_t_1125; -extern void struct_InputDigitalActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1125_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1125 winInputPoseActionData_t_1125; -extern void struct_InputPoseActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1125_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_1125 winInputSkeletalActionData_t_1125; -extern void struct_InputSkeletalActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1125_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1125 winInputOriginInfo_t_1125; -extern void struct_InputOriginInfo_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1125_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_1125 winIVRSpatialAnchors_1125; -extern void struct_IVRSpatialAnchors_1125_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_1125_win_to_lin(const void *w, void *l); -typedef struct winIVRDebug_1125 winIVRDebug_1125; -extern void struct_IVRDebug_1125_lin_to_win(void *l, void *w); -extern void struct_IVRDebug_1125_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_11111 winVREvent_t_11111; -extern void struct_VREvent_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_11111_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_11111 winVRControllerState001_t_11111; -extern void struct_VRControllerState001_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_11111_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_11111 winCameraVideoStreamFrameHeader_t_11111; -extern void struct_CameraVideoStreamFrameHeader_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_11111_win_to_lin(const void *w, void *l); -typedef struct winVROverlayView_t_11111 winVROverlayView_t_11111; -extern void struct_VROverlayView_t_11111_lin_to_win(void *l, void *w); -extern void struct_VROverlayView_t_11111_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_11111 winRenderModel_TextureMap_t_11111; -extern void struct_RenderModel_TextureMap_t_11111_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_11111_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_11111 winRenderModel_t_11111; -extern void struct_RenderModel_t_11111_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_11111_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_11111 winInputAnalogActionData_t_11111; -extern void struct_InputAnalogActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_11111_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_11111 winInputDigitalActionData_t_11111; -extern void struct_InputDigitalActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_11111_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_11111 winInputPoseActionData_t_11111; -extern void struct_InputPoseActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_11111_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_11111 winInputSkeletalActionData_t_11111; -extern void struct_InputSkeletalActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_11111_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_11111 winInputOriginInfo_t_11111; -extern void struct_InputOriginInfo_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_11111_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_11111 winIVRSpatialAnchors_11111; -extern void struct_IVRSpatialAnchors_11111_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_11111_win_to_lin(const void *w, void *l); -typedef struct winIVRDebug_11111 winIVRDebug_11111; -extern void struct_IVRDebug_11111_lin_to_win(void *l, void *w); -extern void struct_IVRDebug_11111_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_11030 winVREvent_t_11030; -extern void struct_VREvent_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_11030_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_11030 winVRControllerState001_t_11030; -extern void struct_VRControllerState001_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_11030_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_11030 winCameraVideoStreamFrameHeader_t_11030; -extern void struct_CameraVideoStreamFrameHeader_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_11030_win_to_lin(const void *w, void *l); -typedef struct winVROverlayView_t_11030 winVROverlayView_t_11030; -extern void struct_VROverlayView_t_11030_lin_to_win(void *l, void *w); -extern void struct_VROverlayView_t_11030_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_11030 winRenderModel_TextureMap_t_11030; -extern void struct_RenderModel_TextureMap_t_11030_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_11030_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_11030 winRenderModel_t_11030; -extern void struct_RenderModel_t_11030_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_11030_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_11030 winInputAnalogActionData_t_11030; -extern void struct_InputAnalogActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_11030_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_11030 winInputDigitalActionData_t_11030; -extern void struct_InputDigitalActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_11030_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_11030 winInputPoseActionData_t_11030; -extern void struct_InputPoseActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_11030_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_11030 winInputSkeletalActionData_t_11030; -extern void struct_InputSkeletalActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_11030_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_11030 winInputOriginInfo_t_11030; -extern void struct_InputOriginInfo_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_11030_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_11030 winIVRSpatialAnchors_11030; -extern void struct_IVRSpatialAnchors_11030_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_11030_win_to_lin(const void *w, void *l); -typedef struct winIVRDebug_11030 winIVRDebug_11030; -extern void struct_IVRDebug_11030_lin_to_win(void *l, void *w); -extern void struct_IVRDebug_11030_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1916 winVREvent_t_1916; -extern void struct_VREvent_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1916_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1916 winVRControllerState001_t_1916; -extern void struct_VRControllerState001_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1916_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1916 winCameraVideoStreamFrameHeader_t_1916; -extern void struct_CameraVideoStreamFrameHeader_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1916_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1916 winRenderModel_TextureMap_t_1916; -extern void struct_RenderModel_TextureMap_t_1916_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1916_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1916 winRenderModel_t_1916; -extern void struct_RenderModel_t_1916_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1916_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1916 winInputAnalogActionData_t_1916; -extern void struct_InputAnalogActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1916_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1916 winInputDigitalActionData_t_1916; -extern void struct_InputDigitalActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1916_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1916 winInputPoseActionData_t_1916; -extern void struct_InputPoseActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1916_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_1916 winInputSkeletalActionData_t_1916; -extern void struct_InputSkeletalActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1916_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1916 winInputOriginInfo_t_1916; -extern void struct_InputOriginInfo_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1916_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_1916 winIVRSpatialAnchors_1916; -extern void struct_IVRSpatialAnchors_1916_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_1916_win_to_lin(const void *w, void *l); -typedef struct winIVRDebug_1916 winIVRDebug_1916; -extern void struct_IVRDebug_1916_lin_to_win(void *l, void *w); -extern void struct_IVRDebug_1916_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1819 winVREvent_t_1819; -extern void struct_VREvent_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1819_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1819 winVRControllerState001_t_1819; -extern void struct_VRControllerState001_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1819_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1819 winCameraVideoStreamFrameHeader_t_1819; -extern void struct_CameraVideoStreamFrameHeader_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1819_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1819 winRenderModel_TextureMap_t_1819; -extern void struct_RenderModel_TextureMap_t_1819_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1819_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1819 winRenderModel_t_1819; -extern void struct_RenderModel_t_1819_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1819_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1819 winInputAnalogActionData_t_1819; -extern void struct_InputAnalogActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1819_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1819 winInputDigitalActionData_t_1819; -extern void struct_InputDigitalActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1819_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1819 winInputPoseActionData_t_1819; -extern void struct_InputPoseActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1819_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_1819 winInputSkeletalActionData_t_1819; -extern void struct_InputSkeletalActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1819_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1819 winInputOriginInfo_t_1819; -extern void struct_InputOriginInfo_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1819_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_1819 winIVRSpatialAnchors_1819; -extern void struct_IVRSpatialAnchors_1819_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_1819_win_to_lin(const void *w, void *l); -typedef struct winIVRDebug_1819 winIVRDebug_1819; -extern void struct_IVRDebug_1819_lin_to_win(void *l, void *w); -extern void struct_IVRDebug_1819_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1715 winVREvent_t_1715; -extern void struct_VREvent_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1715_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1715 winVRControllerState001_t_1715; -extern void struct_VRControllerState001_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1715_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1715 winCameraVideoStreamFrameHeader_t_1715; -extern void struct_CameraVideoStreamFrameHeader_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1715_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1715 winRenderModel_TextureMap_t_1715; -extern void struct_RenderModel_TextureMap_t_1715_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1715_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1715 winRenderModel_t_1715; -extern void struct_RenderModel_t_1715_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1715_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1715 winInputAnalogActionData_t_1715; -extern void struct_InputAnalogActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1715_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1715 winInputDigitalActionData_t_1715; -extern void struct_InputDigitalActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1715_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1715 winInputPoseActionData_t_1715; -extern void struct_InputPoseActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1715_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_1715 winInputSkeletalActionData_t_1715; -extern void struct_InputSkeletalActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1715_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1715 winInputOriginInfo_t_1715; -extern void struct_InputOriginInfo_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1715_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_1715 winIVRSpatialAnchors_1715; -extern void struct_IVRSpatialAnchors_1715_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_1715_win_to_lin(const void *w, void *l); -typedef struct winIVRDebug_1715 winIVRDebug_1715; -extern void struct_IVRDebug_1715_lin_to_win(void *l, void *w); -extern void struct_IVRDebug_1715_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1610 winVREvent_t_1610; -extern void struct_VREvent_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1610_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1610 winVRControllerState001_t_1610; -extern void struct_VRControllerState001_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1610_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1610 winCameraVideoStreamFrameHeader_t_1610; -extern void struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1610 winRenderModel_TextureMap_t_1610; -extern void struct_RenderModel_TextureMap_t_1610_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1610_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1610 winRenderModel_t_1610; -extern void struct_RenderModel_t_1610_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1610_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1610 winInputAnalogActionData_t_1610; -extern void struct_InputAnalogActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1610_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1610 winInputDigitalActionData_t_1610; -extern void struct_InputDigitalActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1610_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1610 winInputPoseActionData_t_1610; -extern void struct_InputPoseActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1610_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_1610 winInputSkeletalActionData_t_1610; -extern void struct_InputSkeletalActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1610_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1610 winInputOriginInfo_t_1610; -extern void struct_InputOriginInfo_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1610_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_1610 winIVRSpatialAnchors_1610; -extern void struct_IVRSpatialAnchors_1610_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_1610_win_to_lin(const void *w, void *l); -typedef struct winIVRDebug_1610 winIVRDebug_1610; -extern void struct_IVRDebug_1610_lin_to_win(void *l, void *w); -extern void struct_IVRDebug_1610_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1517 winVREvent_t_1517; -extern void struct_VREvent_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1517_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1517 winVRControllerState001_t_1517; -extern void struct_VRControllerState001_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1517_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1517 winCameraVideoStreamFrameHeader_t_1517; -extern void struct_CameraVideoStreamFrameHeader_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1517_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1517 winRenderModel_TextureMap_t_1517; -extern void struct_RenderModel_TextureMap_t_1517_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1517_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1517 winRenderModel_t_1517; -extern void struct_RenderModel_t_1517_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1517_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1517 winInputAnalogActionData_t_1517; -extern void struct_InputAnalogActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1517_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1517 winInputDigitalActionData_t_1517; -extern void struct_InputDigitalActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1517_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1517 winInputPoseActionData_t_1517; -extern void struct_InputPoseActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1517_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_1517 winInputSkeletalActionData_t_1517; -extern void struct_InputSkeletalActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1517_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1517 winInputOriginInfo_t_1517; -extern void struct_InputOriginInfo_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1517_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_1517 winIVRSpatialAnchors_1517; -extern void struct_IVRSpatialAnchors_1517_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_1517_win_to_lin(const void *w, void *l); -typedef struct winIVRDebug_1517 winIVRDebug_1517; -extern void struct_IVRDebug_1517_lin_to_win(void *l, void *w); -extern void struct_IVRDebug_1517_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1418 winVREvent_t_1418; -extern void struct_VREvent_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1418_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1418 winVRControllerState001_t_1418; -extern void struct_VRControllerState001_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1418_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1418 winCameraVideoStreamFrameHeader_t_1418; -extern void struct_CameraVideoStreamFrameHeader_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1418_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1418 winRenderModel_TextureMap_t_1418; -extern void struct_RenderModel_TextureMap_t_1418_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1418_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1418 winRenderModel_t_1418; -extern void struct_RenderModel_t_1418_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1418_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1418 winInputAnalogActionData_t_1418; -extern void struct_InputAnalogActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1418_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1418 winInputDigitalActionData_t_1418; -extern void struct_InputDigitalActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1418_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1418 winInputPoseActionData_t_1418; -extern void struct_InputPoseActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1418_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_1418 winInputSkeletalActionData_t_1418; -extern void struct_InputSkeletalActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1418_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1418 winInputOriginInfo_t_1418; -extern void struct_InputOriginInfo_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1418_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_1418 winIVRSpatialAnchors_1418; -extern void struct_IVRSpatialAnchors_1418_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_1418_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1322 winVREvent_t_1322; -extern void struct_VREvent_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1322_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1322 winVRControllerState001_t_1322; -extern void struct_VRControllerState001_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1322_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1322 winCameraVideoStreamFrameHeader_t_1322; -extern void struct_CameraVideoStreamFrameHeader_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1322_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1322 winRenderModel_TextureMap_t_1322; -extern void struct_RenderModel_TextureMap_t_1322_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1322_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1322 winRenderModel_t_1322; -extern void struct_RenderModel_t_1322_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1322_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1322 winInputAnalogActionData_t_1322; -extern void struct_InputAnalogActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1322_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1322 winInputDigitalActionData_t_1322; -extern void struct_InputDigitalActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1322_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1322 winInputPoseActionData_t_1322; -extern void struct_InputPoseActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1322_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_1322 winInputSkeletalActionData_t_1322; -extern void struct_InputSkeletalActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1322_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1322 winInputOriginInfo_t_1322; -extern void struct_InputOriginInfo_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1322_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_1322 winIVRSpatialAnchors_1322; -extern void struct_IVRSpatialAnchors_1322_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_1322_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1210 winVREvent_t_1210; -extern void struct_VREvent_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1210_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1210 winVRControllerState001_t_1210; -extern void struct_VRControllerState001_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1210_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1210 winCameraVideoStreamFrameHeader_t_1210; -extern void struct_CameraVideoStreamFrameHeader_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1210_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1210 winRenderModel_TextureMap_t_1210; -extern void struct_RenderModel_TextureMap_t_1210_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1210_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1210 winRenderModel_t_1210; -extern void struct_RenderModel_t_1210_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1210_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1210 winInputAnalogActionData_t_1210; -extern void struct_InputAnalogActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1210_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1210 winInputDigitalActionData_t_1210; -extern void struct_InputDigitalActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1210_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1210 winInputPoseActionData_t_1210; -extern void struct_InputPoseActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1210_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_1210 winInputSkeletalActionData_t_1210; -extern void struct_InputSkeletalActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1210_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1210 winInputOriginInfo_t_1210; -extern void struct_InputOriginInfo_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1210_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_1210 winIVRSpatialAnchors_1210; -extern void struct_IVRSpatialAnchors_1210_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_1210_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_113b winVREvent_t_113b; -extern void struct_VREvent_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_113b_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_113b winVRControllerState001_t_113b; -extern void struct_VRControllerState001_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_113b_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_113b winCameraVideoStreamFrameHeader_t_113b; -extern void struct_CameraVideoStreamFrameHeader_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_113b_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_113b winRenderModel_TextureMap_t_113b; -extern void struct_RenderModel_TextureMap_t_113b_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_113b_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_113b winRenderModel_t_113b; -extern void struct_RenderModel_t_113b_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_113b_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_113b winInputAnalogActionData_t_113b; -extern void struct_InputAnalogActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_113b_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_113b winInputDigitalActionData_t_113b; -extern void struct_InputDigitalActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_113b_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_113b winInputPoseActionData_t_113b; -extern void struct_InputPoseActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_113b_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_113b winInputSkeletalActionData_t_113b; -extern void struct_InputSkeletalActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_113b_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_113b winInputOriginInfo_t_113b; -extern void struct_InputOriginInfo_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_113b_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_113b winIVRSpatialAnchors_113b; -extern void struct_IVRSpatialAnchors_113b_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_113b_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1017 winVREvent_t_1017; -extern void struct_VREvent_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1017_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1017 winVRControllerState001_t_1017; -extern void struct_VRControllerState001_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1017_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1017 winCameraVideoStreamFrameHeader_t_1017; -extern void struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1017 winRenderModel_TextureMap_t_1017; -extern void struct_RenderModel_TextureMap_t_1017_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1017_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1017 winRenderModel_t_1017; -extern void struct_RenderModel_t_1017_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1017_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1017 winInputAnalogActionData_t_1017; -extern void struct_InputAnalogActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1017_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1017 winInputDigitalActionData_t_1017; -extern void struct_InputDigitalActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1017_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1017 winInputPoseActionData_t_1017; -extern void struct_InputPoseActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1017_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_1017 winInputSkeletalActionData_t_1017; -extern void struct_InputSkeletalActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1017_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1017 winInputOriginInfo_t_1017; -extern void struct_InputOriginInfo_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1017_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_1017 winIVRSpatialAnchors_1017; -extern void struct_IVRSpatialAnchors_1017_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_1017_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1016 winVREvent_t_1016; -extern void struct_VREvent_t_1016_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1016_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1016 winVRControllerState001_t_1016; -extern void struct_VRControllerState001_t_1016_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1016_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1016 winRenderModel_TextureMap_t_1016; -extern void struct_RenderModel_TextureMap_t_1016_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1016_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1016 winRenderModel_t_1016; -extern void struct_RenderModel_t_1016_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1016_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1016 winInputAnalogActionData_t_1016; -extern void struct_InputAnalogActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1016_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1016 winInputDigitalActionData_t_1016; -extern void struct_InputDigitalActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1016_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1016 winInputPoseActionData_t_1016; -extern void struct_InputPoseActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1016_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletalActionData_t_1016 winInputSkeletalActionData_t_1016; -extern void struct_InputSkeletalActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1016_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1016 winInputOriginInfo_t_1016; -extern void struct_InputOriginInfo_t_1016_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1016_win_to_lin(const void *w, void *l); -typedef struct winIVRSpatialAnchors_1016 winIVRSpatialAnchors_1016; -extern void struct_IVRSpatialAnchors_1016_lin_to_win(void *l, void *w); -extern void struct_IVRSpatialAnchors_1016_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1015 winVREvent_t_1015; -extern void struct_VREvent_t_1015_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1015_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1015 winVRControllerState001_t_1015; -extern void struct_VRControllerState001_t_1015_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1015_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1015 winRenderModel_TextureMap_t_1015; -extern void struct_RenderModel_TextureMap_t_1015_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1015_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1015 winRenderModel_t_1015; -extern void struct_RenderModel_t_1015_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1015_win_to_lin(const void *w, void *l); -typedef struct winInputAnalogActionData_t_1015 winInputAnalogActionData_t_1015; -extern void struct_InputAnalogActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1015_win_to_lin(const void *w, void *l); -typedef struct winInputDigitalActionData_t_1015 winInputDigitalActionData_t_1015; -extern void struct_InputDigitalActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1015_win_to_lin(const void *w, void *l); -typedef struct winInputPoseActionData_t_1015 winInputPoseActionData_t_1015; -extern void struct_InputPoseActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1015_win_to_lin(const void *w, void *l); -typedef struct winInputSkeletonActionData_t_1015 winInputSkeletonActionData_t_1015; -extern void struct_InputSkeletonActionData_t_1015_lin_to_win(void *l, void *w); -extern void struct_InputSkeletonActionData_t_1015_win_to_lin(const void *w, void *l); -typedef struct winInputOriginInfo_t_1015 winInputOriginInfo_t_1015; -extern void struct_InputOriginInfo_t_1015_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputOriginInfo_t_1015_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1014 winVREvent_t_1014; -extern void struct_VREvent_t_1014_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1014_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1014 winVRControllerState001_t_1014; -extern void struct_VRControllerState001_t_1014_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1014_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1014 winRenderModel_TextureMap_t_1014; -extern void struct_RenderModel_TextureMap_t_1014_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1014_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1014 winRenderModel_t_1014; -extern void struct_RenderModel_t_1014_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1014_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1013 winVREvent_t_1013; -extern void struct_VREvent_t_1013_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1013_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1013 winVRControllerState001_t_1013; -extern void struct_VRControllerState001_t_1013_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1013_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1013 winRenderModel_TextureMap_t_1013; -extern void struct_RenderModel_TextureMap_t_1013_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1013_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1013 winRenderModel_t_1013; -extern void struct_RenderModel_t_1013_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1013_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1012 winVREvent_t_1012; -extern void struct_VREvent_t_1012_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1012_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1012 winVRControllerState001_t_1012; -extern void struct_VRControllerState001_t_1012_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1012_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1012 winRenderModel_TextureMap_t_1012; -extern void struct_RenderModel_TextureMap_t_1012_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1012_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1012 winRenderModel_t_1012; -extern void struct_RenderModel_t_1012_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1012_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1011 winVREvent_t_1011; -extern void struct_VREvent_t_1011_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1011_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1011 winVRControllerState001_t_1011; -extern void struct_VRControllerState001_t_1011_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1011_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1011 winRenderModel_TextureMap_t_1011; -extern void struct_RenderModel_TextureMap_t_1011_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1011_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1011 winRenderModel_t_1011; -extern void struct_RenderModel_t_1011_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1011_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_1010 winVREvent_t_1010; -extern void struct_VREvent_t_1010_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1010_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_1010 winVRControllerState001_t_1010; -extern void struct_VRControllerState001_t_1010_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1010_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1010 winRenderModel_TextureMap_t_1010; -extern void struct_RenderModel_TextureMap_t_1010_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1010_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_1010 winRenderModel_t_1010; -extern void struct_RenderModel_t_1010_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1010_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_109 winVREvent_t_109; -extern void struct_VREvent_t_109_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_109_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_109 winVRControllerState001_t_109; -extern void struct_VRControllerState001_t_109_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_109_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_109 winRenderModel_TextureMap_t_109; -extern void struct_RenderModel_TextureMap_t_109_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_109_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_109 winRenderModel_t_109; -extern void struct_RenderModel_t_109_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_109_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_108 winVREvent_t_108; -extern void struct_VREvent_t_108_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_108_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_108 winVRControllerState001_t_108; -extern void struct_VRControllerState001_t_108_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_108_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_108 winRenderModel_TextureMap_t_108; -extern void struct_RenderModel_TextureMap_t_108_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_108_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_108 winRenderModel_t_108; -extern void struct_RenderModel_t_108_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_108_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_107 winVREvent_t_107; -extern void struct_VREvent_t_107_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_107_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_107 winVRControllerState001_t_107; -extern void struct_VRControllerState001_t_107_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_107_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_107 winRenderModel_TextureMap_t_107; -extern void struct_RenderModel_TextureMap_t_107_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_107_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_107 winRenderModel_t_107; -extern void struct_RenderModel_t_107_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_107_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_106 winVREvent_t_106; -extern void struct_VREvent_t_106_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_106_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_106 winVRControllerState001_t_106; -extern void struct_VRControllerState001_t_106_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_106_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_106 winRenderModel_TextureMap_t_106; -extern void struct_RenderModel_TextureMap_t_106_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_106_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_106 winRenderModel_t_106; -extern void struct_RenderModel_t_106_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_106_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_105 winVREvent_t_105; -extern void struct_VREvent_t_105_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_105_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_105 winVRControllerState001_t_105; -extern void struct_VRControllerState001_t_105_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_105_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_105 winRenderModel_TextureMap_t_105; -extern void struct_RenderModel_TextureMap_t_105_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_105_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_105 winRenderModel_t_105; -extern void struct_RenderModel_t_105_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_105_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_104 winVREvent_t_104; -extern void struct_VREvent_t_104_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_104_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_104 winVRControllerState001_t_104; -extern void struct_VRControllerState001_t_104_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_104_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_104 winRenderModel_TextureMap_t_104; -extern void struct_RenderModel_TextureMap_t_104_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_104_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_104 winRenderModel_t_104; -extern void struct_RenderModel_t_104_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_104_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_103a winVREvent_t_103a; -extern void struct_VREvent_t_103a_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_103a_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_103a winVRControllerState001_t_103a; -extern void struct_VRControllerState001_t_103a_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_103a_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_103a winRenderModel_TextureMap_t_103a; -extern void struct_RenderModel_TextureMap_t_103a_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_103a_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_103a winRenderModel_t_103a; -extern void struct_RenderModel_t_103a_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_103a_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_103 winVREvent_t_103; -extern void struct_VREvent_t_103_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_103_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_103 winVRControllerState001_t_103; -extern void struct_VRControllerState001_t_103_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_103_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_103 winCompositor_FrameTiming_103; -extern void struct_Compositor_FrameTiming_103_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_103_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_103 winRenderModel_TextureMap_t_103; -extern void struct_RenderModel_TextureMap_t_103_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_103_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_103 winRenderModel_t_103; -extern void struct_RenderModel_t_103_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_103_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_102 winVREvent_t_102; -extern void struct_VREvent_t_102_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_102_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_102 winVRControllerState001_t_102; -extern void struct_VRControllerState001_t_102_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_102_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_102 winCompositor_FrameTiming_102; -extern void struct_Compositor_FrameTiming_102_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_102_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_102 winRenderModel_TextureMap_t_102; -extern void struct_RenderModel_TextureMap_t_102_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_102_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_102 winRenderModel_t_102; -extern void struct_RenderModel_t_102_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_102_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_101 winVREvent_t_101; -extern void struct_VREvent_t_101_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_101_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_101 winVRControllerState001_t_101; -extern void struct_VRControllerState001_t_101_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_101_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_101 winRenderModel_TextureMap_t_101; -extern void struct_RenderModel_TextureMap_t_101_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_101_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_101 winRenderModel_t_101; -extern void struct_RenderModel_t_101_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_101_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_100 winVREvent_t_100; -extern void struct_VREvent_t_100_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_100_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_100 winVRControllerState001_t_100; -extern void struct_VRControllerState001_t_100_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_100_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_100 winRenderModel_TextureMap_t_100; -extern void struct_RenderModel_TextureMap_t_100_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_100_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_100 winRenderModel_t_100; -extern void struct_RenderModel_t_100_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_100_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_0920 winVREvent_t_0920; -extern void struct_VREvent_t_0920_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0920_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_0920 winVRControllerState001_t_0920; -extern void struct_VRControllerState001_t_0920_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0920_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0920 winRenderModel_TextureMap_t_0920; -extern void struct_RenderModel_TextureMap_t_0920_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0920_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_0920 winRenderModel_t_0920; -extern void struct_RenderModel_t_0920_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0920_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_0919 winVREvent_t_0919; -extern void struct_VREvent_t_0919_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0919_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_0919 winVRControllerState001_t_0919; -extern void struct_VRControllerState001_t_0919_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0919_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0919 winRenderModel_TextureMap_t_0919; -extern void struct_RenderModel_TextureMap_t_0919_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0919_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_0919 winRenderModel_t_0919; -extern void struct_RenderModel_t_0919_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0919_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_0918 winVREvent_t_0918; -extern void struct_VREvent_t_0918_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0918_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_0918 winVRControllerState001_t_0918; -extern void struct_VRControllerState001_t_0918_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0918_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0918 winRenderModel_TextureMap_t_0918; -extern void struct_RenderModel_TextureMap_t_0918_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0918_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_0918 winRenderModel_t_0918; -extern void struct_RenderModel_t_0918_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0918_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_0917 winVREvent_t_0917; -extern void struct_VREvent_t_0917_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0917_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_0917 winVRControllerState001_t_0917; -extern void struct_VRControllerState001_t_0917_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0917_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0917 winRenderModel_TextureMap_t_0917; -extern void struct_RenderModel_TextureMap_t_0917_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0917_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_0917 winRenderModel_t_0917; -extern void struct_RenderModel_t_0917_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0917_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_0916 winVREvent_t_0916; -extern void struct_VREvent_t_0916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0916_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_0916 winVRControllerState001_t_0916; -extern void struct_VRControllerState001_t_0916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0916_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0916 winRenderModel_TextureMap_t_0916; -extern void struct_RenderModel_TextureMap_t_0916_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0916_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_0916 winRenderModel_t_0916; -extern void struct_RenderModel_t_0916_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0916_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_0915 winVREvent_t_0915; -extern void struct_VREvent_t_0915_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0915_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_0915 winVRControllerState001_t_0915; -extern void struct_VRControllerState001_t_0915_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0915_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0915 winRenderModel_TextureMap_t_0915; -extern void struct_RenderModel_TextureMap_t_0915_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0915_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_0915 winRenderModel_t_0915; -extern void struct_RenderModel_t_0915_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0915_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_0914 winVREvent_t_0914; -extern void struct_VREvent_t_0914_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0914_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_0914 winVRControllerState001_t_0914; -extern void struct_VRControllerState001_t_0914_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0914_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrame_t_0914 winCameraVideoStreamFrame_t_0914; -extern void struct_CameraVideoStreamFrame_t_0914_lin_to_win(void *l, void *w); -extern void struct_CameraVideoStreamFrame_t_0914_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_0914 winCompositor_FrameTiming_0914; -extern void struct_Compositor_FrameTiming_0914_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_0914_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0914 winRenderModel_TextureMap_t_0914; -extern void struct_RenderModel_TextureMap_t_0914_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0914_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_0914 winRenderModel_t_0914; -extern void struct_RenderModel_t_0914_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0914_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_0913 winVREvent_t_0913; -extern void struct_VREvent_t_0913_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0913_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_0913 winVRControllerState001_t_0913; -extern void struct_VRControllerState001_t_0913_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0913_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrame_t_0913 winCameraVideoStreamFrame_t_0913; -extern void struct_CameraVideoStreamFrame_t_0913_lin_to_win(void *l, void *w); -extern void struct_CameraVideoStreamFrame_t_0913_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_0913 winCompositor_FrameTiming_0913; -extern void struct_Compositor_FrameTiming_0913_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_0913_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0913 winRenderModel_TextureMap_t_0913; -extern void struct_RenderModel_TextureMap_t_0913_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0913_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_0913 winRenderModel_t_0913; -extern void struct_RenderModel_t_0913_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0913_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_0912 winVREvent_t_0912; -extern void struct_VREvent_t_0912_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0912_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_0912 winVRControllerState001_t_0912; -extern void struct_VRControllerState001_t_0912_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0912_win_to_lin(const void *w, void *l); -typedef struct winCameraVideoStreamFrame_t_0912 winCameraVideoStreamFrame_t_0912; -extern void struct_CameraVideoStreamFrame_t_0912_lin_to_win(void *l, void *w); -extern void struct_CameraVideoStreamFrame_t_0912_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_0912 winCompositor_FrameTiming_0912; -extern void struct_Compositor_FrameTiming_0912_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_0912_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0912 winRenderModel_TextureMap_t_0912; -extern void struct_RenderModel_TextureMap_t_0912_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0912_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_0912 winRenderModel_t_0912; -extern void struct_RenderModel_t_0912_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0912_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0910 winRenderModel_TextureMap_t_0910; -extern void struct_RenderModel_TextureMap_t_0910_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0910_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_0910 winRenderModel_t_0910; -extern void struct_RenderModel_t_0910_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0910_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_0910 winVREvent_t_0910; -extern void struct_VREvent_t_0910_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0910_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_0910 winVRControllerState001_t_0910; -extern void struct_VRControllerState001_t_0910_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0910_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_0910 winCompositor_FrameTiming_0910; -extern void struct_Compositor_FrameTiming_0910_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_0910_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_099 winRenderModel_TextureMap_t_099; -extern void struct_RenderModel_TextureMap_t_099_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_099_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_099 winRenderModel_t_099; -extern void struct_RenderModel_t_099_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_099_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_099 winVREvent_t_099; -extern void struct_VREvent_t_099_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_099_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_099 winVRControllerState001_t_099; -extern void struct_VRControllerState001_t_099_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_099_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_099 winCompositor_FrameTiming_099; -extern void struct_Compositor_FrameTiming_099_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_099_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_098 winRenderModel_TextureMap_t_098; -extern void struct_RenderModel_TextureMap_t_098_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_098_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_098 winRenderModel_t_098; -extern void struct_RenderModel_t_098_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_098_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_098 winVREvent_t_098; -extern void struct_VREvent_t_098_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_098_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_098 winVRControllerState001_t_098; -extern void struct_VRControllerState001_t_098_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_098_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_098 winCompositor_FrameTiming_098; -extern void struct_Compositor_FrameTiming_098_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_098_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_097 winRenderModel_TextureMap_t_097; -extern void struct_RenderModel_TextureMap_t_097_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_097_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_097 winRenderModel_t_097; -extern void struct_RenderModel_t_097_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_097_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_097 winVREvent_t_097; -extern void struct_VREvent_t_097_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_097_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_097 winVRControllerState001_t_097; -extern void struct_VRControllerState001_t_097_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_097_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_097 winCompositor_FrameTiming_097; -extern void struct_Compositor_FrameTiming_097_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_097_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_096 winRenderModel_TextureMap_t_096; -extern void struct_RenderModel_TextureMap_t_096_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_096_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_096 winRenderModel_t_096; -extern void struct_RenderModel_t_096_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_096_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_096 winVREvent_t_096; -extern void struct_VREvent_t_096_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_096_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_096 winVRControllerState001_t_096; -extern void struct_VRControllerState001_t_096_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_096_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_096 winCompositor_FrameTiming_096; -extern void struct_Compositor_FrameTiming_096_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_096_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_094 winRenderModel_TextureMap_t_094; -extern void struct_RenderModel_TextureMap_t_094_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_094_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_094 winRenderModel_t_094; -extern void struct_RenderModel_t_094_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_094_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_094 winVREvent_t_094; -extern void struct_VREvent_t_094_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_094_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_094 winVRControllerState001_t_094; -extern void struct_VRControllerState001_t_094_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_094_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_094 winCompositor_FrameTiming_094; -extern void struct_Compositor_FrameTiming_094_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_094_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_093 winRenderModel_TextureMap_t_093; -extern void struct_RenderModel_TextureMap_t_093_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_093_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_093 winRenderModel_t_093; -extern void struct_RenderModel_t_093_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_093_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_093 winVREvent_t_093; -extern void struct_VREvent_t_093_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_093_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_093 winVRControllerState001_t_093; -extern void struct_VRControllerState001_t_093_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_093_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_093 winCompositor_FrameTiming_093; -extern void struct_Compositor_FrameTiming_093_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_093_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_092 winRenderModel_TextureMap_t_092; -extern void struct_RenderModel_TextureMap_t_092_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_092_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_092 winRenderModel_t_092; -extern void struct_RenderModel_t_092_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_092_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_092 winVREvent_t_092; -extern void struct_VREvent_t_092_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_092_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_092 winVRControllerState001_t_092; -extern void struct_VRControllerState001_t_092_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_092_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_092 winCompositor_FrameTiming_092; -extern void struct_Compositor_FrameTiming_092_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_092_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_091 winRenderModel_TextureMap_t_091; -extern void struct_RenderModel_TextureMap_t_091_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_091_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_091 winRenderModel_t_091; -extern void struct_RenderModel_t_091_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_091_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_091 winVREvent_t_091; -extern void struct_VREvent_t_091_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_091_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_091 winVRControllerState001_t_091; -extern void struct_VRControllerState001_t_091_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_091_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_091 winCompositor_FrameTiming_091; -extern void struct_Compositor_FrameTiming_091_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_091_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_TextureMap_t_090 winRenderModel_TextureMap_t_090; -extern void struct_RenderModel_TextureMap_t_090_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_090_win_to_lin(const void *w, void *l); -typedef struct winRenderModel_t_090 winRenderModel_t_090; -extern void struct_RenderModel_t_090_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_090_win_to_lin(const void *w, void *l); -typedef struct winVREvent_t_090 winVREvent_t_090; -extern void struct_VREvent_t_090_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_090_win_to_lin(const void *w, void *l); -typedef struct winVRControllerState001_t_090 winVRControllerState001_t_090; -extern void struct_VRControllerState001_t_090_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_090_win_to_lin(const void *w, void *l); -typedef struct winCompositor_FrameTiming_090 winCompositor_FrameTiming_090; -extern void struct_Compositor_FrameTiming_090_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_090_win_to_lin(const void *w, void *l); diff --git a/vrclient_x64/vrclient_x64/struct_converters_090.cpp b/vrclient_x64/vrclient_x64/struct_converters_090.cpp deleted file mode 100644 index 6cdddc6d..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_090.cpp +++ /dev/null @@ -1,164 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.0/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_090 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_090_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_090 *win = (struct winRenderModel_TextureMap_t_090 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_090_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_090 *win = (struct winRenderModel_TextureMap_t_090 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_090 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_090 diffuseTexture __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_090_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_090 *win = (struct winRenderModel_t_090 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_090_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_090_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_090 *win = (struct winRenderModel_t_090 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_090_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -#pragma pack(push, 8) -struct winVREvent_t_090 { - 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_090_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_090 *win = (struct winVREvent_t_090 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); - win->eventAgeSeconds = lin->eventAgeSeconds; -} - -void struct_VREvent_t_090_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_090 *win = (struct winVREvent_t_090 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->data = win->data; - lin->eventAgeSeconds = win->eventAgeSeconds; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_090 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_090_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_090 *win = (struct winVRControllerState001_t_090 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_090_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_090 *win = (struct winVRControllerState001_t_090 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_090 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_090_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_090 *win = (struct winCompositor_FrameTiming_090 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; -} - -void struct_Compositor_FrameTiming_090_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_090 *win = (struct winCompositor_FrameTiming_090 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_091.cpp b/vrclient_x64/vrclient_x64/struct_converters_091.cpp deleted file mode 100644 index 8ba2d417..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_091.cpp +++ /dev/null @@ -1,164 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.1/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_091 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_091_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_091 *win = (struct winRenderModel_TextureMap_t_091 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_091_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_091 *win = (struct winRenderModel_TextureMap_t_091 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_091 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_091 diffuseTexture __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_091_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_091 *win = (struct winRenderModel_t_091 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_091_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_091_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_091 *win = (struct winRenderModel_t_091 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_091_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -#pragma pack(push, 8) -struct winVREvent_t_091 { - 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_091_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_091 *win = (struct winVREvent_t_091 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); - win->eventAgeSeconds = lin->eventAgeSeconds; -} - -void struct_VREvent_t_091_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_091 *win = (struct winVREvent_t_091 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->data = win->data; - lin->eventAgeSeconds = win->eventAgeSeconds; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_091 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_091_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_091 *win = (struct winVRControllerState001_t_091 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_091_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_091 *win = (struct winVRControllerState001_t_091 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_091 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_091_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_091 *win = (struct winCompositor_FrameTiming_091 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; -} - -void struct_Compositor_FrameTiming_091_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_091 *win = (struct winCompositor_FrameTiming_091 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0910.cpp b/vrclient_x64/vrclient_x64/struct_converters_0910.cpp deleted file mode 100644 index ba5f819d..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0910.cpp +++ /dev/null @@ -1,188 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0910 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0910_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0910 *win = (struct winRenderModel_TextureMap_t_0910 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0910_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0910 *win = (struct winRenderModel_TextureMap_t_0910 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0910 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_0910 diffuseTexture __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0910_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0910 *win = (struct winRenderModel_t_0910 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_0910_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_0910_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_0910 *win = (struct winRenderModel_t_0910 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_0910_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -#pragma pack(push, 8) -struct winVREvent_t_0910 { - 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_0910_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0910 *win = (struct winVREvent_t_0910 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); - win->eventAgeSeconds = lin->eventAgeSeconds; -} - -void struct_VREvent_t_0910_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_0910 *win = (struct winVREvent_t_0910 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->data = win->data; - lin->eventAgeSeconds = win->eventAgeSeconds; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0910 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0910_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0910 *win = (struct winVRControllerState001_t_0910 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0910_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_0910 *win = (struct winVRControllerState001_t_0910 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_0910 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_0910_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_0910 *win = (struct winCompositor_FrameTiming_0910 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; -} - -void struct_Compositor_FrameTiming_0910_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_0910 *win = (struct winCompositor_FrameTiming_0910 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0912.cpp b/vrclient_x64/vrclient_x64/struct_converters_0912.cpp deleted file mode 100644 index 83cfc3aa..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0912.cpp +++ /dev/null @@ -1,250 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.12/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_0912 { - 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_0912_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0912 *win = (struct winVREvent_t_0912 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); - win->eventAgeSeconds = lin->eventAgeSeconds; -} - -void struct_VREvent_t_0912_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_0912 *win = (struct winVREvent_t_0912 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->data = win->data; - lin->eventAgeSeconds = win->eventAgeSeconds; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0912 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0912_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0912 *win = (struct winVRControllerState001_t_0912 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0912_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_0912 *win = (struct winVRControllerState001_t_0912 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrame_t_0912 { - vr::ECameraVideoStreamFormat m_nStreamFormat; - uint32_t m_nWidth; - uint32_t m_nHeight; - uint32_t m_nFrameSequence; - uint32_t m_nTimeStamp; - uint32_t m_nBufferIndex; - uint32_t m_nBufferCount; - uint32_t m_nImageDataSize; - double m_flFrameElapsedTime; - double m_flFrameCaptureTime; - bool m_bPoseIsValid; - vr::HmdMatrix34_t m_matDeviceToAbsoluteTracking __attribute__((aligned(4))); - float m_Pad[4]; - void * m_pImageData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrame_t_0912_lin_to_win(void *l, void *w) -{ - struct winCameraVideoStreamFrame_t_0912 *win = (struct winCameraVideoStreamFrame_t_0912 *)w; - CameraVideoStreamFrame_t *lin = (CameraVideoStreamFrame_t *)l; - win->m_nStreamFormat = lin->m_nStreamFormat; - win->m_nWidth = lin->m_nWidth; - win->m_nHeight = lin->m_nHeight; - win->m_nFrameSequence = lin->m_nFrameSequence; - win->m_nTimeStamp = lin->m_nTimeStamp; - win->m_nBufferIndex = lin->m_nBufferIndex; - win->m_nBufferCount = lin->m_nBufferCount; - win->m_nImageDataSize = lin->m_nImageDataSize; - win->m_flFrameElapsedTime = lin->m_flFrameElapsedTime; - win->m_flFrameCaptureTime = lin->m_flFrameCaptureTime; - win->m_bPoseIsValid = lin->m_bPoseIsValid; - win->m_matDeviceToAbsoluteTracking = lin->m_matDeviceToAbsoluteTracking; - memcpy(win->m_Pad, lin->m_Pad, sizeof(win->m_Pad)); - win->m_pImageData = lin->m_pImageData; -} - -void struct_CameraVideoStreamFrame_t_0912_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrame_t_0912 *win = (struct winCameraVideoStreamFrame_t_0912 *)w; - CameraVideoStreamFrame_t *lin = (CameraVideoStreamFrame_t *)l; - lin->m_nStreamFormat = win->m_nStreamFormat; - lin->m_nWidth = win->m_nWidth; - lin->m_nHeight = win->m_nHeight; - lin->m_nFrameSequence = win->m_nFrameSequence; - lin->m_nTimeStamp = win->m_nTimeStamp; - lin->m_nBufferIndex = win->m_nBufferIndex; - lin->m_nBufferCount = win->m_nBufferCount; - lin->m_nImageDataSize = win->m_nImageDataSize; - lin->m_flFrameElapsedTime = win->m_flFrameElapsedTime; - lin->m_flFrameCaptureTime = win->m_flFrameCaptureTime; - lin->m_bPoseIsValid = win->m_bPoseIsValid; - lin->m_matDeviceToAbsoluteTracking = win->m_matDeviceToAbsoluteTracking; - memcpy(lin->m_Pad, win->m_Pad, sizeof(lin->m_Pad)); - lin->m_pImageData = win->m_pImageData; -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_0912 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; - float m_flHandoffStartMs; - float m_flHandoffEndMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_0912_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_0912 *win = (struct winCompositor_FrameTiming_0912 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; - win->m_flHandoffStartMs = lin->m_flHandoffStartMs; - win->m_flHandoffEndMs = lin->m_flHandoffEndMs; -} - -void struct_Compositor_FrameTiming_0912_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_0912 *win = (struct winCompositor_FrameTiming_0912 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; - lin->m_flHandoffStartMs = win->m_flHandoffStartMs; - lin->m_flHandoffEndMs = win->m_flHandoffEndMs; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0912 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0912_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0912 *win = (struct winRenderModel_TextureMap_t_0912 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0912_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0912 *win = (struct winRenderModel_TextureMap_t_0912 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0912 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0912_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0912 *win = (struct winRenderModel_t_0912 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0912_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_0912 *win = (struct winRenderModel_t_0912 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0913.cpp b/vrclient_x64/vrclient_x64/struct_converters_0913.cpp deleted file mode 100644 index a26272c1..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0913.cpp +++ /dev/null @@ -1,253 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.13/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_0913 { - 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_0913_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0913 *win = (struct winVREvent_t_0913 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); - win->eventAgeSeconds = lin->eventAgeSeconds; -} - -void struct_VREvent_t_0913_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_0913 *win = (struct winVREvent_t_0913 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->data = win->data; - lin->eventAgeSeconds = win->eventAgeSeconds; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0913 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0913_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0913 *win = (struct winVRControllerState001_t_0913 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0913_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_0913 *win = (struct winVRControllerState001_t_0913 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrame_t_0913 { - vr::ECameraVideoStreamFormat m_nStreamFormat; - uint32_t m_nWidth; - uint32_t m_nHeight; - uint32_t m_nFrameSequence; - uint32_t m_nTimeStamp; - uint32_t m_nBufferIndex; - uint32_t m_nBufferCount; - uint32_t m_nImageDataSize; - double m_flFrameElapsedTime; - double m_flFrameCaptureTime; - bool m_bPoseIsValid; - vr::HmdMatrix34_t m_matDeviceToAbsoluteTracking __attribute__((aligned(4))); - float m_Pad[4]; - void * m_pImageData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrame_t_0913_lin_to_win(void *l, void *w) -{ - struct winCameraVideoStreamFrame_t_0913 *win = (struct winCameraVideoStreamFrame_t_0913 *)w; - CameraVideoStreamFrame_t *lin = (CameraVideoStreamFrame_t *)l; - win->m_nStreamFormat = lin->m_nStreamFormat; - win->m_nWidth = lin->m_nWidth; - win->m_nHeight = lin->m_nHeight; - win->m_nFrameSequence = lin->m_nFrameSequence; - win->m_nTimeStamp = lin->m_nTimeStamp; - win->m_nBufferIndex = lin->m_nBufferIndex; - win->m_nBufferCount = lin->m_nBufferCount; - win->m_nImageDataSize = lin->m_nImageDataSize; - win->m_flFrameElapsedTime = lin->m_flFrameElapsedTime; - win->m_flFrameCaptureTime = lin->m_flFrameCaptureTime; - win->m_bPoseIsValid = lin->m_bPoseIsValid; - win->m_matDeviceToAbsoluteTracking = lin->m_matDeviceToAbsoluteTracking; - memcpy(win->m_Pad, lin->m_Pad, sizeof(win->m_Pad)); - win->m_pImageData = lin->m_pImageData; -} - -void struct_CameraVideoStreamFrame_t_0913_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrame_t_0913 *win = (struct winCameraVideoStreamFrame_t_0913 *)w; - CameraVideoStreamFrame_t *lin = (CameraVideoStreamFrame_t *)l; - lin->m_nStreamFormat = win->m_nStreamFormat; - lin->m_nWidth = win->m_nWidth; - lin->m_nHeight = win->m_nHeight; - lin->m_nFrameSequence = win->m_nFrameSequence; - lin->m_nTimeStamp = win->m_nTimeStamp; - lin->m_nBufferIndex = win->m_nBufferIndex; - lin->m_nBufferCount = win->m_nBufferCount; - lin->m_nImageDataSize = win->m_nImageDataSize; - lin->m_flFrameElapsedTime = win->m_flFrameElapsedTime; - lin->m_flFrameCaptureTime = win->m_flFrameCaptureTime; - lin->m_bPoseIsValid = win->m_bPoseIsValid; - lin->m_matDeviceToAbsoluteTracking = win->m_matDeviceToAbsoluteTracking; - memcpy(lin->m_Pad, win->m_Pad, sizeof(lin->m_Pad)); - lin->m_pImageData = win->m_pImageData; -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_0913 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; - float m_flHandoffStartMs; - float m_flHandoffEndMs; - float m_flCompositorUpdateCpuMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_0913_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_0913 *win = (struct winCompositor_FrameTiming_0913 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; - win->m_flHandoffStartMs = lin->m_flHandoffStartMs; - win->m_flHandoffEndMs = lin->m_flHandoffEndMs; - win->m_flCompositorUpdateCpuMs = lin->m_flCompositorUpdateCpuMs; -} - -void struct_Compositor_FrameTiming_0913_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_0913 *win = (struct winCompositor_FrameTiming_0913 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; - lin->m_flHandoffStartMs = win->m_flHandoffStartMs; - lin->m_flHandoffEndMs = win->m_flHandoffEndMs; - lin->m_flCompositorUpdateCpuMs = win->m_flCompositorUpdateCpuMs; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0913 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0913_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0913 *win = (struct winRenderModel_TextureMap_t_0913 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0913_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0913 *win = (struct winRenderModel_TextureMap_t_0913 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0913 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0913_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0913 *win = (struct winRenderModel_t_0913 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0913_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_0913 *win = (struct winRenderModel_t_0913 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0914.cpp b/vrclient_x64/vrclient_x64/struct_converters_0914.cpp deleted file mode 100644 index 4d9d404d..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0914.cpp +++ /dev/null @@ -1,268 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.14/openvr.h" -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, uint32_t sz) -{ - struct winVREvent_t_0914 *win = (struct winVREvent_t_0914 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); - win->eventAgeSeconds = lin->eventAgeSeconds; -} - -void struct_VREvent_t_0914_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_0914 *win = (struct winVREvent_t_0914 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->data = win->data; - lin->eventAgeSeconds = win->eventAgeSeconds; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0914 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0914_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0914 *win = (struct winVRControllerState001_t_0914 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0914_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_0914 *win = (struct winVRControllerState001_t_0914 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrame_t_0914 { - vr::ECameraVideoStreamFormat m_nStreamFormat; - uint32_t m_nWidth; - uint32_t m_nHeight; - uint32_t m_nImageDataSize; - uint32_t m_nFrameSequence; - uint32_t m_nISPFrameTimeStamp; - uint32_t m_nISPReferenceTimeStamp; - uint32_t m_nSyncCounter; - uint32_t m_nExposureTime; - uint32_t m_nBufferIndex; - uint32_t m_nBufferCount; - double m_flFrameElapsedTime; - double m_flFrameCaptureTime; - uint64_t m_nFrameCaptureTicks; - bool m_bPoseIsValid; - vr::HmdMatrix34_t m_matDeviceToAbsoluteTracking __attribute__((aligned(4))); - float m_Pad[4]; - void * m_pImageData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrame_t_0914_lin_to_win(void *l, void *w) -{ - struct winCameraVideoStreamFrame_t_0914 *win = (struct winCameraVideoStreamFrame_t_0914 *)w; - CameraVideoStreamFrame_t *lin = (CameraVideoStreamFrame_t *)l; - win->m_nStreamFormat = lin->m_nStreamFormat; - win->m_nWidth = lin->m_nWidth; - win->m_nHeight = lin->m_nHeight; - win->m_nImageDataSize = lin->m_nImageDataSize; - win->m_nFrameSequence = lin->m_nFrameSequence; - win->m_nISPFrameTimeStamp = lin->m_nISPFrameTimeStamp; - win->m_nISPReferenceTimeStamp = lin->m_nISPReferenceTimeStamp; - win->m_nSyncCounter = lin->m_nSyncCounter; - win->m_nExposureTime = lin->m_nExposureTime; - win->m_nBufferIndex = lin->m_nBufferIndex; - win->m_nBufferCount = lin->m_nBufferCount; - win->m_flFrameElapsedTime = lin->m_flFrameElapsedTime; - win->m_flFrameCaptureTime = lin->m_flFrameCaptureTime; - win->m_nFrameCaptureTicks = lin->m_nFrameCaptureTicks; - win->m_bPoseIsValid = lin->m_bPoseIsValid; - win->m_matDeviceToAbsoluteTracking = lin->m_matDeviceToAbsoluteTracking; - memcpy(win->m_Pad, lin->m_Pad, sizeof(win->m_Pad)); - win->m_pImageData = lin->m_pImageData; -} - -void struct_CameraVideoStreamFrame_t_0914_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrame_t_0914 *win = (struct winCameraVideoStreamFrame_t_0914 *)w; - CameraVideoStreamFrame_t *lin = (CameraVideoStreamFrame_t *)l; - lin->m_nStreamFormat = win->m_nStreamFormat; - lin->m_nWidth = win->m_nWidth; - lin->m_nHeight = win->m_nHeight; - lin->m_nImageDataSize = win->m_nImageDataSize; - lin->m_nFrameSequence = win->m_nFrameSequence; - lin->m_nISPFrameTimeStamp = win->m_nISPFrameTimeStamp; - lin->m_nISPReferenceTimeStamp = win->m_nISPReferenceTimeStamp; - lin->m_nSyncCounter = win->m_nSyncCounter; - lin->m_nExposureTime = win->m_nExposureTime; - lin->m_nBufferIndex = win->m_nBufferIndex; - lin->m_nBufferCount = win->m_nBufferCount; - lin->m_flFrameElapsedTime = win->m_flFrameElapsedTime; - lin->m_flFrameCaptureTime = win->m_flFrameCaptureTime; - lin->m_nFrameCaptureTicks = win->m_nFrameCaptureTicks; - lin->m_bPoseIsValid = win->m_bPoseIsValid; - lin->m_matDeviceToAbsoluteTracking = win->m_matDeviceToAbsoluteTracking; - memcpy(lin->m_Pad, win->m_Pad, sizeof(lin->m_Pad)); - lin->m_pImageData = win->m_pImageData; -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_0914 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; - float m_flHandoffStartMs; - float m_flHandoffEndMs; - float m_flCompositorUpdateCpuMs; - uint32_t m_nPresents; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_0914_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_0914 *win = (struct winCompositor_FrameTiming_0914 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; - win->m_flHandoffStartMs = lin->m_flHandoffStartMs; - win->m_flHandoffEndMs = lin->m_flHandoffEndMs; - win->m_flCompositorUpdateCpuMs = lin->m_flCompositorUpdateCpuMs; - win->m_nPresents = lin->m_nPresents; -} - -void struct_Compositor_FrameTiming_0914_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_0914 *win = (struct winCompositor_FrameTiming_0914 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; - lin->m_flHandoffStartMs = win->m_flHandoffStartMs; - lin->m_flHandoffEndMs = win->m_flHandoffEndMs; - lin->m_flCompositorUpdateCpuMs = win->m_flCompositorUpdateCpuMs; - lin->m_nPresents = win->m_nPresents; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0914 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0914_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0914 *win = (struct winRenderModel_TextureMap_t_0914 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0914_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0914 *win = (struct winRenderModel_TextureMap_t_0914 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0914 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0914_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0914 *win = (struct winRenderModel_t_0914 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0914_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_0914 *win = (struct winRenderModel_t_0914 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0915.cpp b/vrclient_x64/vrclient_x64/struct_converters_0915.cpp deleted file mode 100644 index 856a8540..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0915.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.15/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_0915 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_0915_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0915 *win = (struct winVREvent_t_0915 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_0915_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_0915 *win = (struct winVREvent_t_0915 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0915 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0915_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0915 *win = (struct winVRControllerState001_t_0915 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0915_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_0915 *win = (struct winVRControllerState001_t_0915 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0915 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0915_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0915 *win = (struct winRenderModel_TextureMap_t_0915 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0915_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0915 *win = (struct winRenderModel_TextureMap_t_0915 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0915 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0915_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0915 *win = (struct winRenderModel_t_0915 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0915_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_0915 *win = (struct winRenderModel_t_0915 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0916.cpp b/vrclient_x64/vrclient_x64/struct_converters_0916.cpp deleted file mode 100644 index 87a42205..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0916.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.16/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_0916 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_0916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0916 *win = (struct winVREvent_t_0916 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_0916_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_0916 *win = (struct winVREvent_t_0916 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0916 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0916 *win = (struct winVRControllerState001_t_0916 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0916_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_0916 *win = (struct winVRControllerState001_t_0916 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0916 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0916_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0916 *win = (struct winRenderModel_TextureMap_t_0916 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0916_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0916 *win = (struct winRenderModel_TextureMap_t_0916 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0916 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0916_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0916 *win = (struct winRenderModel_t_0916 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0916_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_0916 *win = (struct winRenderModel_t_0916 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0917.cpp b/vrclient_x64/vrclient_x64/struct_converters_0917.cpp deleted file mode 100644 index 22aff8dc..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0917.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.17/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_0917 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_0917_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0917 *win = (struct winVREvent_t_0917 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_0917_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_0917 *win = (struct winVREvent_t_0917 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0917 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0917_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0917 *win = (struct winVRControllerState001_t_0917 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0917_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_0917 *win = (struct winVRControllerState001_t_0917 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0917 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0917_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0917 *win = (struct winRenderModel_TextureMap_t_0917 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0917_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0917 *win = (struct winRenderModel_TextureMap_t_0917 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0917 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0917_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0917 *win = (struct winRenderModel_t_0917 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0917_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_0917 *win = (struct winRenderModel_t_0917 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0918.cpp b/vrclient_x64/vrclient_x64/struct_converters_0918.cpp deleted file mode 100644 index 35d608d3..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0918.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.18/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_0918 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_0918_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0918 *win = (struct winVREvent_t_0918 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_0918_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_0918 *win = (struct winVREvent_t_0918 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0918 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0918_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0918 *win = (struct winVRControllerState001_t_0918 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0918_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_0918 *win = (struct winVRControllerState001_t_0918 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0918 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0918_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0918 *win = (struct winRenderModel_TextureMap_t_0918 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0918_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0918 *win = (struct winRenderModel_TextureMap_t_0918 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0918 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0918_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0918 *win = (struct winRenderModel_t_0918 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0918_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_0918 *win = (struct winRenderModel_t_0918 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0919.cpp b/vrclient_x64/vrclient_x64/struct_converters_0919.cpp deleted file mode 100644 index d7c3236e..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0919.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.19/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_0919 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_0919_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0919 *win = (struct winVREvent_t_0919 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_0919_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_0919 *win = (struct winVREvent_t_0919 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0919 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0919_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0919 *win = (struct winVRControllerState001_t_0919 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0919_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_0919 *win = (struct winVRControllerState001_t_0919 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0919 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0919_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0919 *win = (struct winRenderModel_TextureMap_t_0919 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0919_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0919 *win = (struct winRenderModel_TextureMap_t_0919 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0919 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0919_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0919 *win = (struct winRenderModel_t_0919 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0919_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_0919 *win = (struct winRenderModel_t_0919 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_092.cpp b/vrclient_x64/vrclient_x64/struct_converters_092.cpp deleted file mode 100644 index be987715..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_092.cpp +++ /dev/null @@ -1,164 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.2/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_092 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_092_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_092 *win = (struct winRenderModel_TextureMap_t_092 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_092_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_092 *win = (struct winRenderModel_TextureMap_t_092 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_092 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_092 diffuseTexture __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_092_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_092 *win = (struct winRenderModel_t_092 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_092_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_092_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_092 *win = (struct winRenderModel_t_092 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_092_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -#pragma pack(push, 8) -struct winVREvent_t_092 { - 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_092_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_092 *win = (struct winVREvent_t_092 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); - win->eventAgeSeconds = lin->eventAgeSeconds; -} - -void struct_VREvent_t_092_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_092 *win = (struct winVREvent_t_092 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->data = win->data; - lin->eventAgeSeconds = win->eventAgeSeconds; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_092 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_092_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_092 *win = (struct winVRControllerState001_t_092 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_092_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_092 *win = (struct winVRControllerState001_t_092 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_092 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_092_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_092 *win = (struct winCompositor_FrameTiming_092 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; -} - -void struct_Compositor_FrameTiming_092_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_092 *win = (struct winCompositor_FrameTiming_092 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0920.cpp b/vrclient_x64/vrclient_x64/struct_converters_0920.cpp deleted file mode 100644 index 3e958dca..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0920.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.20/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_0920 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_0920_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0920 *win = (struct winVREvent_t_0920 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_0920_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_0920 *win = (struct winVREvent_t_0920 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0920 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0920_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0920 *win = (struct winVRControllerState001_t_0920 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0920_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_0920 *win = (struct winVRControllerState001_t_0920 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0920 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0920_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0920 *win = (struct winRenderModel_TextureMap_t_0920 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0920_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0920 *win = (struct winRenderModel_TextureMap_t_0920 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0920 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0920_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0920 *win = (struct winRenderModel_t_0920 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0920_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_0920 *win = (struct winRenderModel_t_0920 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_093.cpp b/vrclient_x64/vrclient_x64/struct_converters_093.cpp deleted file mode 100644 index 83bf3dff..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_093.cpp +++ /dev/null @@ -1,188 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.3/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_093 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_093_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_093 *win = (struct winRenderModel_TextureMap_t_093 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_093_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_093 *win = (struct winRenderModel_TextureMap_t_093 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_093 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_093 diffuseTexture __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_093_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_093 *win = (struct winRenderModel_t_093 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_093_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_093_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_093 *win = (struct winRenderModel_t_093 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_093_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -#pragma pack(push, 8) -struct winVREvent_t_093 { - 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_093_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_093 *win = (struct winVREvent_t_093 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); - win->eventAgeSeconds = lin->eventAgeSeconds; -} - -void struct_VREvent_t_093_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_093 *win = (struct winVREvent_t_093 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->data = win->data; - lin->eventAgeSeconds = win->eventAgeSeconds; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_093 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_093_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_093 *win = (struct winVRControllerState001_t_093 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_093_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_093 *win = (struct winVRControllerState001_t_093 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_093 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_093_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_093 *win = (struct winCompositor_FrameTiming_093 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; -} - -void struct_Compositor_FrameTiming_093_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_093 *win = (struct winCompositor_FrameTiming_093 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_094.cpp b/vrclient_x64/vrclient_x64/struct_converters_094.cpp deleted file mode 100644 index fb229183..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_094.cpp +++ /dev/null @@ -1,188 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.4/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_094 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_094_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_094 *win = (struct winRenderModel_TextureMap_t_094 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_094_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_094 *win = (struct winRenderModel_TextureMap_t_094 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_094 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_094 diffuseTexture __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_094_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_094 *win = (struct winRenderModel_t_094 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_094_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_094_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_094 *win = (struct winRenderModel_t_094 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_094_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -#pragma pack(push, 8) -struct winVREvent_t_094 { - 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_094_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_094 *win = (struct winVREvent_t_094 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); - win->eventAgeSeconds = lin->eventAgeSeconds; -} - -void struct_VREvent_t_094_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_094 *win = (struct winVREvent_t_094 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->data = win->data; - lin->eventAgeSeconds = win->eventAgeSeconds; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_094 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_094_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_094 *win = (struct winVRControllerState001_t_094 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_094_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_094 *win = (struct winVRControllerState001_t_094 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_094 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_094_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_094 *win = (struct winCompositor_FrameTiming_094 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; -} - -void struct_Compositor_FrameTiming_094_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_094 *win = (struct winCompositor_FrameTiming_094 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_096.cpp b/vrclient_x64/vrclient_x64/struct_converters_096.cpp deleted file mode 100644 index 9e9389f2..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_096.cpp +++ /dev/null @@ -1,188 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.6/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_096 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_096_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_096 *win = (struct winRenderModel_TextureMap_t_096 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_096_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_096 *win = (struct winRenderModel_TextureMap_t_096 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_096 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_096 diffuseTexture __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_096_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_096 *win = (struct winRenderModel_t_096 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_096_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_096_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_096 *win = (struct winRenderModel_t_096 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_096_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -#pragma pack(push, 8) -struct winVREvent_t_096 { - 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_096_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_096 *win = (struct winVREvent_t_096 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); - win->eventAgeSeconds = lin->eventAgeSeconds; -} - -void struct_VREvent_t_096_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_096 *win = (struct winVREvent_t_096 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->data = win->data; - lin->eventAgeSeconds = win->eventAgeSeconds; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_096 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_096_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_096 *win = (struct winVRControllerState001_t_096 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_096_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_096 *win = (struct winVRControllerState001_t_096 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_096 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_096_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_096 *win = (struct winCompositor_FrameTiming_096 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; -} - -void struct_Compositor_FrameTiming_096_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_096 *win = (struct winCompositor_FrameTiming_096 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_097.cpp b/vrclient_x64/vrclient_x64/struct_converters_097.cpp deleted file mode 100644 index f3e54c6a..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_097.cpp +++ /dev/null @@ -1,188 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.7/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_097 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_097_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_097 *win = (struct winRenderModel_TextureMap_t_097 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_097_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_097 *win = (struct winRenderModel_TextureMap_t_097 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_097 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_097 diffuseTexture __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_097_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_097 *win = (struct winRenderModel_t_097 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_097_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_097_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_097 *win = (struct winRenderModel_t_097 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_097_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -#pragma pack(push, 8) -struct winVREvent_t_097 { - 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_097_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_097 *win = (struct winVREvent_t_097 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); - win->eventAgeSeconds = lin->eventAgeSeconds; -} - -void struct_VREvent_t_097_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_097 *win = (struct winVREvent_t_097 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->data = win->data; - lin->eventAgeSeconds = win->eventAgeSeconds; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_097 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_097_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_097 *win = (struct winVRControllerState001_t_097 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_097_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_097 *win = (struct winVRControllerState001_t_097 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_097 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_097_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_097 *win = (struct winCompositor_FrameTiming_097 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; -} - -void struct_Compositor_FrameTiming_097_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_097 *win = (struct winCompositor_FrameTiming_097 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_098.cpp b/vrclient_x64/vrclient_x64/struct_converters_098.cpp deleted file mode 100644 index d13edf51..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_098.cpp +++ /dev/null @@ -1,188 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.8/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_098 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_098_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_098 *win = (struct winRenderModel_TextureMap_t_098 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_098_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_098 *win = (struct winRenderModel_TextureMap_t_098 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_098 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_098 diffuseTexture __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_098_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_098 *win = (struct winRenderModel_t_098 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_098_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_098_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_098 *win = (struct winRenderModel_t_098 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_098_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -#pragma pack(push, 8) -struct winVREvent_t_098 { - 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_098_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_098 *win = (struct winVREvent_t_098 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); - win->eventAgeSeconds = lin->eventAgeSeconds; -} - -void struct_VREvent_t_098_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_098 *win = (struct winVREvent_t_098 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->data = win->data; - lin->eventAgeSeconds = win->eventAgeSeconds; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_098 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_098_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_098 *win = (struct winVRControllerState001_t_098 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_098_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_098 *win = (struct winVRControllerState001_t_098 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_098 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_098_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_098 *win = (struct winCompositor_FrameTiming_098 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; -} - -void struct_Compositor_FrameTiming_098_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_098 *win = (struct winCompositor_FrameTiming_098 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_099.cpp b/vrclient_x64/vrclient_x64/struct_converters_099.cpp deleted file mode 100644 index b76d56be..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_099.cpp +++ /dev/null @@ -1,188 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.9/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_099 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_099_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_099 *win = (struct winRenderModel_TextureMap_t_099 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_099_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_099 *win = (struct winRenderModel_TextureMap_t_099 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_099 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_099 diffuseTexture __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_099_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_099 *win = (struct winRenderModel_t_099 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_099_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_099_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_099 *win = (struct winRenderModel_t_099 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_099_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -#pragma pack(push, 8) -struct winVREvent_t_099 { - 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_099_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_099 *win = (struct winVREvent_t_099 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); - win->eventAgeSeconds = lin->eventAgeSeconds; -} - -void struct_VREvent_t_099_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_099 *win = (struct winVREvent_t_099 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->data = win->data; - lin->eventAgeSeconds = win->eventAgeSeconds; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_099 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_099_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_099 *win = (struct winVRControllerState001_t_099 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_099_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_099 *win = (struct winVRControllerState001_t_099 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_099 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_099_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_099 *win = (struct winCompositor_FrameTiming_099 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; -} - -void struct_Compositor_FrameTiming_099_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_099 *win = (struct winCompositor_FrameTiming_099 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_100.cpp b/vrclient_x64/vrclient_x64/struct_converters_100.cpp deleted file mode 100644 index 76b8a5ee..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_100.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.0/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_100 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_100_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_100 *win = (struct winVREvent_t_100 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_100_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_100 *win = (struct winVREvent_t_100 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_100 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_100_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_100 *win = (struct winVRControllerState001_t_100 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_100_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_100 *win = (struct winVRControllerState001_t_100 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_100 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_100_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_100 *win = (struct winRenderModel_TextureMap_t_100 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_100_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_100 *win = (struct winRenderModel_TextureMap_t_100 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_100 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_100_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_100 *win = (struct winRenderModel_t_100 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_100_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_100 *win = (struct winRenderModel_t_100 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_101.cpp b/vrclient_x64/vrclient_x64/struct_converters_101.cpp deleted file mode 100644 index d431b7b7..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_101.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.1/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_101 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_101_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_101 *win = (struct winVREvent_t_101 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_101_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_101 *win = (struct winVREvent_t_101 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_101 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_101_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_101 *win = (struct winVRControllerState001_t_101 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_101_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_101 *win = (struct winVRControllerState001_t_101 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_101 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_101_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_101 *win = (struct winRenderModel_TextureMap_t_101 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_101_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_101 *win = (struct winRenderModel_TextureMap_t_101 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_101 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_101_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_101 *win = (struct winRenderModel_t_101 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_101_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_101 *win = (struct winRenderModel_t_101 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1010.cpp b/vrclient_x64/vrclient_x64/struct_converters_1010.cpp deleted file mode 100644 index f2b15b1e..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1010.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1010 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1010_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1010 *win = (struct winVREvent_t_1010 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1010_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1010 *win = (struct winVREvent_t_1010 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1010 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1010_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1010 *win = (struct winVRControllerState001_t_1010 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1010_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1010 *win = (struct winVRControllerState001_t_1010 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1010 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1010_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1010 *win = (struct winRenderModel_TextureMap_t_1010 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1010_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1010 *win = (struct winRenderModel_TextureMap_t_1010 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1010 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1010_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1010 *win = (struct winRenderModel_t_1010 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1010_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1010 *win = (struct winRenderModel_t_1010 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1011.cpp b/vrclient_x64/vrclient_x64/struct_converters_1011.cpp deleted file mode 100644 index b282591a..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1011.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.11/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1011 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1011_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1011 *win = (struct winVREvent_t_1011 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1011_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1011 *win = (struct winVREvent_t_1011 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1011 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1011_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1011 *win = (struct winVRControllerState001_t_1011 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1011_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1011 *win = (struct winVRControllerState001_t_1011 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1011 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1011_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1011 *win = (struct winRenderModel_TextureMap_t_1011 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1011_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1011 *win = (struct winRenderModel_TextureMap_t_1011 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1011 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1011_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1011 *win = (struct winRenderModel_t_1011 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1011_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1011 *win = (struct winRenderModel_t_1011 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1012.cpp b/vrclient_x64/vrclient_x64/struct_converters_1012.cpp deleted file mode 100644 index c5527059..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1012.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.12/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1012 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1012_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1012 *win = (struct winVREvent_t_1012 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1012_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1012 *win = (struct winVREvent_t_1012 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1012 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1012_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1012 *win = (struct winVRControllerState001_t_1012 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1012_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1012 *win = (struct winVRControllerState001_t_1012 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1012 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1012_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1012 *win = (struct winRenderModel_TextureMap_t_1012 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1012_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1012 *win = (struct winRenderModel_TextureMap_t_1012 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1012 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1012_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1012 *win = (struct winRenderModel_t_1012 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1012_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1012 *win = (struct winRenderModel_t_1012 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1013.cpp b/vrclient_x64/vrclient_x64/struct_converters_1013.cpp deleted file mode 100644 index c5af9175..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1013.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.13/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1013 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1013_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1013 *win = (struct winVREvent_t_1013 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1013_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1013 *win = (struct winVREvent_t_1013 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1013 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1013_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1013 *win = (struct winVRControllerState001_t_1013 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1013_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1013 *win = (struct winVRControllerState001_t_1013 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1013 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1013_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1013 *win = (struct winRenderModel_TextureMap_t_1013 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1013_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1013 *win = (struct winRenderModel_TextureMap_t_1013 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1013 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1013_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1013 *win = (struct winRenderModel_t_1013 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1013_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1013 *win = (struct winRenderModel_t_1013 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1014.cpp b/vrclient_x64/vrclient_x64/struct_converters_1014.cpp deleted file mode 100644 index 9af2e47f..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1014.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1014 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1014_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1014 *win = (struct winVREvent_t_1014 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1014_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1014 *win = (struct winVREvent_t_1014 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1014 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1014_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1014 *win = (struct winVRControllerState001_t_1014 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1014_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1014 *win = (struct winVRControllerState001_t_1014 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1014 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1014_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1014 *win = (struct winRenderModel_TextureMap_t_1014 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1014_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1014 *win = (struct winRenderModel_TextureMap_t_1014 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1014 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1014_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1014 *win = (struct winRenderModel_t_1014 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1014_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1014 *win = (struct winRenderModel_t_1014 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1015.cpp b/vrclient_x64/vrclient_x64/struct_converters_1015.cpp deleted file mode 100644 index 254bc34d..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1015.cpp +++ /dev/null @@ -1,277 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.15/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1015 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1015_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1015 *win = (struct winVREvent_t_1015 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1015_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1015 *win = (struct winVREvent_t_1015 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1015 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1015_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1015 *win = (struct winVRControllerState001_t_1015 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1015_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1015 *win = (struct winVRControllerState001_t_1015 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1015 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1015_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1015 *win = (struct winRenderModel_TextureMap_t_1015 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1015_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1015 *win = (struct winRenderModel_TextureMap_t_1015 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1015 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1015_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1015 *win = (struct winRenderModel_t_1015 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1015_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1015 *win = (struct winRenderModel_t_1015 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1015 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1015 *win = (struct winInputAnalogActionData_t_1015 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1015_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1015 *win = (struct winInputAnalogActionData_t_1015 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1015 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1015 *win = (struct winInputDigitalActionData_t_1015 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1015_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1015 *win = (struct winInputDigitalActionData_t_1015 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1015 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1015 *win = (struct winInputPoseActionData_t_1015 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1015_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1015 *win = (struct winInputPoseActionData_t_1015 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletonActionData_t_1015 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletonActionData_t_1015_lin_to_win(void *l, void *w) -{ - struct winInputSkeletonActionData_t_1015 *win = (struct winInputSkeletonActionData_t_1015 *)w; - InputSkeletonActionData_t *lin = (InputSkeletonActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletonActionData_t_1015_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletonActionData_t_1015 *win = (struct winInputSkeletonActionData_t_1015 *)w; - InputSkeletonActionData_t *lin = (InputSkeletonActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1015 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1015_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1015 *win = (struct winInputOriginInfo_t_1015 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1015_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1015 *win = (struct winInputOriginInfo_t_1015 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1016.cpp b/vrclient_x64/vrclient_x64/struct_converters_1016.cpp deleted file mode 100644 index 9deb0618..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1016.cpp +++ /dev/null @@ -1,297 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.16/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1016 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1016_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1016 *win = (struct winVREvent_t_1016 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1016_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1016 *win = (struct winVREvent_t_1016 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1016 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1016_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1016 *win = (struct winVRControllerState001_t_1016 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1016_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1016 *win = (struct winVRControllerState001_t_1016 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1016 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1016_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1016 *win = (struct winRenderModel_TextureMap_t_1016 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1016_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1016 *win = (struct winRenderModel_TextureMap_t_1016 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1016 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1016_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1016 *win = (struct winRenderModel_t_1016 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1016_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1016 *win = (struct winRenderModel_t_1016 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1016 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1016 *win = (struct winInputAnalogActionData_t_1016 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1016_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1016 *win = (struct winInputAnalogActionData_t_1016 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1016 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1016 *win = (struct winInputDigitalActionData_t_1016 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1016_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1016 *win = (struct winInputDigitalActionData_t_1016 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1016 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1016 *win = (struct winInputPoseActionData_t_1016 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1016_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1016 *win = (struct winInputPoseActionData_t_1016 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1016 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - uint32_t boneCount; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1016 *win = (struct winInputSkeletalActionData_t_1016 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->boneCount = lin->boneCount; -} - -void struct_InputSkeletalActionData_t_1016_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_1016 *win = (struct winInputSkeletalActionData_t_1016 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->boneCount = win->boneCount; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1016 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1016_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1016 *win = (struct winInputOriginInfo_t_1016 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1016_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1016 *win = (struct winInputOriginInfo_t_1016 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_1016 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_1016_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_1016 *win = (struct winIVRSpatialAnchors_1016 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_1016_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_1016 *win = (struct winIVRSpatialAnchors_1016 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1017.cpp b/vrclient_x64/vrclient_x64/struct_converters_1017.cpp deleted file mode 100644 index 374c596b..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1017.cpp +++ /dev/null @@ -1,335 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.17/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1017 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1017 *win = (struct winVREvent_t_1017 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1017_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1017 *win = (struct winVREvent_t_1017 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1017 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1017 *win = (struct winVRControllerState001_t_1017 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1017_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1017 *win = (struct winVRControllerState001_t_1017 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1017 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t standingTrackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1017 *win = (struct winCameraVideoStreamFrameHeader_t_1017 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->standingTrackedDevicePose = lin->standingTrackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1017 *win = (struct winCameraVideoStreamFrameHeader_t_1017 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->standingTrackedDevicePose = win->standingTrackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1017 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1017_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1017 *win = (struct winRenderModel_TextureMap_t_1017 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1017_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1017 *win = (struct winRenderModel_TextureMap_t_1017 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1017 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1017_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1017 *win = (struct winRenderModel_t_1017 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1017_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1017 *win = (struct winRenderModel_t_1017 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1017 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1017 *win = (struct winInputAnalogActionData_t_1017 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1017_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1017 *win = (struct winInputAnalogActionData_t_1017 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1017 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1017 *win = (struct winInputDigitalActionData_t_1017 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1017_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1017 *win = (struct winInputDigitalActionData_t_1017 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1017 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1017 *win = (struct winInputPoseActionData_t_1017 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1017_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1017 *win = (struct winInputPoseActionData_t_1017 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1017 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - uint32_t boneCount; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1017 *win = (struct winInputSkeletalActionData_t_1017 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->boneCount = lin->boneCount; -} - -void struct_InputSkeletalActionData_t_1017_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_1017 *win = (struct winInputSkeletalActionData_t_1017 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->boneCount = win->boneCount; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1017 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1017 *win = (struct winInputOriginInfo_t_1017 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1017_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1017 *win = (struct winInputOriginInfo_t_1017 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_1017 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_1017_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_1017 *win = (struct winIVRSpatialAnchors_1017 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_1017_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_1017 *win = (struct winIVRSpatialAnchors_1017 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_102.cpp b/vrclient_x64/vrclient_x64/struct_converters_102.cpp deleted file mode 100644 index 6c014287..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_102.cpp +++ /dev/null @@ -1,212 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.2/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_102 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_102_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_102 *win = (struct winVREvent_t_102 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_102_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_102 *win = (struct winVREvent_t_102 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_102 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_102_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_102 *win = (struct winVRControllerState001_t_102 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_102_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_102 *win = (struct winVRControllerState001_t_102 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_102 { - uint32_t m_nSize; - uint32_t m_nFrameIndex; - uint32_t m_nNumFramePresents; - uint32_t m_nNumDroppedFrames; - uint32_t m_nReprojectionFlags; - double m_flSystemTimeInSeconds; - float m_flPreSubmitGpuMs; - float m_flPostSubmitGpuMs; - float m_flTotalRenderGpuMs; - float m_flCompositorRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorIdleCpuMs; - float m_flClientFrameIntervalMs; - float m_flPresentCallCpuMs; - float m_flWaitForPresentCpuMs; - float m_flSubmitFrameMs; - float m_flWaitGetPosesCalledMs; - float m_flNewPosesReadyMs; - float m_flNewFrameReadyMs; - float m_flCompositorUpdateStartMs; - float m_flCompositorUpdateEndMs; - float m_flCompositorRenderStartMs; - vr::TrackedDevicePose_t m_HmdPose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_102_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_102 *win = (struct winCompositor_FrameTiming_102 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->m_nSize = sizeof(*win); - win->m_nFrameIndex = lin->m_nFrameIndex; - win->m_nNumFramePresents = lin->m_nNumFramePresents; - win->m_nNumDroppedFrames = lin->m_nNumDroppedFrames; - win->m_nReprojectionFlags = lin->m_nReprojectionFlags; - win->m_flSystemTimeInSeconds = lin->m_flSystemTimeInSeconds; - win->m_flPreSubmitGpuMs = lin->m_flPreSubmitGpuMs; - win->m_flPostSubmitGpuMs = lin->m_flPostSubmitGpuMs; - win->m_flTotalRenderGpuMs = lin->m_flTotalRenderGpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorIdleCpuMs = lin->m_flCompositorIdleCpuMs; - win->m_flClientFrameIntervalMs = lin->m_flClientFrameIntervalMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flWaitForPresentCpuMs = lin->m_flWaitForPresentCpuMs; - win->m_flSubmitFrameMs = lin->m_flSubmitFrameMs; - win->m_flWaitGetPosesCalledMs = lin->m_flWaitGetPosesCalledMs; - win->m_flNewPosesReadyMs = lin->m_flNewPosesReadyMs; - win->m_flNewFrameReadyMs = lin->m_flNewFrameReadyMs; - win->m_flCompositorUpdateStartMs = lin->m_flCompositorUpdateStartMs; - win->m_flCompositorUpdateEndMs = lin->m_flCompositorUpdateEndMs; - win->m_flCompositorRenderStartMs = lin->m_flCompositorRenderStartMs; - win->m_HmdPose = lin->m_HmdPose; -} - -void struct_Compositor_FrameTiming_102_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_102 *win = (struct winCompositor_FrameTiming_102 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->m_nSize = sizeof(*lin); - lin->m_nFrameIndex = win->m_nFrameIndex; - lin->m_nNumFramePresents = win->m_nNumFramePresents; - lin->m_nNumDroppedFrames = win->m_nNumDroppedFrames; - lin->m_nReprojectionFlags = win->m_nReprojectionFlags; - lin->m_flSystemTimeInSeconds = win->m_flSystemTimeInSeconds; - lin->m_flPreSubmitGpuMs = win->m_flPreSubmitGpuMs; - lin->m_flPostSubmitGpuMs = win->m_flPostSubmitGpuMs; - lin->m_flTotalRenderGpuMs = win->m_flTotalRenderGpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorIdleCpuMs = win->m_flCompositorIdleCpuMs; - lin->m_flClientFrameIntervalMs = win->m_flClientFrameIntervalMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flWaitForPresentCpuMs = win->m_flWaitForPresentCpuMs; - lin->m_flSubmitFrameMs = win->m_flSubmitFrameMs; - lin->m_flWaitGetPosesCalledMs = win->m_flWaitGetPosesCalledMs; - lin->m_flNewPosesReadyMs = win->m_flNewPosesReadyMs; - lin->m_flNewFrameReadyMs = win->m_flNewFrameReadyMs; - lin->m_flCompositorUpdateStartMs = win->m_flCompositorUpdateStartMs; - lin->m_flCompositorUpdateEndMs = win->m_flCompositorUpdateEndMs; - lin->m_flCompositorRenderStartMs = win->m_flCompositorRenderStartMs; - lin->m_HmdPose = win->m_HmdPose; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_102 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_102_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_102 *win = (struct winRenderModel_TextureMap_t_102 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_102_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_102 *win = (struct winRenderModel_TextureMap_t_102 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_102 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_102_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_102 *win = (struct winRenderModel_t_102 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_102_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_102 *win = (struct winRenderModel_t_102 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_103.cpp b/vrclient_x64/vrclient_x64/struct_converters_103.cpp deleted file mode 100644 index c336f12a..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_103.cpp +++ /dev/null @@ -1,212 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.3/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_103 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_103_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_103 *win = (struct winVREvent_t_103 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_103_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_103 *win = (struct winVREvent_t_103 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_103 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_103_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_103 *win = (struct winVRControllerState001_t_103 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_103_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_103 *win = (struct winVRControllerState001_t_103 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_103 { - uint32_t m_nSize; - uint32_t m_nFrameIndex; - uint32_t m_nNumFramePresents; - uint32_t m_nNumDroppedFrames; - uint32_t m_nReprojectionFlags; - double m_flSystemTimeInSeconds; - float m_flPreSubmitGpuMs; - float m_flPostSubmitGpuMs; - float m_flTotalRenderGpuMs; - float m_flCompositorRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorIdleCpuMs; - float m_flClientFrameIntervalMs; - float m_flPresentCallCpuMs; - float m_flWaitForPresentCpuMs; - float m_flSubmitFrameMs; - float m_flWaitGetPosesCalledMs; - float m_flNewPosesReadyMs; - float m_flNewFrameReadyMs; - float m_flCompositorUpdateStartMs; - float m_flCompositorUpdateEndMs; - float m_flCompositorRenderStartMs; - vr::TrackedDevicePose_t m_HmdPose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_103_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_103 *win = (struct winCompositor_FrameTiming_103 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->m_nSize = sizeof(*win); - win->m_nFrameIndex = lin->m_nFrameIndex; - win->m_nNumFramePresents = lin->m_nNumFramePresents; - win->m_nNumDroppedFrames = lin->m_nNumDroppedFrames; - win->m_nReprojectionFlags = lin->m_nReprojectionFlags; - win->m_flSystemTimeInSeconds = lin->m_flSystemTimeInSeconds; - win->m_flPreSubmitGpuMs = lin->m_flPreSubmitGpuMs; - win->m_flPostSubmitGpuMs = lin->m_flPostSubmitGpuMs; - win->m_flTotalRenderGpuMs = lin->m_flTotalRenderGpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorIdleCpuMs = lin->m_flCompositorIdleCpuMs; - win->m_flClientFrameIntervalMs = lin->m_flClientFrameIntervalMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flWaitForPresentCpuMs = lin->m_flWaitForPresentCpuMs; - win->m_flSubmitFrameMs = lin->m_flSubmitFrameMs; - win->m_flWaitGetPosesCalledMs = lin->m_flWaitGetPosesCalledMs; - win->m_flNewPosesReadyMs = lin->m_flNewPosesReadyMs; - win->m_flNewFrameReadyMs = lin->m_flNewFrameReadyMs; - win->m_flCompositorUpdateStartMs = lin->m_flCompositorUpdateStartMs; - win->m_flCompositorUpdateEndMs = lin->m_flCompositorUpdateEndMs; - win->m_flCompositorRenderStartMs = lin->m_flCompositorRenderStartMs; - win->m_HmdPose = lin->m_HmdPose; -} - -void struct_Compositor_FrameTiming_103_win_to_lin(const void *w, void *l) -{ - struct winCompositor_FrameTiming_103 *win = (struct winCompositor_FrameTiming_103 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->m_nSize = sizeof(*lin); - lin->m_nFrameIndex = win->m_nFrameIndex; - lin->m_nNumFramePresents = win->m_nNumFramePresents; - lin->m_nNumDroppedFrames = win->m_nNumDroppedFrames; - lin->m_nReprojectionFlags = win->m_nReprojectionFlags; - lin->m_flSystemTimeInSeconds = win->m_flSystemTimeInSeconds; - lin->m_flPreSubmitGpuMs = win->m_flPreSubmitGpuMs; - lin->m_flPostSubmitGpuMs = win->m_flPostSubmitGpuMs; - lin->m_flTotalRenderGpuMs = win->m_flTotalRenderGpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorIdleCpuMs = win->m_flCompositorIdleCpuMs; - lin->m_flClientFrameIntervalMs = win->m_flClientFrameIntervalMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flWaitForPresentCpuMs = win->m_flWaitForPresentCpuMs; - lin->m_flSubmitFrameMs = win->m_flSubmitFrameMs; - lin->m_flWaitGetPosesCalledMs = win->m_flWaitGetPosesCalledMs; - lin->m_flNewPosesReadyMs = win->m_flNewPosesReadyMs; - lin->m_flNewFrameReadyMs = win->m_flNewFrameReadyMs; - lin->m_flCompositorUpdateStartMs = win->m_flCompositorUpdateStartMs; - lin->m_flCompositorUpdateEndMs = win->m_flCompositorUpdateEndMs; - lin->m_flCompositorRenderStartMs = win->m_flCompositorRenderStartMs; - lin->m_HmdPose = win->m_HmdPose; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_103 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_103_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_103 *win = (struct winRenderModel_TextureMap_t_103 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_103_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_103 *win = (struct winRenderModel_TextureMap_t_103 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_103 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_103_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_103 *win = (struct winRenderModel_t_103 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_103_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_103 *win = (struct winRenderModel_t_103 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_103a.cpp b/vrclient_x64/vrclient_x64/struct_converters_103a.cpp deleted file mode 100644 index 14b1a409..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_103a.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.3a/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_103a { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_103a_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_103a *win = (struct winVREvent_t_103a *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_103a_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_103a *win = (struct winVREvent_t_103a *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_103a { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_103a_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_103a *win = (struct winVRControllerState001_t_103a *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_103a_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_103a *win = (struct winVRControllerState001_t_103a *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_103a { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_103a_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_103a *win = (struct winRenderModel_TextureMap_t_103a *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_103a_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_103a *win = (struct winRenderModel_TextureMap_t_103a *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_103a { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_103a_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_103a *win = (struct winRenderModel_t_103a *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_103a_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_103a *win = (struct winRenderModel_t_103a *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_104.cpp b/vrclient_x64/vrclient_x64/struct_converters_104.cpp deleted file mode 100644 index 5e6a49d0..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_104.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.4/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_104 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_104_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_104 *win = (struct winVREvent_t_104 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_104_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_104 *win = (struct winVREvent_t_104 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_104 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_104_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_104 *win = (struct winVRControllerState001_t_104 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_104_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_104 *win = (struct winVRControllerState001_t_104 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_104 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_104_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_104 *win = (struct winRenderModel_TextureMap_t_104 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_104_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_104 *win = (struct winRenderModel_TextureMap_t_104 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_104 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_104_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_104 *win = (struct winRenderModel_t_104 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_104_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_104 *win = (struct winRenderModel_t_104 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_105.cpp b/vrclient_x64/vrclient_x64/struct_converters_105.cpp deleted file mode 100644 index adea6e20..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_105.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.5/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_105 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_105_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_105 *win = (struct winVREvent_t_105 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_105_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_105 *win = (struct winVREvent_t_105 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_105 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_105_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_105 *win = (struct winVRControllerState001_t_105 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_105_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_105 *win = (struct winVRControllerState001_t_105 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_105 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_105_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_105 *win = (struct winRenderModel_TextureMap_t_105 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_105_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_105 *win = (struct winRenderModel_TextureMap_t_105 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_105 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_105_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_105 *win = (struct winRenderModel_t_105 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_105_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_105 *win = (struct winRenderModel_t_105 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_106.cpp b/vrclient_x64/vrclient_x64/struct_converters_106.cpp deleted file mode 100644 index 7cea11c2..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_106.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.6/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_106 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_106_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_106 *win = (struct winVREvent_t_106 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_106_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_106 *win = (struct winVREvent_t_106 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_106 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_106_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_106 *win = (struct winVRControllerState001_t_106 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_106_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_106 *win = (struct winVRControllerState001_t_106 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_106 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_106_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_106 *win = (struct winRenderModel_TextureMap_t_106 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_106_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_106 *win = (struct winRenderModel_TextureMap_t_106 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_106 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_106_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_106 *win = (struct winRenderModel_t_106 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_106_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_106 *win = (struct winRenderModel_t_106 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_107.cpp b/vrclient_x64/vrclient_x64/struct_converters_107.cpp deleted file mode 100644 index 5234f8da..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_107.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.7/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_107 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_107_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_107 *win = (struct winVREvent_t_107 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_107_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_107 *win = (struct winVREvent_t_107 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_107 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_107_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_107 *win = (struct winVRControllerState001_t_107 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_107_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_107 *win = (struct winVRControllerState001_t_107 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_107 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_107_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_107 *win = (struct winRenderModel_TextureMap_t_107 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_107_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_107 *win = (struct winRenderModel_TextureMap_t_107 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_107 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_107_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_107 *win = (struct winRenderModel_t_107 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_107_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_107 *win = (struct winRenderModel_t_107 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_108.cpp b/vrclient_x64/vrclient_x64/struct_converters_108.cpp deleted file mode 100644 index dc6c1072..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_108.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.8/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_108 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_108_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_108 *win = (struct winVREvent_t_108 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_108_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_108 *win = (struct winVREvent_t_108 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_108 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_108_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_108 *win = (struct winVRControllerState001_t_108 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_108_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_108 *win = (struct winVRControllerState001_t_108 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_108 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_108_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_108 *win = (struct winRenderModel_TextureMap_t_108 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_108_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_108 *win = (struct winRenderModel_TextureMap_t_108 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_108 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_108_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_108 *win = (struct winRenderModel_t_108 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_108_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_108 *win = (struct winRenderModel_t_108 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_109.cpp b/vrclient_x64/vrclient_x64/struct_converters_109.cpp deleted file mode 100644 index e523dc10..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_109.cpp +++ /dev/null @@ -1,126 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.9/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_109 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_109_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_109 *win = (struct winVREvent_t_109 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_109_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_109 *win = (struct winVREvent_t_109 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_109 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_109_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_109 *win = (struct winVRControllerState001_t_109 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_109_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_109 *win = (struct winVRControllerState001_t_109 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_109 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_109_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_109 *win = (struct winRenderModel_TextureMap_t_109 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_109_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_109 *win = (struct winRenderModel_TextureMap_t_109 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_109 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_109_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_109 *win = (struct winRenderModel_t_109 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_109_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_109 *win = (struct winRenderModel_t_109 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_11030.cpp b/vrclient_x64/vrclient_x64/struct_converters_11030.cpp deleted file mode 100644 index d56e830a..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_11030.cpp +++ /dev/null @@ -1,375 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.10.30/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_11030 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_11030 *win = (struct winVREvent_t_11030 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_11030_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_11030 *win = (struct winVREvent_t_11030 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_11030 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_11030 *win = (struct winVRControllerState001_t_11030 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_11030_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_11030 *win = (struct winVRControllerState001_t_11030 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_11030 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_11030 *win = (struct winCameraVideoStreamFrameHeader_t_11030 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_11030_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_11030 *win = (struct winCameraVideoStreamFrameHeader_t_11030 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winVROverlayView_t_11030 { - vr::VROverlayHandle_t overlayHandle; - vr::Texture_t texture __attribute__((aligned(4))); - vr::VRTextureBounds_t textureBounds __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VROverlayView_t_11030_lin_to_win(void *l, void *w) -{ - struct winVROverlayView_t_11030 *win = (struct winVROverlayView_t_11030 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - win->overlayHandle = lin->overlayHandle; - win->texture = lin->texture; - win->textureBounds = lin->textureBounds; -} - -void struct_VROverlayView_t_11030_win_to_lin(const void *w, void *l) -{ - struct winVROverlayView_t_11030 *win = (struct winVROverlayView_t_11030 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - lin->overlayHandle = win->overlayHandle; - lin->texture = win->texture; - lin->textureBounds = win->textureBounds; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_11030 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_11030_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_11030 *win = (struct winRenderModel_TextureMap_t_11030 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_11030_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_11030 *win = (struct winRenderModel_TextureMap_t_11030 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_11030 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_11030_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_11030 *win = (struct winRenderModel_t_11030 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_11030_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_11030 *win = (struct winRenderModel_t_11030 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_11030 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_11030 *win = (struct winInputAnalogActionData_t_11030 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_11030_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_11030 *win = (struct winInputAnalogActionData_t_11030 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_11030 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_11030 *win = (struct winInputDigitalActionData_t_11030 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_11030_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_11030 *win = (struct winInputDigitalActionData_t_11030 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_11030 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_11030 *win = (struct winInputPoseActionData_t_11030 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_11030_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_11030 *win = (struct winInputPoseActionData_t_11030 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_11030 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_11030 *win = (struct winInputSkeletalActionData_t_11030 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_11030_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_11030 *win = (struct winInputSkeletalActionData_t_11030 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_11030 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_11030 *win = (struct winInputOriginInfo_t_11030 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_11030_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_11030 *win = (struct winInputOriginInfo_t_11030 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_11030 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_11030_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_11030 *win = (struct winIVRSpatialAnchors_11030 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_11030_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_11030 *win = (struct winIVRSpatialAnchors_11030 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -#pragma pack(push, 8) -struct winIVRDebug_11030 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRDebug_11030_lin_to_win(void *l, void *w) -{ - struct winIVRDebug_11030 *win = (struct winIVRDebug_11030 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - -void struct_IVRDebug_11030_win_to_lin(const void *w, void *l) -{ - struct winIVRDebug_11030 *win = (struct winIVRDebug_11030 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_11111.cpp b/vrclient_x64/vrclient_x64/struct_converters_11111.cpp deleted file mode 100644 index cd9e51e8..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_11111.cpp +++ /dev/null @@ -1,378 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.11.11/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_11111 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_11111 *win = (struct winVREvent_t_11111 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_11111_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_11111 *win = (struct winVREvent_t_11111 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_11111 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_11111 *win = (struct winVRControllerState001_t_11111 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_11111_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_11111 *win = (struct winVRControllerState001_t_11111 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_11111 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_11111 *win = (struct winCameraVideoStreamFrameHeader_t_11111 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_11111_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_11111 *win = (struct winCameraVideoStreamFrameHeader_t_11111 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winVROverlayView_t_11111 { - vr::VROverlayHandle_t overlayHandle; - vr::Texture_t texture __attribute__((aligned(4))); - vr::VRTextureBounds_t textureBounds __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VROverlayView_t_11111_lin_to_win(void *l, void *w) -{ - struct winVROverlayView_t_11111 *win = (struct winVROverlayView_t_11111 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - win->overlayHandle = lin->overlayHandle; - win->texture = lin->texture; - win->textureBounds = lin->textureBounds; -} - -void struct_VROverlayView_t_11111_win_to_lin(const void *w, void *l) -{ - struct winVROverlayView_t_11111 *win = (struct winVROverlayView_t_11111 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - lin->overlayHandle = win->overlayHandle; - lin->texture = win->texture; - lin->textureBounds = win->textureBounds; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_11111 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - vr::EVRRenderModelTextureFormat format; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_11111_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_11111 *win = (struct winRenderModel_TextureMap_t_11111 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; -} - -void struct_RenderModel_TextureMap_t_11111_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_11111 *win = (struct winRenderModel_TextureMap_t_11111 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; - lin->format = win->format; -} - -#pragma pack(push, 8) -struct winRenderModel_t_11111 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_11111_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_11111 *win = (struct winRenderModel_t_11111 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_11111_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_11111 *win = (struct winRenderModel_t_11111 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_11111 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_11111 *win = (struct winInputAnalogActionData_t_11111 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_11111_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_11111 *win = (struct winInputAnalogActionData_t_11111 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_11111 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_11111 *win = (struct winInputDigitalActionData_t_11111 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_11111_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_11111 *win = (struct winInputDigitalActionData_t_11111 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_11111 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_11111 *win = (struct winInputPoseActionData_t_11111 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_11111_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_11111 *win = (struct winInputPoseActionData_t_11111 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_11111 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_11111 *win = (struct winInputSkeletalActionData_t_11111 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_11111_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_11111 *win = (struct winInputSkeletalActionData_t_11111 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_11111 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_11111 *win = (struct winInputOriginInfo_t_11111 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_11111_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_11111 *win = (struct winInputOriginInfo_t_11111 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_11111 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_11111_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_11111 *win = (struct winIVRSpatialAnchors_11111 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_11111_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_11111 *win = (struct winIVRSpatialAnchors_11111 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -#pragma pack(push, 8) -struct winIVRDebug_11111 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRDebug_11111_lin_to_win(void *l, void *w) -{ - struct winIVRDebug_11111 *win = (struct winIVRDebug_11111 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - -void struct_IVRDebug_11111_win_to_lin(const void *w, void *l) -{ - struct winIVRDebug_11111 *win = (struct winIVRDebug_11111 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1125.cpp b/vrclient_x64/vrclient_x64/struct_converters_1125.cpp deleted file mode 100644 index 50c1c5ad..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1125.cpp +++ /dev/null @@ -1,401 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.12.5/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVRVulkanTextureArrayData_t_1125 { - uint32_t m_unArrayIndex; - uint32_t m_unArraySize; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRVulkanTextureArrayData_t_1125_lin_to_win(void *l, void *w) -{ - struct winVRVulkanTextureArrayData_t_1125 *win = (struct winVRVulkanTextureArrayData_t_1125 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - win->m_unArrayIndex = lin->m_unArrayIndex; - win->m_unArraySize = lin->m_unArraySize; -} - -void struct_VRVulkanTextureArrayData_t_1125_win_to_lin(const void *w, void *l) -{ - struct winVRVulkanTextureArrayData_t_1125 *win = (struct winVRVulkanTextureArrayData_t_1125 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - lin->m_unArrayIndex = win->m_unArrayIndex; - lin->m_unArraySize = win->m_unArraySize; -} - -#pragma pack(push, 8) -struct winVREvent_t_1125 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1125 *win = (struct winVREvent_t_1125 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1125_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1125 *win = (struct winVREvent_t_1125 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1125 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1125 *win = (struct winVRControllerState001_t_1125 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1125_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1125 *win = (struct winVRControllerState001_t_1125 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1125 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1125 *win = (struct winCameraVideoStreamFrameHeader_t_1125 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1125_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1125 *win = (struct winCameraVideoStreamFrameHeader_t_1125 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winVROverlayView_t_1125 { - vr::VROverlayHandle_t overlayHandle; - vr::Texture_t texture __attribute__((aligned(4))); - vr::VRTextureBounds_t textureBounds __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VROverlayView_t_1125_lin_to_win(void *l, void *w) -{ - struct winVROverlayView_t_1125 *win = (struct winVROverlayView_t_1125 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - win->overlayHandle = lin->overlayHandle; - win->texture = lin->texture; - win->textureBounds = lin->textureBounds; -} - -void struct_VROverlayView_t_1125_win_to_lin(const void *w, void *l) -{ - struct winVROverlayView_t_1125 *win = (struct winVROverlayView_t_1125 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - lin->overlayHandle = win->overlayHandle; - lin->texture = win->texture; - lin->textureBounds = win->textureBounds; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1125 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - vr::EVRRenderModelTextureFormat format; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1125_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1125 *win = (struct winRenderModel_TextureMap_t_1125 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; -} - -void struct_RenderModel_TextureMap_t_1125_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1125 *win = (struct winRenderModel_TextureMap_t_1125 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; - lin->format = win->format; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1125 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1125_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1125 *win = (struct winRenderModel_t_1125 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1125_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1125 *win = (struct winRenderModel_t_1125 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1125 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1125 *win = (struct winInputAnalogActionData_t_1125 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1125_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1125 *win = (struct winInputAnalogActionData_t_1125 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1125 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1125 *win = (struct winInputDigitalActionData_t_1125 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1125_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1125 *win = (struct winInputDigitalActionData_t_1125 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1125 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1125 *win = (struct winInputPoseActionData_t_1125 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1125_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1125 *win = (struct winInputPoseActionData_t_1125 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1125 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1125 *win = (struct winInputSkeletalActionData_t_1125 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1125_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_1125 *win = (struct winInputSkeletalActionData_t_1125 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1125 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1125 *win = (struct winInputOriginInfo_t_1125 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1125_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1125 *win = (struct winInputOriginInfo_t_1125 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_1125 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_1125_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_1125 *win = (struct winIVRSpatialAnchors_1125 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_1125_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_1125 *win = (struct winIVRSpatialAnchors_1125 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -#pragma pack(push, 8) -struct winIVRDebug_1125 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRDebug_1125_lin_to_win(void *l, void *w) -{ - struct winIVRDebug_1125 *win = (struct winIVRDebug_1125 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - -void struct_IVRDebug_1125_win_to_lin(const void *w, void *l) -{ - struct winIVRDebug_1125 *win = (struct winIVRDebug_1125 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_11310.cpp b/vrclient_x64/vrclient_x64/struct_converters_11310.cpp deleted file mode 100644 index 5b1882b1..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_11310.cpp +++ /dev/null @@ -1,401 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.13.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVRVulkanTextureArrayData_t_11310 { - uint32_t m_unArrayIndex; - uint32_t m_unArraySize; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRVulkanTextureArrayData_t_11310_lin_to_win(void *l, void *w) -{ - struct winVRVulkanTextureArrayData_t_11310 *win = (struct winVRVulkanTextureArrayData_t_11310 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - win->m_unArrayIndex = lin->m_unArrayIndex; - win->m_unArraySize = lin->m_unArraySize; -} - -void struct_VRVulkanTextureArrayData_t_11310_win_to_lin(const void *w, void *l) -{ - struct winVRVulkanTextureArrayData_t_11310 *win = (struct winVRVulkanTextureArrayData_t_11310 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - lin->m_unArrayIndex = win->m_unArrayIndex; - lin->m_unArraySize = win->m_unArraySize; -} - -#pragma pack(push, 8) -struct winVREvent_t_11310 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_11310 *win = (struct winVREvent_t_11310 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_11310_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_11310 *win = (struct winVREvent_t_11310 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_11310 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_11310 *win = (struct winVRControllerState001_t_11310 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_11310_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_11310 *win = (struct winVRControllerState001_t_11310 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_11310 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_11310 *win = (struct winCameraVideoStreamFrameHeader_t_11310 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_11310_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_11310 *win = (struct winCameraVideoStreamFrameHeader_t_11310 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winVROverlayView_t_11310 { - vr::VROverlayHandle_t overlayHandle; - vr::Texture_t texture __attribute__((aligned(4))); - vr::VRTextureBounds_t textureBounds __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VROverlayView_t_11310_lin_to_win(void *l, void *w) -{ - struct winVROverlayView_t_11310 *win = (struct winVROverlayView_t_11310 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - win->overlayHandle = lin->overlayHandle; - win->texture = lin->texture; - win->textureBounds = lin->textureBounds; -} - -void struct_VROverlayView_t_11310_win_to_lin(const void *w, void *l) -{ - struct winVROverlayView_t_11310 *win = (struct winVROverlayView_t_11310 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - lin->overlayHandle = win->overlayHandle; - lin->texture = win->texture; - lin->textureBounds = win->textureBounds; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_11310 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - vr::EVRRenderModelTextureFormat format; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_11310_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_11310 *win = (struct winRenderModel_TextureMap_t_11310 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; -} - -void struct_RenderModel_TextureMap_t_11310_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_11310 *win = (struct winRenderModel_TextureMap_t_11310 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; - lin->format = win->format; -} - -#pragma pack(push, 8) -struct winRenderModel_t_11310 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_11310_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_11310 *win = (struct winRenderModel_t_11310 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_11310_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_11310 *win = (struct winRenderModel_t_11310 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_11310 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_11310 *win = (struct winInputAnalogActionData_t_11310 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_11310_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_11310 *win = (struct winInputAnalogActionData_t_11310 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_11310 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_11310 *win = (struct winInputDigitalActionData_t_11310 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_11310_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_11310 *win = (struct winInputDigitalActionData_t_11310 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_11310 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_11310 *win = (struct winInputPoseActionData_t_11310 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_11310_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_11310 *win = (struct winInputPoseActionData_t_11310 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_11310 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_11310 *win = (struct winInputSkeletalActionData_t_11310 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_11310_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_11310 *win = (struct winInputSkeletalActionData_t_11310 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_11310 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_11310 *win = (struct winInputOriginInfo_t_11310 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_11310_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_11310 *win = (struct winInputOriginInfo_t_11310 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_11310 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_11310_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_11310 *win = (struct winIVRSpatialAnchors_11310 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_11310_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_11310 *win = (struct winIVRSpatialAnchors_11310 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -#pragma pack(push, 8) -struct winIVRDebug_11310 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRDebug_11310_lin_to_win(void *l, void *w) -{ - struct winIVRDebug_11310 *win = (struct winIVRDebug_11310 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - -void struct_IVRDebug_11310_win_to_lin(const void *w, void *l) -{ - struct winIVRDebug_11310 *win = (struct winIVRDebug_11310 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_113b.cpp b/vrclient_x64/vrclient_x64/struct_converters_113b.cpp deleted file mode 100644 index 58b8058f..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_113b.cpp +++ /dev/null @@ -1,332 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.1.3b/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_113b { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_113b *win = (struct winVREvent_t_113b *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_113b_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_113b *win = (struct winVREvent_t_113b *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_113b { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_113b *win = (struct winVRControllerState001_t_113b *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_113b_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_113b *win = (struct winVRControllerState001_t_113b *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_113b { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t standingTrackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_113b *win = (struct winCameraVideoStreamFrameHeader_t_113b *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->standingTrackedDevicePose = lin->standingTrackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_113b_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_113b *win = (struct winCameraVideoStreamFrameHeader_t_113b *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->standingTrackedDevicePose = win->standingTrackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_113b { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_113b_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_113b *win = (struct winRenderModel_TextureMap_t_113b *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_113b_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_113b *win = (struct winRenderModel_TextureMap_t_113b *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_113b { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_113b_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_113b *win = (struct winRenderModel_t_113b *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_113b_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_113b *win = (struct winRenderModel_t_113b *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_113b { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_113b *win = (struct winInputAnalogActionData_t_113b *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_113b_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_113b *win = (struct winInputAnalogActionData_t_113b *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_113b { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_113b *win = (struct winInputDigitalActionData_t_113b *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_113b_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_113b *win = (struct winInputDigitalActionData_t_113b *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_113b { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_113b *win = (struct winInputPoseActionData_t_113b *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_113b_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_113b *win = (struct winInputPoseActionData_t_113b *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_113b { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_113b *win = (struct winInputSkeletalActionData_t_113b *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_113b_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_113b *win = (struct winInputSkeletalActionData_t_113b *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_113b { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_113b *win = (struct winInputOriginInfo_t_113b *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_113b_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_113b *win = (struct winInputOriginInfo_t_113b *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_113b { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_113b_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_113b *win = (struct winIVRSpatialAnchors_113b *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_113b_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_113b *win = (struct winIVRSpatialAnchors_113b *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_11415.cpp b/vrclient_x64/vrclient_x64/struct_converters_11415.cpp deleted file mode 100644 index ffa6b2a0..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_11415.cpp +++ /dev/null @@ -1,401 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.14.15/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVRVulkanTextureArrayData_t_11415 { - uint32_t m_unArrayIndex; - uint32_t m_unArraySize; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRVulkanTextureArrayData_t_11415_lin_to_win(void *l, void *w) -{ - struct winVRVulkanTextureArrayData_t_11415 *win = (struct winVRVulkanTextureArrayData_t_11415 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - win->m_unArrayIndex = lin->m_unArrayIndex; - win->m_unArraySize = lin->m_unArraySize; -} - -void struct_VRVulkanTextureArrayData_t_11415_win_to_lin(const void *w, void *l) -{ - struct winVRVulkanTextureArrayData_t_11415 *win = (struct winVRVulkanTextureArrayData_t_11415 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - lin->m_unArrayIndex = win->m_unArrayIndex; - lin->m_unArraySize = win->m_unArraySize; -} - -#pragma pack(push, 8) -struct winVREvent_t_11415 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_11415 *win = (struct winVREvent_t_11415 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_11415_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_11415 *win = (struct winVREvent_t_11415 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_11415 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_11415 *win = (struct winVRControllerState001_t_11415 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_11415_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_11415 *win = (struct winVRControllerState001_t_11415 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_11415 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_11415 *win = (struct winCameraVideoStreamFrameHeader_t_11415 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_11415_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_11415 *win = (struct winCameraVideoStreamFrameHeader_t_11415 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winVROverlayView_t_11415 { - vr::VROverlayHandle_t overlayHandle; - vr::Texture_t texture __attribute__((aligned(4))); - vr::VRTextureBounds_t textureBounds __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VROverlayView_t_11415_lin_to_win(void *l, void *w) -{ - struct winVROverlayView_t_11415 *win = (struct winVROverlayView_t_11415 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - win->overlayHandle = lin->overlayHandle; - win->texture = lin->texture; - win->textureBounds = lin->textureBounds; -} - -void struct_VROverlayView_t_11415_win_to_lin(const void *w, void *l) -{ - struct winVROverlayView_t_11415 *win = (struct winVROverlayView_t_11415 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - lin->overlayHandle = win->overlayHandle; - lin->texture = win->texture; - lin->textureBounds = win->textureBounds; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_11415 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - vr::EVRRenderModelTextureFormat format; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_11415_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_11415 *win = (struct winRenderModel_TextureMap_t_11415 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; -} - -void struct_RenderModel_TextureMap_t_11415_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_11415 *win = (struct winRenderModel_TextureMap_t_11415 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; - lin->format = win->format; -} - -#pragma pack(push, 8) -struct winRenderModel_t_11415 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_11415_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_11415 *win = (struct winRenderModel_t_11415 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_11415_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_11415 *win = (struct winRenderModel_t_11415 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_11415 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_11415 *win = (struct winInputAnalogActionData_t_11415 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_11415_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_11415 *win = (struct winInputAnalogActionData_t_11415 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_11415 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_11415 *win = (struct winInputDigitalActionData_t_11415 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_11415_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_11415 *win = (struct winInputDigitalActionData_t_11415 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_11415 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_11415 *win = (struct winInputPoseActionData_t_11415 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_11415_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_11415 *win = (struct winInputPoseActionData_t_11415 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_11415 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_11415 *win = (struct winInputSkeletalActionData_t_11415 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_11415_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_11415 *win = (struct winInputSkeletalActionData_t_11415 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_11415 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_11415 *win = (struct winInputOriginInfo_t_11415 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_11415_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_11415 *win = (struct winInputOriginInfo_t_11415 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_11415 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_11415_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_11415 *win = (struct winIVRSpatialAnchors_11415 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_11415_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_11415 *win = (struct winIVRSpatialAnchors_11415 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -#pragma pack(push, 8) -struct winIVRDebug_11415 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRDebug_11415_lin_to_win(void *l, void *w) -{ - struct winIVRDebug_11415 *win = (struct winIVRDebug_11415 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - -void struct_IVRDebug_11415_win_to_lin(const void *w, void *l) -{ - struct winIVRDebug_11415 *win = (struct winIVRDebug_11415 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1168.cpp b/vrclient_x64/vrclient_x64/struct_converters_1168.cpp deleted file mode 100644 index 12c07b7b..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1168.cpp +++ /dev/null @@ -1,401 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.16.8/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVRVulkanTextureArrayData_t_1168 { - uint32_t m_unArrayIndex; - uint32_t m_unArraySize; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRVulkanTextureArrayData_t_1168_lin_to_win(void *l, void *w) -{ - struct winVRVulkanTextureArrayData_t_1168 *win = (struct winVRVulkanTextureArrayData_t_1168 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - win->m_unArrayIndex = lin->m_unArrayIndex; - win->m_unArraySize = lin->m_unArraySize; -} - -void struct_VRVulkanTextureArrayData_t_1168_win_to_lin(const void *w, void *l) -{ - struct winVRVulkanTextureArrayData_t_1168 *win = (struct winVRVulkanTextureArrayData_t_1168 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - lin->m_unArrayIndex = win->m_unArrayIndex; - lin->m_unArraySize = win->m_unArraySize; -} - -#pragma pack(push, 8) -struct winVREvent_t_1168 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1168 *win = (struct winVREvent_t_1168 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1168_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1168 *win = (struct winVREvent_t_1168 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1168 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1168 *win = (struct winVRControllerState001_t_1168 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1168_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1168 *win = (struct winVRControllerState001_t_1168 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1168 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1168 *win = (struct winCameraVideoStreamFrameHeader_t_1168 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1168_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1168 *win = (struct winCameraVideoStreamFrameHeader_t_1168 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winVROverlayView_t_1168 { - vr::VROverlayHandle_t overlayHandle; - vr::Texture_t texture __attribute__((aligned(4))); - vr::VRTextureBounds_t textureBounds __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VROverlayView_t_1168_lin_to_win(void *l, void *w) -{ - struct winVROverlayView_t_1168 *win = (struct winVROverlayView_t_1168 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - win->overlayHandle = lin->overlayHandle; - win->texture = lin->texture; - win->textureBounds = lin->textureBounds; -} - -void struct_VROverlayView_t_1168_win_to_lin(const void *w, void *l) -{ - struct winVROverlayView_t_1168 *win = (struct winVROverlayView_t_1168 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - lin->overlayHandle = win->overlayHandle; - lin->texture = win->texture; - lin->textureBounds = win->textureBounds; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1168 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - vr::EVRRenderModelTextureFormat format; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1168_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1168 *win = (struct winRenderModel_TextureMap_t_1168 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; -} - -void struct_RenderModel_TextureMap_t_1168_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1168 *win = (struct winRenderModel_TextureMap_t_1168 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; - lin->format = win->format; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1168 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1168_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1168 *win = (struct winRenderModel_t_1168 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1168_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1168 *win = (struct winRenderModel_t_1168 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1168 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1168 *win = (struct winInputAnalogActionData_t_1168 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1168_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1168 *win = (struct winInputAnalogActionData_t_1168 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1168 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1168 *win = (struct winInputDigitalActionData_t_1168 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1168_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1168 *win = (struct winInputDigitalActionData_t_1168 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1168 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1168 *win = (struct winInputPoseActionData_t_1168 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1168_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1168 *win = (struct winInputPoseActionData_t_1168 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1168 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1168 *win = (struct winInputSkeletalActionData_t_1168 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1168_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_1168 *win = (struct winInputSkeletalActionData_t_1168 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1168 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1168 *win = (struct winInputOriginInfo_t_1168 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1168_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1168 *win = (struct winInputOriginInfo_t_1168 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_1168 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_1168_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_1168 *win = (struct winIVRSpatialAnchors_1168 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_1168_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_1168 *win = (struct winIVRSpatialAnchors_1168 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -#pragma pack(push, 8) -struct winIVRDebug_1168 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRDebug_1168_lin_to_win(void *l, void *w) -{ - struct winIVRDebug_1168 *win = (struct winIVRDebug_1168 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - -void struct_IVRDebug_1168_win_to_lin(const void *w, void *l) -{ - struct winIVRDebug_1168 *win = (struct winIVRDebug_1168 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1210.cpp b/vrclient_x64/vrclient_x64/struct_converters_1210.cpp deleted file mode 100644 index 35b5461e..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1210.cpp +++ /dev/null @@ -1,332 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.2.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1210 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1210 *win = (struct winVREvent_t_1210 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1210_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1210 *win = (struct winVREvent_t_1210 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1210 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1210 *win = (struct winVRControllerState001_t_1210 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1210_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1210 *win = (struct winVRControllerState001_t_1210 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1210 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t standingTrackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1210 *win = (struct winCameraVideoStreamFrameHeader_t_1210 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->standingTrackedDevicePose = lin->standingTrackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1210_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1210 *win = (struct winCameraVideoStreamFrameHeader_t_1210 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->standingTrackedDevicePose = win->standingTrackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1210 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1210_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1210 *win = (struct winRenderModel_TextureMap_t_1210 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1210_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1210 *win = (struct winRenderModel_TextureMap_t_1210 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1210 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1210_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1210 *win = (struct winRenderModel_t_1210 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1210_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1210 *win = (struct winRenderModel_t_1210 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1210 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1210 *win = (struct winInputAnalogActionData_t_1210 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1210_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1210 *win = (struct winInputAnalogActionData_t_1210 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1210 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1210 *win = (struct winInputDigitalActionData_t_1210 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1210_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1210 *win = (struct winInputDigitalActionData_t_1210 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1210 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1210 *win = (struct winInputPoseActionData_t_1210 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1210_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1210 *win = (struct winInputPoseActionData_t_1210 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1210 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1210 *win = (struct winInputSkeletalActionData_t_1210 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1210_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_1210 *win = (struct winInputSkeletalActionData_t_1210 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1210 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1210 *win = (struct winInputOriginInfo_t_1210 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1210_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1210 *win = (struct winInputOriginInfo_t_1210 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_1210 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_1210_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_1210 *win = (struct winIVRSpatialAnchors_1210 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_1210_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_1210 *win = (struct winIVRSpatialAnchors_1210 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1237.cpp b/vrclient_x64/vrclient_x64/struct_converters_1237.cpp deleted file mode 100644 index 2f6c5752..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1237.cpp +++ /dev/null @@ -1,404 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVRVulkanTextureArrayData_t_1237 { - uint32_t m_unArrayIndex; - uint32_t m_unArraySize; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRVulkanTextureArrayData_t_1237_lin_to_win(void *l, void *w) -{ - struct winVRVulkanTextureArrayData_t_1237 *win = (struct winVRVulkanTextureArrayData_t_1237 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - win->m_unArrayIndex = lin->m_unArrayIndex; - win->m_unArraySize = lin->m_unArraySize; -} - -void struct_VRVulkanTextureArrayData_t_1237_win_to_lin(const void *w, void *l) -{ - struct winVRVulkanTextureArrayData_t_1237 *win = (struct winVRVulkanTextureArrayData_t_1237 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - lin->m_unArrayIndex = win->m_unArrayIndex; - lin->m_unArraySize = win->m_unArraySize; -} - -#pragma pack(push, 8) -struct winVREvent_t_1237 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1237 *win = (struct winVREvent_t_1237 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1237_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1237 *win = (struct winVREvent_t_1237 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1237 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1237 *win = (struct winVRControllerState001_t_1237 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1237_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1237 *win = (struct winVRControllerState001_t_1237 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1237 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1237 *win = (struct winCameraVideoStreamFrameHeader_t_1237 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1237_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1237 *win = (struct winCameraVideoStreamFrameHeader_t_1237 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winVROverlayView_t_1237 { - vr::VROverlayHandle_t overlayHandle; - vr::Texture_t texture __attribute__((aligned(4))); - vr::VRTextureBounds_t textureBounds __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VROverlayView_t_1237_lin_to_win(void *l, void *w) -{ - struct winVROverlayView_t_1237 *win = (struct winVROverlayView_t_1237 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - win->overlayHandle = lin->overlayHandle; - win->texture = lin->texture; - win->textureBounds = lin->textureBounds; -} - -void struct_VROverlayView_t_1237_win_to_lin(const void *w, void *l) -{ - struct winVROverlayView_t_1237 *win = (struct winVROverlayView_t_1237 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - lin->overlayHandle = win->overlayHandle; - lin->texture = win->texture; - lin->textureBounds = win->textureBounds; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1237 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - vr::EVRRenderModelTextureFormat format; - uint16_t unMipLevels; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1237_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1237 *win = (struct winRenderModel_TextureMap_t_1237 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; - win->unMipLevels = lin->unMipLevels; -} - -void struct_RenderModel_TextureMap_t_1237_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1237 *win = (struct winRenderModel_TextureMap_t_1237 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; - lin->format = win->format; - lin->unMipLevels = win->unMipLevels; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1237 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1237_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1237 *win = (struct winRenderModel_t_1237 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1237_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1237 *win = (struct winRenderModel_t_1237 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1237 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1237 *win = (struct winInputAnalogActionData_t_1237 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1237_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1237 *win = (struct winInputAnalogActionData_t_1237 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1237 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1237 *win = (struct winInputDigitalActionData_t_1237 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1237_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1237 *win = (struct winInputDigitalActionData_t_1237 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1237 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1237 *win = (struct winInputPoseActionData_t_1237 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1237_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1237 *win = (struct winInputPoseActionData_t_1237 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1237 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1237 *win = (struct winInputSkeletalActionData_t_1237 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1237_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_1237 *win = (struct winInputSkeletalActionData_t_1237 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1237 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1237 *win = (struct winInputOriginInfo_t_1237 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1237_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1237 *win = (struct winInputOriginInfo_t_1237 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_1237 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_1237_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_1237 *win = (struct winIVRSpatialAnchors_1237 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_1237_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_1237 *win = (struct winIVRSpatialAnchors_1237 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -#pragma pack(push, 8) -struct winIVRDebug_1237 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRDebug_1237_lin_to_win(void *l, void *w) -{ - struct winIVRDebug_1237 *win = (struct winIVRDebug_1237 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - -void struct_IVRDebug_1237_win_to_lin(const void *w, void *l) -{ - struct winIVRDebug_1237 *win = (struct winIVRDebug_1237 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1267.cpp b/vrclient_x64/vrclient_x64/struct_converters_1267.cpp deleted file mode 100644 index 1de85c6a..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1267.cpp +++ /dev/null @@ -1,404 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.26.7/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVRVulkanTextureArrayData_t_1267 { - uint32_t m_unArrayIndex; - uint32_t m_unArraySize; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRVulkanTextureArrayData_t_1267_lin_to_win(void *l, void *w) -{ - struct winVRVulkanTextureArrayData_t_1267 *win = (struct winVRVulkanTextureArrayData_t_1267 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - win->m_unArrayIndex = lin->m_unArrayIndex; - win->m_unArraySize = lin->m_unArraySize; -} - -void struct_VRVulkanTextureArrayData_t_1267_win_to_lin(const void *w, void *l) -{ - struct winVRVulkanTextureArrayData_t_1267 *win = (struct winVRVulkanTextureArrayData_t_1267 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - lin->m_unArrayIndex = win->m_unArrayIndex; - lin->m_unArraySize = win->m_unArraySize; -} - -#pragma pack(push, 8) -struct winVREvent_t_1267 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1267_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1267 *win = (struct winVREvent_t_1267 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1267_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1267 *win = (struct winVREvent_t_1267 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1267 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1267_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1267 *win = (struct winVRControllerState001_t_1267 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1267_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1267 *win = (struct winVRControllerState001_t_1267 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1267 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1267_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1267 *win = (struct winCameraVideoStreamFrameHeader_t_1267 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1267_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1267 *win = (struct winCameraVideoStreamFrameHeader_t_1267 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winVROverlayView_t_1267 { - vr::VROverlayHandle_t overlayHandle; - vr::Texture_t texture __attribute__((aligned(4))); - vr::VRTextureBounds_t textureBounds __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VROverlayView_t_1267_lin_to_win(void *l, void *w) -{ - struct winVROverlayView_t_1267 *win = (struct winVROverlayView_t_1267 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - win->overlayHandle = lin->overlayHandle; - win->texture = lin->texture; - win->textureBounds = lin->textureBounds; -} - -void struct_VROverlayView_t_1267_win_to_lin(const void *w, void *l) -{ - struct winVROverlayView_t_1267 *win = (struct winVROverlayView_t_1267 *)w; - VROverlayView_t *lin = (VROverlayView_t *)l; - lin->overlayHandle = win->overlayHandle; - lin->texture = win->texture; - lin->textureBounds = win->textureBounds; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1267 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - vr::EVRRenderModelTextureFormat format; - uint16_t unMipLevels; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1267_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1267 *win = (struct winRenderModel_TextureMap_t_1267 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; - win->unMipLevels = lin->unMipLevels; -} - -void struct_RenderModel_TextureMap_t_1267_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1267 *win = (struct winRenderModel_TextureMap_t_1267 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; - lin->format = win->format; - lin->unMipLevels = win->unMipLevels; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1267 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1267_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1267 *win = (struct winRenderModel_t_1267 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1267_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1267 *win = (struct winRenderModel_t_1267 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1267 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1267_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1267 *win = (struct winInputAnalogActionData_t_1267 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1267_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1267 *win = (struct winInputAnalogActionData_t_1267 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1267 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1267_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1267 *win = (struct winInputDigitalActionData_t_1267 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1267_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1267 *win = (struct winInputDigitalActionData_t_1267 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1267 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1267_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1267 *win = (struct winInputPoseActionData_t_1267 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1267_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1267 *win = (struct winInputPoseActionData_t_1267 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1267 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1267_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1267 *win = (struct winInputSkeletalActionData_t_1267 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1267_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_1267 *win = (struct winInputSkeletalActionData_t_1267 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1267 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1267_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1267 *win = (struct winInputOriginInfo_t_1267 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1267_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1267 *win = (struct winInputOriginInfo_t_1267 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_1267 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_1267_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_1267 *win = (struct winIVRSpatialAnchors_1267 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_1267_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_1267 *win = (struct winIVRSpatialAnchors_1267 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -#pragma pack(push, 8) -struct winIVRDebug_1267 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRDebug_1267_lin_to_win(void *l, void *w) -{ - struct winIVRDebug_1267 *win = (struct winIVRDebug_1267 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - -void struct_IVRDebug_1267_win_to_lin(const void *w, void *l) -{ - struct winIVRDebug_1267 *win = (struct winIVRDebug_1267 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1322.cpp b/vrclient_x64/vrclient_x64/struct_converters_1322.cpp deleted file mode 100644 index 03bcbd2b..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1322.cpp +++ /dev/null @@ -1,332 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.3.22/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1322 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1322 *win = (struct winVREvent_t_1322 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1322_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1322 *win = (struct winVREvent_t_1322 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1322 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1322 *win = (struct winVRControllerState001_t_1322 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1322_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1322 *win = (struct winVRControllerState001_t_1322 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1322 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t standingTrackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1322 *win = (struct winCameraVideoStreamFrameHeader_t_1322 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->standingTrackedDevicePose = lin->standingTrackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1322_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1322 *win = (struct winCameraVideoStreamFrameHeader_t_1322 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->standingTrackedDevicePose = win->standingTrackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1322 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1322_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1322 *win = (struct winRenderModel_TextureMap_t_1322 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1322_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1322 *win = (struct winRenderModel_TextureMap_t_1322 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1322 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1322_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1322 *win = (struct winRenderModel_t_1322 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1322_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1322 *win = (struct winRenderModel_t_1322 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1322 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1322 *win = (struct winInputAnalogActionData_t_1322 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1322_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1322 *win = (struct winInputAnalogActionData_t_1322 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1322 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1322 *win = (struct winInputDigitalActionData_t_1322 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1322_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1322 *win = (struct winInputDigitalActionData_t_1322 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1322 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1322 *win = (struct winInputPoseActionData_t_1322 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1322_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1322 *win = (struct winInputPoseActionData_t_1322 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1322 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1322 *win = (struct winInputSkeletalActionData_t_1322 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1322_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_1322 *win = (struct winInputSkeletalActionData_t_1322 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1322 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1322 *win = (struct winInputOriginInfo_t_1322 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1322_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1322 *win = (struct winInputOriginInfo_t_1322 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_1322 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_1322_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_1322 *win = (struct winIVRSpatialAnchors_1322 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_1322_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_1322 *win = (struct winIVRSpatialAnchors_1322 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1418.cpp b/vrclient_x64/vrclient_x64/struct_converters_1418.cpp deleted file mode 100644 index 0058d63a..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1418.cpp +++ /dev/null @@ -1,332 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.4.18/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1418 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1418 *win = (struct winVREvent_t_1418 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1418_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1418 *win = (struct winVREvent_t_1418 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1418 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1418 *win = (struct winVRControllerState001_t_1418 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1418_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1418 *win = (struct winVRControllerState001_t_1418 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1418 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t standingTrackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1418 *win = (struct winCameraVideoStreamFrameHeader_t_1418 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->standingTrackedDevicePose = lin->standingTrackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1418_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1418 *win = (struct winCameraVideoStreamFrameHeader_t_1418 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->standingTrackedDevicePose = win->standingTrackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1418 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1418_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1418 *win = (struct winRenderModel_TextureMap_t_1418 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1418_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1418 *win = (struct winRenderModel_TextureMap_t_1418 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1418 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1418_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1418 *win = (struct winRenderModel_t_1418 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1418_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1418 *win = (struct winRenderModel_t_1418 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1418 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1418 *win = (struct winInputAnalogActionData_t_1418 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1418_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1418 *win = (struct winInputAnalogActionData_t_1418 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1418 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1418 *win = (struct winInputDigitalActionData_t_1418 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1418_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1418 *win = (struct winInputDigitalActionData_t_1418 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1418 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1418 *win = (struct winInputPoseActionData_t_1418 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1418_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1418 *win = (struct winInputPoseActionData_t_1418 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1418 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1418 *win = (struct winInputSkeletalActionData_t_1418 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1418_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_1418 *win = (struct winInputSkeletalActionData_t_1418 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1418 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1418 *win = (struct winInputOriginInfo_t_1418 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1418_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1418 *win = (struct winInputOriginInfo_t_1418 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_1418 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_1418_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_1418 *win = (struct winIVRSpatialAnchors_1418 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_1418_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_1418 *win = (struct winIVRSpatialAnchors_1418 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1517.cpp b/vrclient_x64/vrclient_x64/struct_converters_1517.cpp deleted file mode 100644 index a412dbfc..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1517.cpp +++ /dev/null @@ -1,349 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.5.17/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1517 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1517 *win = (struct winVREvent_t_1517 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1517_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1517 *win = (struct winVREvent_t_1517 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1517 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1517 *win = (struct winVRControllerState001_t_1517 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1517_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1517 *win = (struct winVRControllerState001_t_1517 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1517 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t standingTrackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1517 *win = (struct winCameraVideoStreamFrameHeader_t_1517 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->standingTrackedDevicePose = lin->standingTrackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1517_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1517 *win = (struct winCameraVideoStreamFrameHeader_t_1517 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->standingTrackedDevicePose = win->standingTrackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1517 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1517_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1517 *win = (struct winRenderModel_TextureMap_t_1517 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1517_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1517 *win = (struct winRenderModel_TextureMap_t_1517 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1517 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1517_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1517 *win = (struct winRenderModel_t_1517 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1517_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1517 *win = (struct winRenderModel_t_1517 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1517 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1517 *win = (struct winInputAnalogActionData_t_1517 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1517_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1517 *win = (struct winInputAnalogActionData_t_1517 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1517 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1517 *win = (struct winInputDigitalActionData_t_1517 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1517_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1517 *win = (struct winInputDigitalActionData_t_1517 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1517 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1517 *win = (struct winInputPoseActionData_t_1517 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1517_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1517 *win = (struct winInputPoseActionData_t_1517 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1517 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1517 *win = (struct winInputSkeletalActionData_t_1517 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1517_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_1517 *win = (struct winInputSkeletalActionData_t_1517 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1517 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1517 *win = (struct winInputOriginInfo_t_1517 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1517_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1517 *win = (struct winInputOriginInfo_t_1517 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_1517 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_1517_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_1517 *win = (struct winIVRSpatialAnchors_1517 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_1517_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_1517 *win = (struct winIVRSpatialAnchors_1517 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -#pragma pack(push, 8) -struct winIVRDebug_1517 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRDebug_1517_lin_to_win(void *l, void *w) -{ - struct winIVRDebug_1517 *win = (struct winIVRDebug_1517 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - -void struct_IVRDebug_1517_win_to_lin(const void *w, void *l) -{ - struct winIVRDebug_1517 *win = (struct winIVRDebug_1517 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1610.cpp b/vrclient_x64/vrclient_x64/struct_converters_1610.cpp deleted file mode 100644 index d7c461b2..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1610.cpp +++ /dev/null @@ -1,349 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.6.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1610 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1610 *win = (struct winVREvent_t_1610 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1610_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1610 *win = (struct winVREvent_t_1610 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1610 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1610 *win = (struct winVRControllerState001_t_1610 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1610_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1610 *win = (struct winVRControllerState001_t_1610 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1610 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t standingTrackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1610 *win = (struct winCameraVideoStreamFrameHeader_t_1610 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->standingTrackedDevicePose = lin->standingTrackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1610 *win = (struct winCameraVideoStreamFrameHeader_t_1610 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->standingTrackedDevicePose = win->standingTrackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1610 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1610_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1610 *win = (struct winRenderModel_TextureMap_t_1610 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1610_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1610 *win = (struct winRenderModel_TextureMap_t_1610 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1610 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1610_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1610 *win = (struct winRenderModel_t_1610 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1610_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1610 *win = (struct winRenderModel_t_1610 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1610 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1610 *win = (struct winInputAnalogActionData_t_1610 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1610_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1610 *win = (struct winInputAnalogActionData_t_1610 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1610 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1610 *win = (struct winInputDigitalActionData_t_1610 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1610_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1610 *win = (struct winInputDigitalActionData_t_1610 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1610 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1610 *win = (struct winInputPoseActionData_t_1610 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1610_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1610 *win = (struct winInputPoseActionData_t_1610 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1610 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1610 *win = (struct winInputSkeletalActionData_t_1610 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1610_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_1610 *win = (struct winInputSkeletalActionData_t_1610 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1610 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1610 *win = (struct winInputOriginInfo_t_1610 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1610_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1610 *win = (struct winInputOriginInfo_t_1610 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_1610 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_1610_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_1610 *win = (struct winIVRSpatialAnchors_1610 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_1610_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_1610 *win = (struct winIVRSpatialAnchors_1610 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -#pragma pack(push, 8) -struct winIVRDebug_1610 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRDebug_1610_lin_to_win(void *l, void *w) -{ - struct winIVRDebug_1610 *win = (struct winIVRDebug_1610 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - -void struct_IVRDebug_1610_win_to_lin(const void *w, void *l) -{ - struct winIVRDebug_1610 *win = (struct winIVRDebug_1610 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1715.cpp b/vrclient_x64/vrclient_x64/struct_converters_1715.cpp deleted file mode 100644 index af71908f..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1715.cpp +++ /dev/null @@ -1,349 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.7.15/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1715 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1715 *win = (struct winVREvent_t_1715 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1715_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1715 *win = (struct winVREvent_t_1715 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1715 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1715 *win = (struct winVRControllerState001_t_1715 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1715_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1715 *win = (struct winVRControllerState001_t_1715 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1715 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1715 *win = (struct winCameraVideoStreamFrameHeader_t_1715 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1715_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1715 *win = (struct winCameraVideoStreamFrameHeader_t_1715 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1715 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1715_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1715 *win = (struct winRenderModel_TextureMap_t_1715 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1715_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1715 *win = (struct winRenderModel_TextureMap_t_1715 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1715 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1715_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1715 *win = (struct winRenderModel_t_1715 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1715_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1715 *win = (struct winRenderModel_t_1715 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1715 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1715 *win = (struct winInputAnalogActionData_t_1715 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1715_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1715 *win = (struct winInputAnalogActionData_t_1715 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1715 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1715 *win = (struct winInputDigitalActionData_t_1715 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1715_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1715 *win = (struct winInputDigitalActionData_t_1715 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1715 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1715 *win = (struct winInputPoseActionData_t_1715 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1715_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1715 *win = (struct winInputPoseActionData_t_1715 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1715 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1715 *win = (struct winInputSkeletalActionData_t_1715 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1715_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_1715 *win = (struct winInputSkeletalActionData_t_1715 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1715 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1715 *win = (struct winInputOriginInfo_t_1715 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1715_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1715 *win = (struct winInputOriginInfo_t_1715 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_1715 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_1715_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_1715 *win = (struct winIVRSpatialAnchors_1715 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_1715_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_1715 *win = (struct winIVRSpatialAnchors_1715 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -#pragma pack(push, 8) -struct winIVRDebug_1715 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRDebug_1715_lin_to_win(void *l, void *w) -{ - struct winIVRDebug_1715 *win = (struct winIVRDebug_1715 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - -void struct_IVRDebug_1715_win_to_lin(const void *w, void *l) -{ - struct winIVRDebug_1715 *win = (struct winIVRDebug_1715 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1819.cpp b/vrclient_x64/vrclient_x64/struct_converters_1819.cpp deleted file mode 100644 index affefea1..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1819.cpp +++ /dev/null @@ -1,349 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.8.19/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1819 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1819 *win = (struct winVREvent_t_1819 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1819_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1819 *win = (struct winVREvent_t_1819 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1819 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1819 *win = (struct winVRControllerState001_t_1819 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1819_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1819 *win = (struct winVRControllerState001_t_1819 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1819 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1819 *win = (struct winCameraVideoStreamFrameHeader_t_1819 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1819_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1819 *win = (struct winCameraVideoStreamFrameHeader_t_1819 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1819 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1819_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1819 *win = (struct winRenderModel_TextureMap_t_1819 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1819_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1819 *win = (struct winRenderModel_TextureMap_t_1819 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1819 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1819_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1819 *win = (struct winRenderModel_t_1819 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1819_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1819 *win = (struct winRenderModel_t_1819 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1819 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1819 *win = (struct winInputAnalogActionData_t_1819 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1819_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1819 *win = (struct winInputAnalogActionData_t_1819 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1819 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1819 *win = (struct winInputDigitalActionData_t_1819 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1819_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1819 *win = (struct winInputDigitalActionData_t_1819 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1819 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1819 *win = (struct winInputPoseActionData_t_1819 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1819_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1819 *win = (struct winInputPoseActionData_t_1819 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1819 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1819 *win = (struct winInputSkeletalActionData_t_1819 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1819_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_1819 *win = (struct winInputSkeletalActionData_t_1819 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1819 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1819 *win = (struct winInputOriginInfo_t_1819 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1819_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1819 *win = (struct winInputOriginInfo_t_1819 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_1819 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_1819_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_1819 *win = (struct winIVRSpatialAnchors_1819 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_1819_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_1819 *win = (struct winIVRSpatialAnchors_1819 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -#pragma pack(push, 8) -struct winIVRDebug_1819 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRDebug_1819_lin_to_win(void *l, void *w) -{ - struct winIVRDebug_1819 *win = (struct winIVRDebug_1819 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - -void struct_IVRDebug_1819_win_to_lin(const void *w, void *l) -{ - struct winIVRDebug_1819 *win = (struct winIVRDebug_1819 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1916.cpp b/vrclient_x64/vrclient_x64/struct_converters_1916.cpp deleted file mode 100644 index e22a03d9..00000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1916.cpp +++ /dev/null @@ -1,349 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.9.16/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1916 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1916 *win = (struct winVREvent_t_1916 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1916_win_to_lin(const void *w, void *l) -{ - struct winVREvent_t_1916 *win = (struct winVREvent_t_1916 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1916 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1916 *win = (struct winVRControllerState001_t_1916 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1916_win_to_lin(const void *w, void *l) -{ - struct winVRControllerState001_t_1916 *win = (struct winVRControllerState001_t_1916 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1916 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1916 *win = (struct winCameraVideoStreamFrameHeader_t_1916 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1916_win_to_lin(const void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1916 *win = (struct winCameraVideoStreamFrameHeader_t_1916 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1916 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1916_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1916 *win = (struct winRenderModel_TextureMap_t_1916 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1916_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1916 *win = (struct winRenderModel_TextureMap_t_1916 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1916 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1916_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1916 *win = (struct winRenderModel_t_1916 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1916_win_to_lin(const void *w, void *l) -{ - struct winRenderModel_t_1916 *win = (struct winRenderModel_t_1916 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1916 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1916 *win = (struct winInputAnalogActionData_t_1916 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1916_win_to_lin(const void *w, void *l) -{ - struct winInputAnalogActionData_t_1916 *win = (struct winInputAnalogActionData_t_1916 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1916 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1916 *win = (struct winInputDigitalActionData_t_1916 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1916_win_to_lin(const void *w, void *l) -{ - struct winInputDigitalActionData_t_1916 *win = (struct winInputDigitalActionData_t_1916 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1916 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1916 *win = (struct winInputPoseActionData_t_1916 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1916_win_to_lin(const void *w, void *l) -{ - struct winInputPoseActionData_t_1916 *win = (struct winInputPoseActionData_t_1916 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1916 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1916 *win = (struct winInputSkeletalActionData_t_1916 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1916_win_to_lin(const void *w, void *l) -{ - struct winInputSkeletalActionData_t_1916 *win = (struct winInputSkeletalActionData_t_1916 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - -#pragma pack(push, 8) -struct winInputOriginInfo_t_1916 { - vr::VRInputValueHandle_t devicePath; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - char rchRenderModelComponentName[128]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputOriginInfo_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputOriginInfo_t_1916 *win = (struct winInputOriginInfo_t_1916 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - win->devicePath = lin->devicePath; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - memcpy(win->rchRenderModelComponentName, lin->rchRenderModelComponentName, sizeof(win->rchRenderModelComponentName)); -} - -void struct_InputOriginInfo_t_1916_win_to_lin(const void *w, void *l) -{ - struct winInputOriginInfo_t_1916 *win = (struct winInputOriginInfo_t_1916 *)w; - InputOriginInfo_t *lin = (InputOriginInfo_t *)l; - lin->devicePath = win->devicePath; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - memcpy(lin->rchRenderModelComponentName, win->rchRenderModelComponentName, sizeof(lin->rchRenderModelComponentName)); -} - -#pragma pack(push, 8) -struct winIVRSpatialAnchors_1916 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRSpatialAnchors_1916_lin_to_win(void *l, void *w) -{ - struct winIVRSpatialAnchors_1916 *win = (struct winIVRSpatialAnchors_1916 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -void struct_IVRSpatialAnchors_1916_win_to_lin(const void *w, void *l) -{ - struct winIVRSpatialAnchors_1916 *win = (struct winIVRSpatialAnchors_1916 *)w; - IVRSpatialAnchors *lin = (IVRSpatialAnchors *)l; -} - -#pragma pack(push, 8) -struct winIVRDebug_1916 { -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_IVRDebug_1916_lin_to_win(void *l, void *w) -{ - struct winIVRDebug_1916 *win = (struct winIVRDebug_1916 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - -void struct_IVRDebug_1916_win_to_lin(const void *w, void *l) -{ - struct winIVRDebug_1916 *win = (struct winIVRDebug_1916 *)w; - IVRDebug *lin = (IVRDebug *)l; -} - - -}