libinput: don't use weston_config when configuring input devices
authorGiulio Camuffo <giuliocamuffo@gmail.com>
Thu, 2 Jun 2016 18:48:12 +0000 (21:48 +0300)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 3 Jun 2016 10:17:18 +0000 (13:17 +0300)
commit8aedf7b11e32301cb25673cace238e840e06a63a
treee9bfbde26f7079e3e5c476858c484a1622eb52f5
parentd52f3b775bf267b9c5313ab3ef65414a813ca51c
libinput: don't use weston_config when configuring input devices

Instead add callbacks to the drm and fbdev backends and pass that to
the input backens so that when a new device needs to be configured
that is called and the compositor can configure it.

Signed-off-by: Giulio Camuffo <giuliocamuffo@gmail.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Makefile.am
src/compositor-drm.c
src/compositor-drm.h
src/compositor-fbdev.c
src/compositor-fbdev.h
src/libinput-device.c
src/libinput-device.h
src/libinput-seat.c
src/libinput-seat.h
src/main.c