From e3666b4705380feab42ff08cb80d284e966aa115 Mon Sep 17 00:00:00 2001 From: Kostas Missos Date: Wed, 7 Mar 2018 19:23:43 +0200 Subject: [PATCH] [hidvib] Rename vibration variables (#62) --- nx/include/switch/services/hid.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nx/include/switch/services/hid.h b/nx/include/switch/services/hid.h index 8c417d79..cb53f2be 100644 --- a/nx/include/switch/services/hid.h +++ b/nx/include/switch/services/hid.h @@ -541,7 +541,10 @@ static_assert(sizeof(HidSharedMemory) == 0x40000, "Hid Shared Memory structure h 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; static_assert(sizeof(HidVibrationValue) == 0x10, "Hid VibrationValue structure has incorrect size");