Property | Type | Description | |
---|---|---|---|
deviceType | DeviceType | ||
downHandler | OnKeyDown, | ||
heldHandler | OnKeyHeld | ||
joystickAxis | OVRGamepadController.Axis | ||
joystickButton | OVRGamepadController.Button | ||
keyName | string | ||
mouseButton | MouseButton, | ||
threshold | float | ||
upHandler | OnKeyUp | ||
wasDown | bool |
Method | Description | |
---|---|---|
KeyInfo ( DeviceType inDeviceType, MouseButton, inMouseButton, OnKeyDown, inDownHandler, OnKeyHeld inHeldHandler, OnKeyUp inUpHandler ) : UnityEngine |
Mouse button constructor.
|
|
KeyInfo ( DeviceType inDeviceType, OVRGamepadController, inJoystickButton, OnKeyDown, inDownHandler, OnKeyHeld inHeldHandler, OnKeyUp inUpHandler ) : UnityEngine |
Joystick button constructor.
|
|
KeyInfo ( DeviceType inDeviceType, string inKeyName, OnKeyDown, inDownHandler, OnKeyHeld inHeldHandler, OnKeyUp inUpHandler ) : UnityEngine |
Key constructor.
|
public KeyInfo ( DeviceType inDeviceType, MouseButton, inMouseButton, OnKeyDown, inDownHandler, OnKeyHeld inHeldHandler, OnKeyUp inUpHandler ) : UnityEngine | ||
inDeviceType | DeviceType | |
inMouseButton | MouseButton, | |
inDownHandler | OnKeyDown, | |
inHeldHandler | OnKeyHeld | |
inUpHandler | OnKeyUp | |
return | UnityEngine |
public KeyInfo ( DeviceType inDeviceType, OVRGamepadController, inJoystickButton, OnKeyDown, inDownHandler, OnKeyHeld inHeldHandler, OnKeyUp inUpHandler ) : UnityEngine | ||
inDeviceType | DeviceType | |
inJoystickButton | OVRGamepadController, | |
inDownHandler | OnKeyDown, | |
inHeldHandler | OnKeyHeld | |
inUpHandler | OnKeyUp | |
return | UnityEngine |
public KeyInfo ( DeviceType inDeviceType, string inKeyName, OnKeyDown, inDownHandler, OnKeyHeld inHeldHandler, OnKeyUp inUpHandler ) : UnityEngine | ||
inDeviceType | DeviceType | |
inKeyName | string | |
inDownHandler | OnKeyDown, | |
inHeldHandler | OnKeyHeld | |
inUpHandler | OnKeyUp | |
return | UnityEngine |
public OVRGamepadController.Axis joystickAxis | ||
return | OVRGamepadController.Axis |
public OVRGamepadController.Button joystickButton | ||
return | OVRGamepadController.Button |