-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.ts
More file actions
9 lines (5 loc) · 944 Bytes
/
Copy pathtest.ts
File metadata and controls
9 lines (5 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type Action = { "type": "keyPress", key: string, } | { "type": "keyCombination", keys: Array<string>, } | { "type": "mouseMoveDirection", direction: Direction, distance: number, } | { "type": "mouseClick", mouse_button: MouseButton, } | { "type": "mouseMoveStick", mouse_mode: MouseMoveMode, } | { "type": "scrollDirection", direction: Direction, distance: number, } | { "type": "scrollStick" } | { "type": "setMouseSensitivity", sensitivity: number, } | { "type": "increaseMouseSensitivity", amount: number, } | { "type": "decreaseMouseSensitivity", amount: number, } | { "type": "resetMouseSensitivity" };
export type Direction = "up" | "down" | "left" | "right" | "upLeft" | "upRight" | "downLeft" | "downRight";
export type MouseButton = "left" | "right" | "middle";
export type MouseMoveMode = "relative" | "absolute";