summaryrefslogtreecommitdiffstats
path: root/src/core/hid/hid_types.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2021-12-16 03:00:24 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2021-12-16 20:35:15 +0100
commitc82e6dc81048352475cd64968f8733040a35d944 (patch)
tree1fd6749536362bfafc8ff33de7c1b27105ebea61 /src/core/hid/hid_types.h
parentMerge pull request #7588 from Wunkolo/gibibibi-bytes (diff)
downloadyuzu-c82e6dc81048352475cd64968f8733040a35d944.tar
yuzu-c82e6dc81048352475cd64968f8733040a35d944.tar.gz
yuzu-c82e6dc81048352475cd64968f8733040a35d944.tar.bz2
yuzu-c82e6dc81048352475cd64968f8733040a35d944.tar.lz
yuzu-c82e6dc81048352475cd64968f8733040a35d944.tar.xz
yuzu-c82e6dc81048352475cd64968f8733040a35d944.tar.zst
yuzu-c82e6dc81048352475cd64968f8733040a35d944.zip
Diffstat (limited to 'src/core/hid/hid_types.h')
-rw-r--r--src/core/hid/hid_types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hid/hid_types.h b/src/core/hid/hid_types.h
index 7c12f01fc..4eca68533 100644
--- a/src/core/hid/hid_types.h
+++ b/src/core/hid/hid_types.h
@@ -496,6 +496,13 @@ struct VibrationValue {
};
static_assert(sizeof(VibrationValue) == 0x10, "VibrationValue has incorrect size.");
+constexpr VibrationValue DEFAULT_VIBRATION_VALUE{
+ .low_amplitude = 0.0f,
+ .low_frequency = 160.0f,
+ .high_amplitude = 0.0f,
+ .high_frequency = 320.0f,
+};
+
// This is nn::hid::VibrationDeviceInfo
struct VibrationDeviceInfo {
VibrationDeviceType type{};