From 28315ecdc403ebadbb7349c3b5dcb78e8334d49c Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 15 Nov 2023 16:48:34 +0000 Subject: [PATCH] d/vive: Follow common naming of update_inputs [NFC] --- src/xrt/drivers/vive/vive_controller.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xrt/drivers/vive/vive_controller.c b/src/xrt/drivers/vive/vive_controller.c index 51e7c7bbf..1317adeb1 100644 --- a/src/xrt/drivers/vive/vive_controller.c +++ b/src/xrt/drivers/vive/vive_controller.c @@ -184,7 +184,7 @@ vive_controller_device_destroy(struct xrt_device *xdev) } static void -vive_controller_device_update_wand_inputs(struct xrt_device *xdev) +vive_controller_device_wand_update_inputs(struct xrt_device *xdev) { struct vive_controller_device *d = vive_controller_device(xdev); @@ -243,7 +243,7 @@ vive_controller_device_update_wand_inputs(struct xrt_device *xdev) } static void -vive_controller_device_update_index_inputs(struct xrt_device *xdev) +vive_controller_device_index_update_inputs(struct xrt_device *xdev) { XRT_TRACE_MARKER(); @@ -1139,7 +1139,7 @@ vive_controller_create(struct os_hid_device *controller_hid, enum watchman_gen w d->base.outputs[0].name = XRT_OUTPUT_NAME_VIVE_HAPTIC; - d->base.update_inputs = vive_controller_device_update_wand_inputs; + d->base.update_inputs = vive_controller_device_wand_update_inputs; d->base.binding_profiles = vive_binding_profiles_wand; d->base.binding_profile_count = vive_binding_profiles_wand_count; @@ -1172,7 +1172,7 @@ vive_controller_create(struct os_hid_device *controller_hid, enum watchman_gen w d->base.outputs[0].name = XRT_OUTPUT_NAME_INDEX_HAPTIC; - d->base.update_inputs = vive_controller_device_update_index_inputs; + d->base.update_inputs = vive_controller_device_index_update_inputs; d->base.get_hand_tracking = vive_controller_get_hand_tracking;