aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Hid/HidControllerButtons.cs
blob: f41d17e1d12a3548446c78346053cebde8c365da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;

namespace Ryujinx.HLE.Input
{
    [Flags]
    public enum HidControllerButtons
    {
        KEY_A            = (1 << 0),
        KEY_B            = (1 << 1),
        KEY_X            = (1 << 2),
        KEY_Y            = (1 << 3),
        KEY_LSTICK       = (1 << 4),
        KEY_RSTICK       = (1 << 5),
        KEY_L            = (1 << 6),
        KEY_R            = (1 << 7),
        KEY_ZL           = (1 << 8),
        KEY_ZR           = (1 << 9),
        KEY_PLUS         = (1 << 10),
        KEY_MINUS        = (1 << 11),
        KEY_DLEFT        = (1 << 12),
        KEY_DUP          = (1 << 13),
        KEY_DRIGHT       = (1 << 14),
        KEY_DDOWN        = (1 << 15),
        KEY_LSTICK_LEFT  = (1 << 16),
        KEY_LSTICK_UP    = (1 << 17),
        KEY_LSTICK_RIGHT = (1 << 18),
        KEY_LSTICK_DOWN  = (1 << 19),
        KEY_RSTICK_LEFT  = (1 << 20),
        KEY_RSTICK_UP    = (1 << 21),
        KEY_RSTICK_RIGHT = (1 << 22),
        KEY_RSTICK_DOWN  = (1 << 23),
        KEY_SL           = (1 << 24),
        KEY_SR           = (1 << 25)
    }
}