触摸板配置有问题,导致一些手势异常。
Tofloor
poster avatar
xxxos
deepin
2019-12-19 21:04
Author
/usr/share/dde-daemon/gesture.json
哪位老哥给我发下他的这个配置文件。我参考下。
我应该是安装xDroid最新版的软件之后,手势操作变得和以前不一样了。双指缩放方向相反了,双指上滑和下滑也不一样了。
Reply Favorite View the author
All Replies
avatar
normone
deepin
2019-12-19 22:18
#1
  1. [
  2.     {
  3.         "Name": "swipe",
  4.         "Direction": "up",
  5.         "Fingers": 3,
  6.         "Action": {
  7.             "Type": "built-in",
  8.             "Action": "ToggleMaximize"
  9.         }
  10.     },
  11.     {
  12.         "Name": "swipe",
  13.         "Direction": "down",
  14.         "Fingers": 3,
  15.         "Action": {
  16.             "Type": "built-in",
  17.             "Action": "ToggleMaximize"
  18.         }
  19.     },
  20.     {
  21.         "Name": "swipe",
  22.         "Direction": "left",
  23.         "Fingers": 3,
  24.         "Action": {
  25.             "Type": "built-in",
  26.             "Action": "SplitWindowLeft"
  27.         }
  28.     },
  29.     {
  30.         "Name": "swipe",
  31.         "Direction": "right",
  32.         "Fingers": 3,
  33.         "Action": {
  34.             "Type": "built-in",
  35.             "Action": "SplitWindowRight"
  36.         }
  37.     },
  38.     {
  39.         "Name": "pinch",
  40.         "Direction": "in",
  41.         "Fingers": 3,
  42.         "Action": {
  43.             "Type": "built-in",
  44.             "Action": "ShowWindow"
  45.         }
  46.     },
  47.     {
  48.         "Name": "pinch",
  49.         "Direction": "out",
  50.         "Fingers": 3,
  51.         "Action": {
  52.             "Type": "built-in",
  53.             "Action": "ShowWindow"
  54.         }
  55.     },
  56.     {
  57.         "Name": "tap",
  58.         "Direction": "none",
  59.         "Fingers": 3,
  60.         "Action": {
  61.             "Type": "built-in",
  62.             "Action": "MoveWindow"
  63.         }
  64.     },
  65.     {
  66.         "Name": "swipe",
  67.         "Direction": "up",
  68.         "Fingers": 4,
  69.         "Action": {
  70.             "Type": "built-in",
  71.             "Action": "ShowWorkspace"
  72.         }
  73.     },
  74.     {
  75.         "Name": "swipe",
  76.         "Direction": "down",
  77.         "Fingers": 4,
  78.         "Action": {
  79.             "Type": "built-in",
  80.             "Action": "ShowWorkspace"
  81.         }
  82.     },
  83.     {
  84.         "Name": "swipe",
  85.         "Direction": "left",
  86.         "Fingers": 4,
  87.         "Action": {
  88.             "Type": "built-in",
  89.             "Action": "ReverseSwitchWorkspace"
  90.         }
  91.     },
  92.     {
  93.         "Name": "swipe",
  94.         "Direction": "right",
  95.         "Fingers": 4,
  96.         "Action": {
  97.             "Type": "built-in",
  98.             "Action": "SwitchWorkspace"
  99.         }
  100.     },
  101.     {
  102.         "Name": "pinch",
  103.         "Direction": "in",
  104.         "Fingers": 4,
  105.         "Action": {
  106.             "Type": "commandline",
  107.             "Action": "dbus-send --type=method_call --dest=com.deepin.dde.Launcher /com/deepin/dde/Launcher com.deepin.dde.Launcher.Toggle"
  108.         }
  109.     },
  110.     {
  111.         "Name": "pinch",
  112.         "Direction": "out",
  113.         "Fingers": 4,
  114.         "Action": {
  115.             "Type": "commandline",
  116.             "Action": "/usr/lib/deepin-daemon/desktop-toggle"
  117.         }
  118.     },
  119.     {
  120.         "Name": "swipe",
  121.         "Direction": "up",
  122.         "Fingers": 5,
  123.         "Action": {
  124.             "Type": "built-in",
  125.             "Action": "ShowWorkspace"
  126.         }
  127.     },
  128.     {
  129.         "Name": "swipe",
  130.         "Direction": "down",
  131.         "Fingers": 5,
  132.         "Action": {
  133.             "Type": "built-in",
  134.             "Action": "ShowWorkspace"
  135.         }
  136.     },
  137.     {
  138.         "Name": "swipe",
  139.         "Direction": "left",
  140.         "Fingers": 5,
  141.         "Action": {
  142.             "Type": "built-in",
  143.             "Action": "ReverseSwitchWorkspace"
  144.         }
  145.     },
  146.     {
  147.         "Name": "swipe",
  148.         "Direction": "right",
  149.         "Fingers": 5,
  150.         "Action": {
  151.             "Type": "built-in",
  152.             "Action": "SwitchWorkspace"
  153.         }
  154.     },
  155.     {
  156.         "Name": "pinch",
  157.         "Direction": "in",
  158.         "Fingers": 5,
  159.         "Action": {
  160.             "Type": "commandline",
  161.             "Action": "dbus-send --type=method_call --dest=com.deepin.dde.Launcher /com/deepin/dde/Launcher com.deepin.dde.Launcher.Toggle"
  162.         }
  163.     },
  164.     {
  165.         "Name": "pinch",
  166.         "Direction": "out",
  167.         "Fingers": 5,
  168.         "Action": {
  169.             "Type": "commandline",
  170.             "Action": "/usr/lib/deepin-daemon/desktop-toggle"
  171.         }
  172.     }
  173. ]
Copy the Code


Reply View the author
avatar
残念
deepin
2019-12-20 02:24
#2
“自然滚动” 的问题吧
Reply View the author