Home > @rainway/web > InputType
InputType enum
Signature:
export declare enum InputType
Enumeration Members
Member | Value | Description |
---|---|---|
Gamepad | 0 | A request to bring the remote virtual gamepad with ID The "trigger" fields range from 0 (not pressed) to 255 (fully pressed). The "thumb" fields range from -32768 (left/up) to 32767 (right/down). |
Keyboard | 5 | A request to press or lift a remote keyboard key. |
MouseAbsolute | 1 | A request to move the remote mouse to an absolute pixel coordinate on the streamed monitor. |
MouseClick | 3 | A request to click a button on the remote mouse. |
MouseRelative | 2 | A request to move the remote mouse by (dx, dy) pixels on the streamed monitor. |
MouseScroll | 4 | A request to scroll the remote mouse. |
PasteText | 6 | A request to paste some literal text into the remote. |
PenAbsolute | 8 | A request to perform a pen movement at absolute coordinates on the remote screen. |
SetClipboardText | 10 | A request to store some text in the remote clipboard. |
TouchesAbsolute | 7 | A request to make some touches at absolute coordinates on the remote screen. |
ViewportResize | 9 | A request to resize the streamed application, because the local stream viewport size has changed. Currently this request will be carried out in App Isolation, when one window is isolated. Otherwise it is ignored. |