mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 19:17:58 +00:00
desktop mouse better control
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -21,7 +21,7 @@ const String kTabLabelSettingPage = "Settings";
|
||||
|
||||
const String kWindowPrefix = "wm_";
|
||||
|
||||
// the executable name of the portable version
|
||||
// the executable name of the portable version
|
||||
const String kEnvPortableExecutable = "RUSTDESK_APPNAME";
|
||||
|
||||
const Color kColorWarn = Color.fromARGB(255, 245, 133, 59);
|
||||
@@ -60,6 +60,12 @@ const kInvalidValueStr = "InvalidValueStr";
|
||||
|
||||
const kMobilePageConstraints = BoxConstraints(maxWidth: 600);
|
||||
|
||||
/// [kMouseControlDistance] indicates the distance that self-side move to get control of mouse.
|
||||
const kMouseControlDistance = 12;
|
||||
|
||||
/// [kMouseControlTimeoutMSec] indicates the timeout (in milliseconds) that self-side can get control of mouse.
|
||||
const kMouseControlTimeoutMSec = 1000;
|
||||
|
||||
/// flutter/packages/flutter/lib/src/services/keyboard_key.dart -> _keyLabels
|
||||
/// see [LogicalKeyboardKey.keyLabel]
|
||||
const Map<int, String> logicalKeyMap = <int, String>{
|
||||
|
||||
Reference in New Issue
Block a user