mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 00:04:34 +01:00
vrclient: Pass Linux struct size to Linux GetControllerState
This commit is contained in:
parent
68443426f9
commit
6b5f94f2ef
9 changed files with 16 additions and 14 deletions
|
|
@ -266,7 +266,9 @@ def handle_method(cfile, classname, winclassname, cppname, method, cpp, cpp_h, e
|
|||
if do_lin_to_win and do_lin_to_win[1] == param.spelling or \
|
||||
do_wrap and do_wrap[1] == param.spelling:
|
||||
cpp.write("&lin")
|
||||
if do_lin_to_win and do_lin_to_win[0] == "VREvent_t":
|
||||
if do_lin_to_win and \
|
||||
(do_lin_to_win[0] == "VREvent_t" or \
|
||||
do_lin_to_win[0] == "VRControllerState001_t"):
|
||||
next_is_size = True
|
||||
elif do_unwrap and do_unwrap[1] == param.spelling:
|
||||
cpp.write("struct_%s_%s_unwrap(%s)" % (strip_ns(do_unwrap[0]), display_sdkver(sdkver), do_unwrap[1]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue