monado/src/xrt/drivers/vive/vive_config.h
Lubosz Sarnecki 260cfd8d26 d/vive/controller: Use u_json and move config to vive_config.
To be consistent with the headset implementation, move all config
related code to vive_config and use u_json consistently with static
string sizes.
2020-07-02 18:42:42 +02:00

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);