Click or drag to resize

IInputDeviceImp Interface

Implementors represent a physical input device.

Namespace:  Fusee.Engine.Common
Assembly:  Fusee.Engine.Common (in Fusee.Engine.Common.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
C#
public interface IInputDeviceImp

The IInputDeviceImp type exposes the following members.

Properties
  NameDescription
Public propertyAxesCount
Gets number of axes supported by this device.
Public propertyAxisImpDesc
Gets a description of the axis. This value can be used in user setup-dialogs or to match axes of devices of different categories.
Public propertyButtonCount
Gets the number of buttons supported by this device.
Public propertyButtonImpDesc
Gets information about of the specified button. This value can be used in user setup-dialogs or to match buttons of devices of different categories.
Public propertyCategory
Gets the category of this device. Device categories define a minimal common set of buttons and axes which are identical across all devices sharing the same category.
Public propertyDesc
Gets the human readable name of this device. This parameter can be used in user dialogs to identify devices.
Public propertyId
Gets an identifier. Implementors take care that this id is unique across all devices managed by a driver.
Top
Methods
  NameDescription
Public methodGetAxis
Gets the value currently present at the given axis if its AxisImpDesc identifies it as a to-be-polled axis.
Public methodGetButton
Gets the state of the given button if its ButtonImpDesc identifies it as a to-be-polled button
Top
Events
  NameDescription
Public eventAxisValueChanged
Occurs on value changes of axes exhibited by this device. Only applies for axes where the PollAxis is set to false.
Public eventButtonValueChanged
Top
See Also