From 1d079f0c955ebabb1d26687a18936f8a9ea42048 Mon Sep 17 00:00:00 2001 From: bjorn Date: Fri, 3 May 2019 15:36:22 -0700 Subject: [PATCH] Fix desktop_isDown; --- src/headset/desktop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headset/desktop.c b/src/headset/desktop.c index 670c4013..35f327af 100644 --- a/src/headset/desktop.c +++ b/src/headset/desktop.c @@ -111,7 +111,7 @@ static bool desktop_getVelocity(const char* path, vec3 velocity, vec3 angularVel } static bool desktop_isDown(const char* path, bool* down) { - if (!strcmp(path, "hand/left") || !strcmp(path, "hand/right")) { + if (!strcmp(path, "hand/left/trigger") || !strcmp(path, "hand/right/trigger")) { *down = lovrPlatformIsMouseDown(MOUSE_RIGHT); return true; }