From fb30f5e077b32fc39ceb2a9966568069490110aa Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 19 Apr 2023 22:27:29 +0100 Subject: [PATCH] t/common: Put simulated, remote and qwerty higher up in list --- src/xrt/targets/common/target_lists.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/xrt/targets/common/target_lists.c b/src/xrt/targets/common/target_lists.c index 149ca2fcc..9d3a91823 100644 --- a/src/xrt/targets/common/target_lists.c +++ b/src/xrt/targets/common/target_lists.c @@ -96,6 +96,18 @@ * Builders */ xrt_builder_create_func_t target_builder_list[] = { +#ifdef T_BUILDER_QWERTY // High up to override any real hardware. + t_builder_qwerty_create, +#endif // T_BUILDER_QWERTY + +#ifdef T_BUILDER_REMOTE // High up to override any real hardware. + t_builder_remote_create, +#endif // T_BUILDER_REMOTE + +#ifdef T_BUILDER_SIMULATED // High up to override any real hardware. + t_builder_simulated_create, +#endif // T_BUILDER_SIMULATED + #ifdef XRT_BUILD_DRIVER_RIFT_S rift_s_builder_create, #endif // XRT_BUILD_DRIVER_RIFT_S @@ -104,14 +116,6 @@ xrt_builder_create_func_t target_builder_list[] = { t_builder_rgb_tracking_create, #endif // T_BUILDER_RGB_TRACKING -#ifdef T_BUILDER_QWERTY - t_builder_qwerty_create, -#endif // T_BUILDER_QWERTY - -#ifdef T_BUILDER_SIMULATED - t_builder_simulated_create, -#endif // T_BUILDER_SIMULATED - #ifdef T_BUILDER_SIMULAVR t_builder_simula_create, #endif // T_BUILDER_SIMULAVR @@ -120,10 +124,6 @@ xrt_builder_create_func_t target_builder_list[] = { t_builder_lighthouse_create, #endif // T_BUILDER_LIGHTHOUSE -#ifdef T_BUILDER_REMOTE - t_builder_remote_create, -#endif // T_BUILDER_REMOTE - #ifdef T_BUILDER_NS t_builder_north_star_create, #endif // T_BUILDER_NS