device_xi2 is not defined if libwacom=false.
device_xi2
libwacom=false
This partially reverts 3b88af94 (cc @carlosg)
Please add different configurations to the CI to prevent these kinds of compilation errors for different build configurations.