Click or drag to resize

CustomInputSourceUnifiedMouse Class

Unified Mouse base class. This represents a standardized mouse with a fixed number of elements that takes input from all mice connected to the system.
Inheritance Hierarchy
SystemObject
  Rewired.Platforms.CustomCustomInputSourceController
    Rewired.Platforms.CustomCustomInputSourceUnifiedMouse

Namespace: Rewired.Platforms.Custom
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntax
C#
public abstract class UnifiedMouse : CustomInputSourceController

The CustomInputSourceUnifiedMouse type exposes the following members.

Properties
 NameDescription
Public propertyAxes The list of Axes. Generally this should not be used. Use GetAxisValue(Int32) and SetAxisValue(Int32, Single) instead.
(Inherited from CustomInputSourceController)
Public propertyaxisCount The number of axes.
(Inherited from CustomInputSourceController)
Public propertybuttonCount The number of buttons.
(Inherited from CustomInputSourceController)
Public propertyButtons The list of Buttons. Generally this should not be used. Use GetButtonValue(Int32) and SetButtonValue(Int32, Boolean) instead.
(Inherited from CustomInputSourceController)
Public propertyComponents The list of Components.
(Inherited from CustomInputSourceController)
Public propertycustomIdentifier A user-defined object containing identifying information for this controller. This can be used to match to a controller definition.
(Inherited from CustomInputSourceController)
Public propertycustomName Custom name for this controller, if any.
(Inherited from CustomInputSourceController)
Public propertydeviceInstanceGuid Unique persistent device guid of the controller. Only set this if controllers can be uniquely identified on this platform across application sessions and system power cycles.
(Inherited from CustomInputSourceController)
Public propertydeviceName The device name of the controller.
(Inherited from CustomInputSourceController)
Public propertyElements The list of Elements.
(Inherited from CustomInputSourceController)
Public propertyextension The Controller Extension. This will only return the first controller extension. Use Extensions to access all controller extensions in the controller. This should no longer be used for setting the extension value. Use AddExtension(ControllerExtension) instead. This setter was left for legacy compatibility.
(Inherited from CustomInputSourceController)
Public propertyExtensions The list of Controller Extensions.
(Inherited from CustomInputSourceController)
Public propertyid Unique id of the controller.
(Inherited from CustomInputSourceController)
Public propertyisConnected Determines if the controller is connected.
(Inherited from CustomInputSourceController)
Public propertysupportsVibration Determines whether this joystick supports vibration.
(Inherited from CustomInputSourceController)
Public propertysystemId The system id of the joystick. This value represents a unique device identifier, either assigned directly by the system or a derived value based on some unique system-defined identifier. Example: If the system provides a string path for a particular device, a long value can be derived from the path by assigining an id to each unique path string.
(Inherited from CustomInputSourceController)
Public propertytype The controller type.
(Inherited from CustomInputSourceController)
Top
Methods
 NameDescription
Public methodAddExtension Adds a Controller Extension. This can only be called during construction.
(Inherited from CustomInputSourceController)
Public methodClear
(Inherited from CustomInputSourceController)
Public methodConnect Connect the controller.
(Inherited from CustomInputSourceController)
Public methodDisconnect Disconnect the controller.
(Inherited from CustomInputSourceController)
Public methodGetAxisValue
(Inherited from CustomInputSourceController)
Public methodGetButtonFloatValue
(Inherited from CustomInputSourceController)
Public methodGetButtonValue
(Inherited from CustomInputSourceController)
Public methodGetComponentT
(Inherited from CustomInputSourceController)
Public methodGetComponentsT
(Inherited from CustomInputSourceController)
Public methodGetElementTElement
(Inherited from CustomInputSourceController)
Public methodGetElementById(Int32)
(Inherited from CustomInputSourceController)
Public methodGetElementCountTElement
(Inherited from CustomInputSourceController)
Public methodGetElementsTElement
(Inherited from CustomInputSourceController)
Public methodSetAxisValue
(Inherited from CustomInputSourceController)
Public methodSetButtonFloatValue
(Inherited from CustomInputSourceController)
Public methodSetButtonValue
(Inherited from CustomInputSourceController)
Public methodUpdate Update function. Called when input should be updated.
(Inherited from CustomInputSourceController)
Top
Events
 NameDescription
Public eventConnectedStateChangedEvent Event triggered when the connected state of the controller changes.
(Inherited from CustomInputSourceController)
Top
Fields
See Also