mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-17 04:15:44 +00:00
st/oxr: Use the transformed boolean value
This commit is contained in:
parent
1a5d31b82b
commit
17f40ecc26
|
@ -842,8 +842,10 @@ oxr_action_cache_update(struct oxr_logger *log,
|
|||
}
|
||||
#endif
|
||||
case XRT_INPUT_TYPE_BOOLEAN: {
|
||||
changed = (input->value.boolean != last.value.boolean);
|
||||
cache->current.value.boolean = input->value.boolean;
|
||||
changed =
|
||||
(transformed.value.boolean != last.value.boolean);
|
||||
cache->current.value.boolean =
|
||||
transformed.value.boolean;
|
||||
break;
|
||||
}
|
||||
case XRT_INPUT_TYPE_POSE: return;
|
||||
|
|
Loading…
Reference in a new issue