校准触摸屏显示器

问题描述 投票:0回答:1

我的一个朋友给我买了一个 EloTouchSystems 2216 AccuTouch USB TouchMoitor,如果它是他们要更换的 POS 系统的一部分,我正在尝试在 Linux Mint 上校准它。我已经下载了 xinput_calibrater 应用程序并运行它。这是程序的输出:

Calibrating standard Xorg driver "EloTouchSystems,Inc Elo TouchSystems 2216 AccuTouch® USB Touchmonitor Interface"
current calibration values: min_x=0, max_x=65535 and min_y=0, max_y=65535
If these values are estimated wrong, either supply it manually with the --precalib option, or run the 'get_precalib.sh' script to automatically get it (through HAL).
--> Making the calibration permanent <--
copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf' (/usr/share/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
    Identifier  "calibration"
    MatchProduct    "EloTouchSystems,Inc Elo TouchSystems 2216 AccuTouch® USB Touchmonitor Interface"
    Option  "MinX"  "5504"
    Option  "MaxX"  "59519"
    Option  "MinY"  "57834"
    Option  "MaxY"  "6123"
    Option  "SwapXY"    "0" # unless it was already set to 1
    Option  "InvertX"   "0"  # unless it was already set
    Option  "InvertY"   "0"  # unless it was already set
EndSection

我按照指示将代码片段复制到 99-calibration.conf 文件中,然后重新启动计算机,但没有任何反应。

我尝试将“InvertX”和“InvertY”值更改为 1(一次仅更改一个)并每次后重新启动,但均未成功。我不知道该怎么办。有人可以提供任何建议吗?

附注显示器是富士通制造的,我使用的是最新版本的 Linux Mint。

附加信息:发布问题后,我意识到我没有提到触摸屏在做什么。当我触摸屏幕并在屏幕上上下移动手指时,光标会向相反方向移动。

linux-mint touchscreen
1个回答
0
投票

可以使用https://github.com/ivan-matveev/xorg_calibrator。它是 xinput_calibrator 的后继者,使用 x.org 选项“TransformationMatrix”。

© www.soinside.com 2019 - 2024. All rights reserved.