|
static readonly Dictionary
< String, String > | DeltaAxes |
|
static readonly Dictionary
< String, String > | Axes |
|
static readonly Dictionary
< String, int > | MouseButtons |
|
static readonly Dictionary
< String, KeyCode > | KeyboardButtons |
|
Definition at line 36 of file InputControlBase.cs.
Hydrogen.Peripherals.InputControlBase.InputControlBase |
( |
String |
name, |
|
|
InputAction |
action |
|
) |
| |
|
protected |
abstract void Hydrogen.Peripherals.InputControlBase.Capture |
( |
| ) |
|
|
pure virtual |
Definition at line 308 of file InputControlBase.cs.
311 if (
Axes.TryGetValue (name, out axis)) {
312 return new InputAxisControl (name, axis, action);
314 if (
DeltaAxes.TryGetValue (name, out axis)) {
315 return new InputDeltaAxisControl (name, axis, action);
319 return new InputMouseButtonControl (name, button, action);
323 return new InputKeyboardButtonControl (name, keyCode, action);
readonly Dictionary<String, String> Hydrogen.Peripherals.InputControlBase.Axes |
|
static |
Initial value:= new Dictionary<String, String> {
{ "Horizontal", "Horizontal" },
{ "Vertical", "Vertical" }
}
Definition at line 46 of file InputControlBase.cs.
readonly Dictionary<String, String> Hydrogen.Peripherals.InputControlBase.DeltaAxes |
|
static |
Initial value:= new Dictionary<String, String> {
{ "Mouse X", "Mouse X" },
{ "Mouse Y", "Mouse Y" },
{ "Mouse ScrollWheel", "Mouse ScrollWheel" }
}
Definition at line 41 of file InputControlBase.cs.
readonly Dictionary<String, KeyCode> Hydrogen.Peripherals.InputControlBase.KeyboardButtons |
|
static |
readonly Dictionary<String, int> Hydrogen.Peripherals.InputControlBase.MouseButtons |
|
static |
Initial value:= new Dictionary<String, int> {
{ "Left", 0 },
{ "Right", 1 },
{ "Middle", 2 },
}
Definition at line 50 of file InputControlBase.cs.
InputAction Hydrogen.Peripherals.InputControlBase.Action |
|
getset |
string Hydrogen.Peripherals.InputControlBase.ActionName |
|
getset |
string Hydrogen.Peripherals.InputControlBase.Name |
|
getset |