feat: web v2 keyboard (#9175)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2024-08-26 12:13:11 +08:00
committed by GitHub
parent 5abe42f66c
commit 4b4fd94f3e
6 changed files with 29 additions and 2 deletions

View File

@@ -234,7 +234,7 @@ class RustdeskImpl {
}
String getLocalKbLayoutType({dynamic hint}) {
throw js.context.callMethod('getByName', ['option:local', 'kb_layout']);
return js.context.callMethod('getByName', ['option:local', 'kb_layout']);
}
Future<void> setLocalKbLayoutType(
@@ -415,6 +415,17 @@ class RustdeskImpl {
]));
}
Future<void> sessionHandleFlutterRawKeyEvent(
{required UuidValue sessionId,
required String name,
required int platformCode,
required int positionCode,
required int lockModes,
required bool downOrUp,
dynamic hint}) {
throw UnimplementedError();
}
void sessionEnterOrLeave(
{required UuidValue sessionId, required bool enter, dynamic hint}) {
throw UnimplementedError();