XP-PEN Artist 22E Proを購入しました。
これでまともなFPGA開発環境が整いました。
XP-PEN Artist 22E Proは何もしなくてもUbuntu 18.04LTSで認識します。
しかし、libinputで認識しようとするのでevdevで認識するように修正します。
まずはxserver-xorg-input-evdevをインストールします。
$ sudo apt install xserver-xorg-input-evdev
次にlibinputの/usr/share/X11/xorg.conf.d/40-libinput.confのうち、tabletの設定をコメントアウトします。
これでX Windowを再起動するとスタイラスを認識します。
Section "InputClass"
Identifier "libinput tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
#Section "InputClass"
# Identifier "libinput tablet catchall"
# MatchIsTablet "on"
# MatchDevicePath "/dev/input/event*"
# Driver "libinput"
#EndSection