d/wmr: Move wmr_headset_type to wmr_common.h

This commit is contained in:
Jakob Bornecrantz 2023-04-04 00:42:39 +01:00
parent 3819a21e44
commit 05b83d5102
2 changed files with 19 additions and 11 deletions

View file

@ -20,6 +20,23 @@ extern "C" {
#endif
/*!
* Headset type, used to select different control and init/shutdown procedures.
*
* @ingroup drv_wmr
*/
enum wmr_headset_type
{
WMR_HEADSET_GENERIC,
WMR_HEADSET_HP_VR1000,
WMR_HEADSET_REVERB_G1,
WMR_HEADSET_REVERB_G2,
WMR_HEADSET_SAMSUNG_XE700X3AI,
WMR_HEADSET_SAMSUNG_800ZAA,
WMR_HEADSET_LENOVO_EXPLORER,
WMR_HEADSET_MEDION_ERAZER_X1000,
};
/*!
* Defines for the WMR driver.
*

View file

@ -27,22 +27,13 @@
#include "wmr_protocol.h"
#include "wmr_config.h"
#include "wmr_camera.h"
#include "wmr_common.h"
#ifdef __cplusplus
extern "C" {
#endif
enum wmr_headset_type
{
WMR_HEADSET_GENERIC,
WMR_HEADSET_HP_VR1000,
WMR_HEADSET_REVERB_G1,
WMR_HEADSET_REVERB_G2,
WMR_HEADSET_SAMSUNG_XE700X3AI,
WMR_HEADSET_SAMSUNG_800ZAA,
WMR_HEADSET_LENOVO_EXPLORER,
WMR_HEADSET_MEDION_ERAZER_X1000,
};
struct wmr_hmd;