Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
GamePadButton.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System;
4 
5 namespace SiliconStudio.Paradox.Input
6 {
7  /// <summary>
8  /// Buttons for gamepad returned by <see cref="GamePadState"/>.
9  /// </summary>
10  [Flags]
11  public enum GamePadButton : ushort
12  {
13  /// <summary>
14  /// PadUp button.
15  /// </summary>
16  PadUp = 1 << 0,
17 
18  /// <summary>
19  /// PadDown button.
20  /// </summary>
21  PadDown = 1 << 1,
22 
23  /// <summary>
24  /// PadLeft button.
25  /// </summary>
26  PadLeft = 1 << 2,
27 
28  /// <summary>
29  /// PadRight button.
30  /// </summary>
31  PadRight = 1 << 3,
32 
33  /// <summary>
34  /// Start button.
35  /// </summary>
36  Start = 1 << 4,
37 
38  /// <summary>
39  /// Back button.
40  /// </summary>
41  Back = 1 << 5,
42 
43  /// <summary>
44  /// Left thumb button.
45  /// </summary>
46  LeftThumb = 1 << 6,
47 
48  /// <summary>
49  /// Right thumb button.
50  /// </summary>
51  RightThumb = 1 << 7,
52 
53  /// <summary>
54  /// Left shoulder button.
55  /// </summary>
56  LeftShoulder = 1 << 8,
57 
58  /// <summary>
59  /// Right shoulder button.
60  /// </summary>
61  RightShoulder = 1 << 9,
62 
63  /// <summary>
64  /// A button.
65  /// </summary>
66  A = 1 << 12,
67 
68  /// <summary>
69  /// B button.
70  /// </summary>
71  B = 1 << 13,
72 
73  /// <summary>
74  /// X button.
75  /// </summary>
76  X = 1 << 14,
77 
78  /// <summary>
79  /// Y button.
80  /// </summary>
81  Y = 1 << 15,
82 
83  /// <summary>
84  /// No buttons.
85  /// </summary>
86  None = 0,
87  }
88 }
Flags
Enumeration of the new Assimp's flags.
GamePadButton
Buttons for gamepad returned by GamePadState.