• Home
  • About
    • 康青旭 - Germán Caggianese photo

      康青旭 - Germán Caggianese

      Refactoring entropy in my Mind

    • Learn More
    • Email
    • Instagram
    • Github
    • Codeberg   Codeberg
  • All Posts
  • Projects
  • Areas
  • Resources

在 GNU Guix 上使用 Wacom

07 Nov 2025

Reading time ~4 minutes

  • 使用 xinput list 檢查系統如何處理它。

本文翻譯自英文原文。

-   以我的情況為例:

        ~
        ❯ xinput list
        ⎡ Virtual core pointer                      id=2    [master pointer  (3)]
        ⎜   ↳ Wacom Intuos S Pen Pen (0xb819f76)        id=27   [slave  pointer  (2)]
        ⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
            ↳ Wacom Intuos S Pen                        id=26   [slave  keyboard (3)]
  • 依照 ID 列出它的屬性。

    ~
    ❯ xinput list-props 26
    Device 'Wacom Intuos S Pen':
      Device Enabled (187):   1
      Coordinate Transformation Matrix (189): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
      libinput Calibration Matrix (1206): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
      libinput Calibration Matrix Default (1207): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
      libinput Send Events Modes Available (304): 1, 0
      libinput Send Events Mode Enabled (305):    0, 0
      libinput Send Events Mode Enabled Default (306):    0, 0
      Device Node (307):  "/dev/input/event25"
      Device Product ID (308):    1386, 884
    
  • 把它映射到想要的 X11 顯示器。我的情況中,平板的 input ID 是 27,X11 顯示器是 HDMI-1。

    xinput map-to-output 27 HDMI-1
    

除非另有說明,否則本網站的內容均根據 知識共享姓名標示 4.0 國際 授權協議獲得許可。

© 2026 Germán Caggianese(康青旭)