Automatically map built-in touchscreens/tablets to built-in panels

Detect whether an output is built-in via its type. Detect whether
a touchscreen or tablet tool is built-in via its ID_PATH property.
This commit is contained in:
Simon Ser 2021-02-08 19:24:20 +01:00 committed by Tudor Brindus
parent 641b8719ad
commit eea9c6331f
5 changed files with 76 additions and 0 deletions

View file

@ -54,6 +54,7 @@ libinput = dependency('libinput', version: '>=1.6.0')
xcb = dependency('xcb', required: get_option('xwayland'))
drm_full = dependency('libdrm') # only needed for drm_fourcc.h
drm = drm_full.partial_dependency(compile_args: true, includes: true)
libudev = dependency('libudev')
bash_comp = dependency('bash-completion', required: false)
fish_comp = dependency('fish', required: false)
math = cc.find_library('m')