0.8

This chapter discusses various input device support.

Input Support

EGT supports various different backends for gathering input device events.

Library Type
libinput Keyboard, Mouse, Touchscreen
tslib Touchscreen
raw evdev Keyboard, Mouse, Touchscreen, Other
X11 Keyboard, Mouse, Touchscreen

See Environment Variables for some environment variables that are useful for configuring input devices.

Keyboard Mapping

Todo:

libinput

libinput is the prime interface to receive keyboard and touchscreen or pointer events. libinput does not support gestures on these interfaces.

While EGT does include ways to configure how it uses libinput, this should be used as an end-all means of configuring input devices with libinput. libinput has a well documented and solid way of configuring input devices and even has tools for debugging configuration of input devices.

Also, take special note of udev configuration of devices that controls how they are introduced to libinput.