Monado OpenXR Runtime
Loading...
Searching...
No Matches
rift_radio.h
Go to the documentation of this file.
1// Copyright 2025, Beyley Cardellio
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Radio state machine functions for the Oculus Rift.
6 * @author Beyley Cardellio <ep1cm1n10n123@gmail.com>
7 * @ingroup drv_rift
8 */
9
10#include "rift_internal.h"
11
12// Handles reading from the radio HID device and processing any incoming messages
13int
14rift_radio_handle_read(struct rift_hmd *hmd);
15
16// Handles updating the haptic state of the controllers
17int
18rift_radio_handle_haptics(struct rift_hmd *hmd);
19
20// Checks for completed async commands and processes them
21int
22rift_radio_handle_command(struct rift_hmd *hmd);
Interface to Oculus Rift driver code.
A rift HMD device.
Definition rift_internal.h:788