yuzu/src/core/hle/service/hid
Morph b92bf51ae1 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.
2020-11-15 23:33:20 -05:00
..
controllers controllers/npad: Rename NPadType to NpadStyleSet 2020-11-15 23:33:20 -05:00
errors.h hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignment 2019-07-01 15:12:57 +10:00
hid.cpp hid: Implement GetVibrationDeviceInfo 2020-11-15 23:33:20 -05:00
hid.h hid: Implement GetVibrationDeviceInfo 2020-11-15 23:33:20 -05:00
irs.cpp General: Recover Prometheus project from harddrive failure 2020-06-27 11:35:06 -04:00
irs.h kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154) 2019-11-24 20:15:51 -05:00
xcd.cpp hle/service: Default constructors and destructors in the cpp file where applicable 2018-09-10 23:55:31 -04:00
xcd.h hle/service: Default constructors and destructors in the cpp file where applicable 2018-09-10 23:55:31 -04:00