C# Class OVRInputControl.KeyInfo

Holds information about a single key event.
Datei anzeigen Open project: leapmotion/ImageGrid

Public Properties

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

Public Methods

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.

Method Details

KeyInfo() public method

Mouse button 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

KeyInfo() public method

Joystick button constructor.
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

KeyInfo() public method

Key constructor.
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

Property Details

deviceType public_oe property

public DeviceType deviceType
return DeviceType

downHandler public_oe property

public OnKeyDown, downHandler
return OnKeyDown,

heldHandler public_oe property

public OnKeyHeld heldHandler
return OnKeyHeld

joystickAxis public_oe property

public OVRGamepadController.Axis joystickAxis
return OVRGamepadController.Axis

joystickButton public_oe property

public OVRGamepadController.Button joystickButton
return OVRGamepadController.Button

keyName public_oe property

public string keyName
return string

mouseButton public_oe property

public MouseButton, mouseButton
return MouseButton,

threshold public_oe property

public float threshold
return float

upHandler public_oe property

public OnKeyUp upHandler
return OnKeyUp

wasDown public_oe property

public bool wasDown
return bool