Add native MKB support for Android app

This commit is contained in:
redphx
2024-06-08 17:04:49 +07:00
parent a41d0cda0c
commit eb8490a798
30 changed files with 1054 additions and 347 deletions

14
src/types/index.d.ts vendored
View File

@@ -82,16 +82,12 @@ type MkbMouseMove = {
}
type MkbMouseClick = {
key: {
code: string;
name: string;
} | null;
pressed: boolean;
pointerButton?: number,
mouseButton?: number,
pressed: boolean,
}
type MkbMouseWheel = {
key: {
code: string;
name: string;
} | null;
vertical: number;
horizontal: number;
}