Fix desktop_isDown;

This commit is contained in:
bjorn 2019-05-03 15:36:22 -07:00
parent e21b64155a
commit 1d079f0c95
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}