mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-11 01:15:30 +00:00
260cfd8d26
To be consistent with the headset implementation, move all config related code to vive_config and use u_json consistently with static string sizes.
25 lines
471 B
C
25 lines
471 B
C
// Copyright 2020, Collabora, Ltd.
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
/*!
|
|
* @file
|
|
* @brief vive json header
|
|
* @author Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
|
|
* @ingroup drv_vive
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
struct vive_device;
|
|
|
|
bool
|
|
vive_config_parse(struct vive_device *d, char *json_string);
|
|
|
|
|
|
struct vive_controller_device;
|
|
|
|
bool
|
|
vive_config_parse_controller(struct vive_controller_device *d,
|
|
char *json_string);
|