Share via


idommspointerevent interface

The idommspointerevent interface corresponds to MSPointerEvent.

Members

The idommspointerevent interface inherits from the IUnknown interface. idommspointerevent also has these types of members:

  • Methods
  • Properties

Methods

The idommspointerevent interface has these methods.

Method Description
initPointerEvent

Used to create an MSPointerEvent from JavaScript.

 

Properties

The idommspointerevent interface has these properties.

Property Access type Description

hwTimestamp

Read-only

Returns the time at which the pointer data was reported by the hardware, in microseconds.

pointerId

Read-only

The unique identifier of the contact for a touch, mouse or pen.

pointerType

Read-only

Returns whether the source of the event is touch, pen or mouse.

pressure

Read-only

Returns the normalized pressure of the pointer input in the range of [0,1], where 0 and 1 represent the minimum and maximum pressure the hardware is capable of detecting, respectively.

rotation

Read-only

Clockwise rotation of the cursor around its own major axis in the range of 0 to 359.

tiltX

Read-only

Returns the angle between the Y-Z plane and the plane containing the pen axis and the Y axis in the range of -90 to +90. A positive X tilt is to the right.

tiltY

Read-only

Returns the angle between the X-Z and transducer-X planes. A positive Y tilt is toward the user.