“模板:RPILCD-RIGHT-CLICK”的版本间的差异
来自丢石头百科
(创建页面,内容为“== '''增加长按右键功能''' == 注:新版本驱动默认已添加"长按右键功能"。 *编辑99-calibration.conf文件 <source lang="c"> sudo nano /etc/…”) |
小 (文本替换 - 替换“<source”为“<syntaxhighlight”) |
||
(未显示同一用户的1个中间版本) | |||
第4行: | 第4行: | ||
*编辑99-calibration.conf文件 | *编辑99-calibration.conf文件 | ||
− | < | + | <syntaxhighlight lang="c"> |
sudo nano /etc/X11/xorg.conf.d/99-calibration.conf | sudo nano /etc/X11/xorg.conf.d/99-calibration.conf | ||
− | </ | + | </syntaxhighlight> |
*在文件中添加以下代码: | *在文件中添加以下代码: | ||
− | < | + | <syntaxhighlight lang="c"> |
Option "EmulateThirdButton" "1" | Option "EmulateThirdButton" "1" | ||
Option "EmulateThirdButtonTimeout" "750" | Option "EmulateThirdButtonTimeout" "750" | ||
Option "EmulateThirdButtonMoveThreshold" "100" | Option "EmulateThirdButtonMoveThreshold" "100" | ||
− | </ | + | </syntaxhighlight> |
[[File:RPILCD-RIGHT-CLICK.png]] | [[File:RPILCD-RIGHT-CLICK.png]] | ||
*保存并退出,重启系统即可 | *保存并退出,重启系统即可 | ||
− | < | + | <syntaxhighlight lang="c"> |
reboot | reboot | ||
− | </ | + | </syntaxhighlight> |