The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/qwerty: Tidy header [NFC]

+18 -11
+18 -11
src/xrt/drivers/qwerty/qwerty_interface.h
··· 1 1 // Copyright 2021, Mateo de Mayo. 2 + // Copyright 2023, Collabora, Ltd. 2 3 // SPDX-License-Identifier: BSL-1.0 3 4 /*! 4 5 * @file ··· 8 9 */ 9 10 10 11 #pragma once 12 + 13 + #include "xrt/xrt_compiler.h" 14 + 11 15 12 16 #ifdef __cplusplus 13 17 extern "C" { 14 18 #endif 15 19 20 + 16 21 typedef union SDL_Event SDL_Event; 17 22 18 23 /*! ··· 20 25 * @ingroup drv 21 26 * 22 27 * @brief Driver for emulated HMD and controllers through keyboard and mouse. 23 - * @{ 28 + */ 29 + 30 + /*! 31 + * @dir drivers/qwerty 32 + * 33 + * @brief @ref drv_qwerty files. 24 34 */ 25 35 26 - //! Create an auto prober for qwerty devices. 36 + /*! 37 + * Create an auto prober for qwerty devices. 38 + * 39 + * @ingroup drv_qwerty 40 + */ 27 41 struct xrt_auto_prober * 28 42 qwerty_create_auto_prober(void); 29 43 ··· 35 49 * physical controllers connected), though its memory will be modified by these 36 50 * events regardless. A qwerty_hmd not in use will not be modified as it never 37 51 * gets created. 52 + * 53 + * @ingroup drv_qwerty 38 54 */ 39 55 void 40 56 qwerty_process_event(struct xrt_device **xdevs, size_t xdev_count, SDL_Event event); 41 57 42 - /*! 43 - * @} 44 - */ 45 - 46 - /*! 47 - * @dir drivers/qwerty 48 - * 49 - * @brief @ref drv_qwerty files. 50 - */ 51 58 52 59 #ifdef __cplusplus 53 60 }