mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 18:36:11 +02:00
Revert "To support the touch pad of the magnetic keyboard on Android tablets."
This commit is contained in:
parent
6643b8c830
commit
a7689f540c
1 changed files with 3 additions and 3 deletions
|
@ -311,7 +311,7 @@ class InputModel {
|
|||
|
||||
void onPointHoverImage(PointerHoverEvent e) {
|
||||
_stopFling = true;
|
||||
if (e.kind != ui.PointerDeviceKind.mouse && e.kind != ui.PointerDeviceKind.touch) return;
|
||||
if (e.kind != ui.PointerDeviceKind.mouse) return;
|
||||
if (!isPhysicalMouse.value) {
|
||||
isPhysicalMouse.value = true;
|
||||
}
|
||||
|
@ -439,7 +439,7 @@ class InputModel {
|
|||
void onPointDownImage(PointerDownEvent e) {
|
||||
debugPrint("onPointDownImage");
|
||||
_stopFling = true;
|
||||
if (e.kind != ui.PointerDeviceKind.mouse && e.kind != ui.PointerDeviceKind.touch) {
|
||||
if (e.kind != ui.PointerDeviceKind.mouse) {
|
||||
if (isPhysicalMouse.value) {
|
||||
isPhysicalMouse.value = false;
|
||||
}
|
||||
|
@ -450,7 +450,7 @@ class InputModel {
|
|||
}
|
||||
|
||||
void onPointUpImage(PointerUpEvent e) {
|
||||
if (e.kind != ui.PointerDeviceKind.mouse && e.kind != ui.PointerDeviceKind.touch) return;
|
||||
if (e.kind != ui.PointerDeviceKind.mouse) return;
|
||||
if (isPhysicalMouse.value) {
|
||||
handleMouse(getEvent(e, _kMouseEventUp));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue