Exemplo n.º 1
0
 public bool Equals(DeviceObjectId other)
 {
     return other._rawType == _rawType;
 }
Exemplo n.º 2
0
 public bool Equals(DeviceObjectId other)
 {
     return(other._rawType == _rawType);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Gets the properties about a device object, such as a button or axis.
 /// </summary>
 /// <param name="objectId">The object type/instance identifier. This identifier is returned in the <see cref="DeviceObjectInstance.Type"/> member of the <see cref="DeviceObjectInstance"/> structure returned from a previous call to the <see cref="GetObjects()"/> method.</param>
 /// <returns>an ObjectProperties</returns>
 public ObjectProperties GetObjectPropertiesById(DeviceObjectId objectId)
 {
     return(new ObjectProperties(this, (int)objectId, PropertyHowType.Byid));
 }
Exemplo n.º 4
0
 /// <summary>
 /// Gets information about a device object, such as a button or axis.
 /// </summary>
 /// <param name="objectId">The object type/instance identifier. This identifier is returned in the <see cref="DeviceObjectInstance.ObjectId"/> member of the <see cref="DeviceObjectInstance"/> structure returned from a previous call to the <see cref="GetObjects()"/> method.</param>
 /// <returns>A <see cref="DeviceObjectInstance"/> information</returns>
 public DeviceObjectInstance GetObjectInfoById(DeviceObjectId objectId)
 {
     return(GetObjectInfo((int)objectId, PropertyHowType.Byid));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Gets the properties about a device object, such as a button or axis.
 /// </summary>
 /// <param name="objectId">The object type/instance identifier. This identifier is returned in the <see cref="DeviceObjectInstance.Type"/> member of the <see cref="DeviceObjectInstance"/> structure returned from a previous call to the <see cref="GetObjects()"/> method.</param>
 /// <returns>an ObjectProperties</returns>
 public ObjectProperties GetObjectPropertiesById(DeviceObjectId objectId)
 {
     return new ObjectProperties(this, (int)objectId, PropertyHowType.Byid);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Gets information about a device object, such as a button or axis.
 /// </summary>
 /// <param name="objectId">The object type/instance identifier. This identifier is returned in the <see cref="DeviceObjectInstance.ObjectId"/> member of the <see cref="DeviceObjectInstance"/> structure returned from a previous call to the <see cref="GetObjects()"/> method.</param>
 /// <returns>A <see cref="DeviceObjectInstance"/> information</returns>
 public DeviceObjectInstance GetObjectInfoById(DeviceObjectId objectId)
 {
     return GetObjectInfo((int)objectId, PropertyHowType.Byid);
 }