mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 12:46:41 +00:00
70f79e689b
* First working vibration implementation * Fix Infinite Rumble in SDL2Mouse * Stop ignoring one vibValues every 2 * Remove RumbleInfinity as suggested * Reworked all the vibration handle / calculation * Revert HidVibrationDevicePosition changes * Add UI to enable and tune rumble * Remove some stub logs * Add PlayerIndex in rumble debug log * Fix all requested changes * Implements hid::GetVibrationDeviceInfo * Better implements HidVibrationValue.Equals/GetHashCode * Added requested changes from code review * Last fixes from review * Update configuration file version for rebase
15 lines
No EOL
430 B
C#
15 lines
No EOL
430 B
C#
namespace Ryujinx.HLE.HOS.Services.Hid
|
|
{
|
|
enum ResultCode
|
|
{
|
|
ModuleId = 202,
|
|
ErrorCodeShift = 9,
|
|
|
|
Success = 0,
|
|
|
|
InvalidNpadDeviceType = (122 << ErrorCodeShift) | ModuleId,
|
|
InvalidNpadIdType = (123 << ErrorCodeShift) | ModuleId,
|
|
InvalidDeviceIndex = (124 << ErrorCodeShift) | ModuleId,
|
|
InvalidBufferSize = (131 << ErrorCodeShift) | ModuleId
|
|
}
|
|
} |