Skip to content

Commit e53c74a

Browse files
hazeycodeCopilot
andauthored
fix getOriginTrackedDeviceInfo call
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent df918a5 commit e53c74a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/input.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ pub fn getOriginTrackedDeviceInfo(
368368
const error_code = self.function_table.GetOriginTrackedDeviceInfo(
369369
origin,
370370
&result,
371-
@sizeOf(openvr.InputValueHandle),
371+
@sizeOf(openvr.InputOriginInfo),
372372
);
373373
try error_code.maybe();
374374

0 commit comments

Comments
 (0)