File: 99-evdev-touchscreen.conf

package info (click to toggle)
psychtoolbox-3 3.0.15.20190207.dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 101,848 kB
  • sloc: ansic: 174,133; cpp: 11,232; objc: 4,832; sh: 1,874; python: 1,047; php: 384; makefile: 189; java: 113
file content (31 lines) | stat: -rw-r--r-- 1,227 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Override config file to use evdev driver for touchscreen's
# on systems where the libinput driver is configured as driver
# for touchscreen's by default, but doesn't provide the level
# of detailed information one wants to have (e.g., info about
# touch pressure, major/minor-touch/width, tool type etc.).
#
# Selecting the evdev driver provides more detailed information
# about touch points on touchscreen's, at least on Ubuntu 17.10.
#
# You will need to install xserver-xorg-input-evdev for this to work.
#
# If you want to (ab-)use touchpads (e.g., laptop mouse pads or
# the Apple Magic Touch pad) as "touchscreen" like input devices,
# additionally uncomment the commented out section below. This
# will make touchpads usable as quasi mini-touchscreens (minus the
# actual display screen), but will disable their use as actual
# touchpads.

Section "InputClass"
        Identifier "evdev touchscreen override catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

#Section "InputClass"
#        Identifier "evdev touchpad override catchall"
#        MatchIsTouchpad "on"
#        MatchDevicePath "/dev/input/event*"
#        Driver "evdev"
#EndSection