TeaSpeak-Client/native/ppt/exports/exports.d.ts

22 lines
457 B
TypeScript
Raw Normal View History

2019-07-03 09:18:49 -04:00
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);
}