小编kit*_*ris的帖子

Wayland 的 xinput 替代方案?

Wayland 上是否有 xinput 的替代方案?\n我意识到我的一个 gnome-shell-extension 无法正常工作,因为 xinput 提供了有关 wayland 下的设备的有限信息(当然,因为它是为在 xorg 上工作而编写的) 。

\n\n

xinput --list在 xorg 上:

\n\n
\xe2\x8e\xa1 Virtual core pointer                      id=2    [master pointer  (3)]\n\xe2\x8e\x9c   \xe2\x86\xb3 Virtual core XTEST pointer                id=4    [slave  pointer  (2)]\n\xe2\x8e\x9c   \xe2\x86\xb3 Logitech Performance MX                   id=10   [slave  pointer  (2)]\n\xe2\x8e\x9c   \xe2\x86\xb3 Logitech MX Master                        id=11   [slave  pointer  (2)]\n\xe2\x8e\x9c   \xe2\x86\xb3 HID 046a:0023                             id=15   [slave  pointer  (2)]\n\xe2\x8e\x9c   \xe2\x86\xb3 DLL07D1:01 044E:120B                      id=16   [slave  pointer  (2)]\n\xe2\x8e\x9c   \xe2\x86\xb3 DualPoint Stick                           id=17   [slave  pointer  (2)]\n\xe2\x8e\xa3 Virtual core keyboard                     id=3    [master keyboard …
Run Code Online (Sandbox Code Playgroud)

wayland xinput 17.10

8
推荐指数
0
解决办法
7273
查看次数

标签 统计

17.10 ×1

wayland ×1

xinput ×1