aboutsummaryrefslogtreecommitdiff
path: root/src/core/settings.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-10-06 05:08:52 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-11-15 23:33:20 -0500
commitc9937559f46e1bdc2d0bf477650c5ccd5d9945b4 (patch)
tree9b7347d407509503d91d3987cb037bc0bcab679e /src/core/settings.cpp
parent8a35dd51eee4e9a19d8cebbb97af0c8af3429017 (diff)
hid: Implement GetVibrationDeviceInfo
The first u32 describes the vibration device type which is a Linear Resonant Actuator used in Nintendo Switch controller hardware. The second u32 describes the vibration device position, in this case distinguishing between left and right vibration actuators. Pro Controllers have 2 LRAs each that can vibrate independently of each other, which means they have 2 distinct vibration device handles to distinguish between the two actuators. Similarly for joycons, the left joycon can be distinguished from the right joycon through the vibration device handle since each joycon has 1 LRA.
Diffstat (limited to 'src/core/settings.cpp')
0 files changed, 0 insertions, 0 deletions