mirror of
https://github.com/encounter/aurora.git
synced 2026-07-09 18:19:33 -07:00
19 lines
396 B
C++
19 lines
396 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace aurora::device {
|
|
|
|
bool rumble_available() noexcept;
|
|
void rumble(uint16_t lowFreq, uint16_t highFreq, uint16_t durationMs) noexcept;
|
|
|
|
bool gyro_available() noexcept;
|
|
bool gyro(float* data, int n_values) noexcept;
|
|
|
|
bool accel_available() noexcept;
|
|
bool accel(float* data, int n_values) noexcept;
|
|
|
|
void shutdown() noexcept;
|
|
|
|
} // namespace aurora::device
|