3 namespace SiliconStudio.
Paradox.Input
8 public partial class VirtualButton
15 private GamePad(
string name,
VirtualButtonType type,
int id,
bool isPositiveAndNegative =
false) : base(name, type,
id, isPositiveAndNegative)
37 return new GamePad(
this, index);
143 var state = manager.GetGamePad(PadIndex);
145 var index = (int)(Id & TypeIdMask);
159 return state.LeftThumb.X;
161 return state.LeftThumb.Y;
163 return state.RightThumb.X;
165 return state.RightThumb.Y;
167 return state.LeftTrigger;
169 return state.RightTrigger;