mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 13:02:38 +02:00
[hidvib] Rename vibration variables (#62)
This commit is contained in:
parent
d1cefabd12
commit
e3666b4705
@ -541,7 +541,10 @@ static_assert(sizeof(HidSharedMemory) == 0x40000, "Hid Shared Memory structure h
|
|||||||
|
|
||||||
typedef struct HidVibrationValue
|
typedef struct HidVibrationValue
|
||||||
{
|
{
|
||||||
float values[4];
|
float amp_low; ///< Low Band amplitude. 1.0f: Max amplitude.
|
||||||
|
float freq_low; ///< Low Band frequency in Hz.
|
||||||
|
float amp_high; ///< High Band amplitude. 1.0f: Max amplitude.
|
||||||
|
float freq_high; ///< High Band frequency in Hz.
|
||||||
} HidVibrationValue;
|
} HidVibrationValue;
|
||||||
static_assert(sizeof(HidVibrationValue) == 0x10, "Hid VibrationValue structure has incorrect size");
|
static_assert(sizeof(HidVibrationValue) == 0x10, "Hid VibrationValue structure has incorrect size");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user