diff options
author | german77 <juangerman-13@hotmail.com> | 2023-03-05 19:44:39 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2023-03-05 19:50:15 +0100 |
commit | 97704b8da9866a4e529515f5793309ce5f199840 (patch) | |
tree | 7bc99ea037a05cce9342866378eca6ce8deecf0f /src/input_common/helpers/joycon_protocol/joycon_types.h | |
parent | Merge pull request #9786 from FernandoS27/the-gaia-is-a-lie (diff) | |
download | yuzu-97704b8da9866a4e529515f5793309ce5f199840.tar yuzu-97704b8da9866a4e529515f5793309ce5f199840.tar.gz yuzu-97704b8da9866a4e529515f5793309ce5f199840.tar.bz2 yuzu-97704b8da9866a4e529515f5793309ce5f199840.tar.lz yuzu-97704b8da9866a4e529515f5793309ce5f199840.tar.xz yuzu-97704b8da9866a4e529515f5793309ce5f199840.tar.zst yuzu-97704b8da9866a4e529515f5793309ce5f199840.zip |
Diffstat (limited to '')
-rw-r--r-- | src/input_common/helpers/joycon_protocol/joycon_types.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/input_common/helpers/joycon_protocol/joycon_types.h b/src/input_common/helpers/joycon_protocol/joycon_types.h index b91934990..2e50a99a8 100644 --- a/src/input_common/helpers/joycon_protocol/joycon_types.h +++ b/src/input_common/helpers/joycon_protocol/joycon_types.h @@ -95,6 +95,18 @@ enum class PasivePadButton : u32 { ZL_ZR = 0x8000, }; +enum class PasivePadStick : u8 { + Right = 0x00, + RightDown = 0x01, + Down = 0x02, + DownLeft = 0x03, + Left = 0x04, + LeftUp = 0x05, + Up = 0x06, + UpRight = 0x07, + Neutral = 0x08, +}; + enum class OutputReport : u8 { RUMBLE_AND_SUBCMD = 0x01, FW_UPDATE_PKT = 0x03, |