DeviceManager Members

PPJoy

The DeviceManager type exposes the following members.

Constructors

  NameDescription
DeviceManager
Creates an instance of the DeviceManager class which can manage PPJoy Devices.

Methods

  NameDescription
CreateDevice
Creates and registers a new joystick Device with PPJoy.
DeleteAllDevices
Deletes all registered PPJoy joystick Devices.
DeleteDevice
Deletes a Device from PPJoy.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetAllDevices
Enumerates all defined PPJoy Devices.
GetDevice
Retrieves a Device object that matches the specified query parameters.
GetDeviceByProductId
Gets a Device object representing the PPJoy device whose product ID matches the supplied Product ID.
GetDeviceMappings
Gets a MappingCollection representing the controls mappings associated with a defined PPJoy device.
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IsVirtualDevice
Checks whether a given integer containing a VendorID/ProductID combination (typically obtained from DirectInput) refers to a virtual Device or a physical Device.
MaxValidUnitNumber
Gets the maximum valid unit number for a given joystick type.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
RemoveDeviceMappings
Removes the mappings from a specific PPJoy device or the default mappings from its interface.
SetDeviceMappings
Sets the mappings for a specific PPJoy device.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
IdealMappings
Gets a custom MappingCollection that defines the broadest possible set of controls that can be assigned to a PPJoy Device. The controls are pre-set to expose the maximum capabilities that a virtual joystick Device can express.

See Also