ParsedPointerInput
interface exported by @mwillbanks/tuil-pointer.
interface
Public interface exported by @mwillbanks/tuil-pointer.
export interface ParsedPointerInput {
readonly x: number;
readonly y: number;
readonly button: PointerButton;
readonly pressed: boolean;
readonly motion: boolean;
readonly wheelX: number;
readonly wheelY: number;
readonly modifiers: PointerModifiers;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
x | number | Yes | The x member uses the number contract. | — |
y | number | Yes | The y member uses the number contract. | — |
button | PointerButton | Yes | The button member uses the PointerButton contract. | PointerButton |
pressed | boolean | Yes | The pressed member uses the boolean contract. | — |
motion | boolean | Yes | The motion member uses the boolean contract. | — |
wheelX | number | Yes | The wheelX member uses the number contract. | — |
wheelY | number | Yes | The wheelY member uses the number contract. | — |
modifiers | PointerModifiers | Yes | The modifiers member uses the PointerModifiers contract. | PointerModifiers |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference