我在 HP Spectre x360 上运行 Kubuntu 15.10,它在显示器中内置了非 Wacom 有源数字化仪。我使用的是双按钮触控笔,但第二个按钮不起作用。xinput
按下按钮时,我无法显示任何状态更改;好像X根本看不到它。evtest
确实看到一个事件,但它报告按钮BTN_TOOL_RUBBER
而不是适当的BTN_STYLUS2
:
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x4f3 product 0x2073 version 0x110
Input device name: "ELAN Touchscreen Pen"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 256 (BTN_0)
Event code 320 (BTN_TOOL_PEN)
Event code 321 (BTN_TOOL_RUBBER)
Event code 330 (BTN_TOUCH)
Event code 331 (BTN_STYLUS)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 23080
Min …
Run Code Online (Sandbox Code Playgroud)