模板:RPILCD-RIGHT-CLICK

来自丢石头百科
Admin讨论 | 贡献2019年11月14日 (四) 16:20的版本 (文本替换 - 替换“</source>”为“</syntaxhighlight>”)

增加长按右键功能

注:新版本驱动默认已添加"长按右键功能"。

  • 编辑99-calibration.conf文件

<source lang="c"> sudo nano /etc/X11/xorg.conf.d/99-calibration.conf </syntaxhighlight>

  • 在文件中添加以下代码:

<source lang="c"> Option "EmulateThirdButton" "1" Option "EmulateThirdButtonTimeout" "750" Option "EmulateThirdButtonMoveThreshold" "100" </syntaxhighlight>

RPILCD-RIGHT-CLICK.png

  • 保存并退出,重启系统即可

<source lang="c"> reboot </syntaxhighlight>