---
agentTools:
  projectIndex: https://docs.rainway.com/llms.txt
---

# Web SDK - InputType

[Home](https://docs.rainway.com/reference/about) > [@rainway/web](web-sdk) > [InputType](./web-sdk-inputtype)

## InputType enum

<b>Signature:</b>

```typescript
export declare enum InputType 
```

## Enumeration Members

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