Windows アプリ
目次を折りたたむ
目次を展開する
EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

hwTimestamp property

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

This property is read-only.

Syntax

JavaScript
ptr = object.hwTimestamp

 

Property values

Type: Integer

Time in milliseconds.

Remarks

This value should be used only to calculate the elapsed time between pointer events for tasks such as determining velocity of a pointer. The hwTimeStamp property is not related to the system time, so only the difference between subsequent values is the important data.

For general time keeping you should use the timeStamp property.

See also

PointerEvent
timeStamp

 

 

表示:
© 2016 Microsoft