TeaSpeak-Client/native/ppt/exports/exports.d.ts
2019-10-26 01:51:40 +02:00

22 lines
457 B
TypeScript

declare module "teaclient_ppt" {
enum KeyEventType {
PRESS = 0,
RELEASE = 1,
TYPE = 2
}
export interface KeyEvent {
type: KeyEventType;
key_code: string;
key_shift: boolean;
key_alt: boolean;
key_windows: boolean;
key_ctrl: boolean;
}
export function RegisterCallback(_: (_: KeyEvent) => any);
export function UnregisterCallback(_: (_: KeyEvent) => any);
}