2025-04-11 15:28:27 +03:00
|
|
|
import type { DesktopSize } from './DesktopSize';
|
|
|
|
|
import type { DeviceEvent } from './DeviceEvent';
|
|
|
|
|
import type { InputTransaction } from './InputTransaction';
|
|
|
|
|
import type { SessionBuilder } from './SessionBuilder';
|
2025-04-21 16:29:21 +02:00
|
|
|
import type { ClipboardData } from './ClipboardData';
|
2025-04-11 15:28:27 +03:00
|
|
|
|
|
|
|
|
export interface RemoteDesktopModule {
|
2025-04-23 19:56:11 +02:00
|
|
|
DesktopSize: { new (width: number, height: number): DesktopSize };
|
|
|
|
|
InputTransaction: { new (): InputTransaction };
|
|
|
|
|
SessionBuilder: { new (): SessionBuilder };
|
|
|
|
|
ClipboardData: { new (): ClipboardData };
|
|
|
|
|
DeviceEvent: {
|
|
|
|
|
mouseButtonPressed(button: number): DeviceEvent;
|
|
|
|
|
mouseButtonReleased(button: number): DeviceEvent;
|
|
|
|
|
mouseMove(x: number, y: number): DeviceEvent;
|
|
|
|
|
wheelRotations(vertical: boolean, rotationUnits: number): DeviceEvent;
|
|
|
|
|
keyPressed(scancode: number): DeviceEvent;
|
|
|
|
|
keyReleased(scancode: number): DeviceEvent;
|
|
|
|
|
unicodePressed(unicode: string): DeviceEvent;
|
|
|
|
|
unicodeReleased(unicode: string): DeviceEvent;
|
|
|
|
|
};
|
2025-04-11 15:28:27 +03:00
|
|
|
}
|