mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-13 23:28:16 +03:00
parent
a3711d4747
commit
be90b5e952
@ -1358,7 +1358,10 @@ class XrParam(object):
|
||||
elif self.type in ["XrVector2f"]:
|
||||
self.format_str = "%f, %f"
|
||||
self.format_conv = "{0}.x, {0}.y"
|
||||
elif self.type in ["VisualID", "xcb_visualid_t", "VkInstance", "XrPosef"]:
|
||||
elif self.type in ["XrPosef"]:
|
||||
self.format_str = "{{%f, %f, %f, %f}, {%f %f %f}}"
|
||||
self.format_conv = "{0}.orientation.x, {0}.orientation.y, {0}.orientation.z, {0}.orientation.w, {0}.position.x, {0}.position.y, {0}.position.z"
|
||||
elif self.type in ["VisualID", "xcb_visualid_t", "VkInstance"]:
|
||||
# Don't care about Linux specific types.
|
||||
self.format_str = ""
|
||||
else:
|
||||
|
@ -648,7 +648,7 @@ static XrResult WINAPI wine_xrSetInputDeviceActiveEXT(XrSession session, XrPath
|
||||
|
||||
static XrResult WINAPI wine_xrSetInputDeviceLocationEXT(XrSession session, XrPath topLevelPath, XrPath inputSourcePath, XrSpace space, XrPosef pose)
|
||||
{
|
||||
WINE_TRACE("%p, 0x%s, 0x%s, %p, %p\n", session, wine_dbgstr_longlong(topLevelPath), wine_dbgstr_longlong(inputSourcePath), space, &pose);
|
||||
WINE_TRACE("%p, 0x%s, 0x%s, %p, {{%f, %f, %f, %f}, {%f %f %f}}\n", session, wine_dbgstr_longlong(topLevelPath), wine_dbgstr_longlong(inputSourcePath), space, pose.orientation.x, pose.orientation.y, pose.orientation.z, pose.orientation.w, pose.position.x, pose.position.y, pose.position.z);
|
||||
return ((wine_XrSession *)session)->wine_instance->funcs.p_xrSetInputDeviceLocationEXT(((wine_XrSession *)session)->session, topLevelPath, inputSourcePath, space, pose);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user