2023-12-04 13:17:13 +00:00
|
|
|
using System;
|
2021-05-02 20:01:30 +00:00
|
|
|
|
2024-03-10 14:38:29 +00:00
|
|
|
namespace Ryujinx.Horizon.Sdk.Hid.SharedMemory.Npad
|
2021-05-02 20:01:30 +00:00
|
|
|
{
|
|
|
|
[Flags]
|
|
|
|
enum NpadSystemProperties : ulong
|
|
|
|
{
|
|
|
|
None = 0,
|
|
|
|
|
|
|
|
IsChargingJoyDual = 1 << 0,
|
|
|
|
IsChargingJoyLeft = 1 << 1,
|
|
|
|
IsChargingJoyRight = 1 << 2,
|
|
|
|
IsPoweredJoyDual = 1 << 3,
|
|
|
|
IsPoweredJoyLeft = 1 << 4,
|
|
|
|
IsPoweredJoyRight = 1 << 5,
|
|
|
|
IsUnsuportedButtonPressedOnNpadSystem = 1 << 9,
|
|
|
|
IsUnsuportedButtonPressedOnNpadSystemExt = 1 << 10,
|
|
|
|
IsAbxyButtonOriented = 1 << 11,
|
|
|
|
IsSlSrButtonOriented = 1 << 12,
|
|
|
|
IsPlusAvailable = 1 << 13,
|
|
|
|
IsMinusAvailable = 1 << 14,
|
2023-07-16 17:31:14 +00:00
|
|
|
IsDirectionalButtonsAvailable = 1 << 15,
|
2021-05-02 20:01:30 +00:00
|
|
|
}
|
|
|
|
}
|