aboutsummaryrefslogtreecommitdiff
path: root/src/core/frontend/applets/controller.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
commitb92bf51ae1a08eca22bf0ce98b234692b9d59207 (patch)
tree9b7347d407509503d91d3987cb037bc0bcab679e /src/core/frontend/applets/controller.cpp
parent16e2e1c45f8d510946645199140b20e1bde3e7da (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/frontend/applets/controller.cpp')
0 files changed, 0 insertions, 0 deletions