コントローラー·ボタン·フラッグ

class ButtonFlagController(Enum):

     None_               = 0x0000
    
    FrontLeftTop        = 0x0001 # L1
    FrontLeftBottom     = 0x0002 # L2
    FrontRightTop       = 0x0004 # R1
    FrontRightBottom    = 0x0008 # R2
    
    TopLeft             = 0x0010 # Hボタン
    TopRight            = 0x0020 # 電源ボタン
    
    MidUp               = 0x0040 # ↑
    MidLeft             = 0x0080 # ←
    MidRight            = 0x0100 # →
    MidDown             = 0x0200 # ↓
    
    BottomLeft          = 0x0400 # Sボタン
    BottomRight         = 0x0800 # Pボタン