fix: remove stereokits controller models

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit was merged in pull request #36.
This commit is contained in:
Schmarni
2025-02-07 04:31:34 +01:00
committed by Nova King
parent e83874d603
commit ceb8f2e9fd

View File

@@ -43,6 +43,7 @@ pub struct SkController {
} }
impl SkController { impl SkController {
pub fn new(connection: &Connection, handed: Handed) -> Result<Self> { pub fn new(connection: &Connection, handed: Handed) -> Result<Self> {
Input::set_controller_model(handed, Some(Model::new()));
let (spatial, object_handle) = SpatialRef::create( let (spatial, object_handle) = SpatialRef::create(
connection, connection,
&("/org/stardustxr/Controller/".to_string() &("/org/stardustxr/Controller/".to_string()