@yume-chan/scrcpy
Version:
TypeScript implementation of Scrcpy.
33 lines • 822 B
TypeScript
import type { ScrcpyInjectTouchControlMessage2_0 } from "../options/index.js";
export declare enum AndroidMotionEventAction {
Down = 0,
Up = 1,
Move = 2,
Cancel = 3,
Outside = 4,
PointerDown = 5,
PointerUp = 6,
HoverMove = 7,
Scroll = 8,
HoverEnter = 9,
HoverExit = 10,
ButtonPress = 11,
ButtonRelease = 12
}
export declare enum AndroidMotionEventButton {
Primary = 1,
Secondary = 2,
Tertiary = 4,
Back = 8,
Forward = 16,
StylusPrimary = 32,
StylusSecondary = 64
}
export declare namespace ScrcpyPointerId {
const Mouse = -1n;
const Finger = -2n;
const VirtualMouse = -3n;
const VirtualFinger = -4n;
}
export type ScrcpyInjectTouchControlMessage = ScrcpyInjectTouchControlMessage2_0;
//# sourceMappingURL=inject-touch.d.ts.map