Unify wivrn_controller and wivrn_hand_interaction device code

This commit is contained in:
Sapphire
2025-12-09 04:10:40 -05:00
parent 740dcfdcfb
commit 6638cefb37
7 changed files with 109 additions and 594 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
* WiVRn VR streaming
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
* Copyright (C) 2022 Patrick Nicolas <patricknicolas@laposte.net>
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -52,7 +53,7 @@ class wivrn_controller : public xrt_device
public:
using base = xrt_device;
wivrn_controller(int hand_id, xrt_device * hmd, wivrn::wivrn_session * cnx);
wivrn_controller(xrt_device_name name, int hand_id, xrt_device * hmd, wivrn::wivrn_session * cnx);
xrt_result_t update_inputs();