mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 12:59:03 +02:00
xserver-xf86-config: Add initial xorg config for the RaspberryPi.
This commit is contained in:
parent
bfa2cb6d57
commit
948b50c0e8
|
@ -0,0 +1,6 @@
|
|||
# Initial xorg.conf for the RaspberryPi
|
||||
# Most things are setup automatically by magic pixies in the system.
|
||||
#
|
||||
# It is suggested this file is not used any more and configuration
|
||||
# snippets are placed in xorg.conf.d instead.
|
||||
#
|
|
@ -0,0 +1,40 @@
|
|||
#
|
||||
# Catch-all evdev loader for udev-based systems
|
||||
# We don't simply match on any device since that also adds accelerometers
|
||||
# and other devices that we don't really want to use. The list below
|
||||
# matches everything but joysticks.
|
||||
|
||||
Section "InputClass"
|
||||
Identifier "evdev pointer catchall"
|
||||
MatchIsPointer "on"
|
||||
MatchDevicePath "/dev/input/event*"
|
||||
Driver "evdev"
|
||||
EndSection
|
||||
|
||||
Section "InputClass"
|
||||
Identifier "evdev keyboard catchall"
|
||||
MatchIsKeyboard "on"
|
||||
MatchDevicePath "/dev/input/event*"
|
||||
Driver "evdev"
|
||||
EndSection
|
||||
|
||||
Section "InputClass"
|
||||
Identifier "evdev touchpad catchall"
|
||||
MatchIsTouchpad "on"
|
||||
MatchDevicePath "/dev/input/event*"
|
||||
Driver "evdev"
|
||||
EndSection
|
||||
|
||||
Section "InputClass"
|
||||
Identifier "evdev tablet catchall"
|
||||
MatchIsTablet "on"
|
||||
MatchDevicePath "/dev/input/event*"
|
||||
Driver "evdev"
|
||||
EndSection
|
||||
|
||||
Section "InputClass"
|
||||
Identifier "evdev touchscreen catchall"
|
||||
MatchIsTouchscreen "on"
|
||||
MatchDevicePath "/dev/input/event*"
|
||||
Driver "evdev"
|
||||
EndSection
|
|
@ -0,0 +1,17 @@
|
|||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
# Don't forget to bump PRINC if you update the extra files.
|
||||
PRINC = "3"
|
||||
|
||||
THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
||||
FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
|
||||
|
||||
SRC_URI_append = " file://xorg.conf.d/*"
|
||||
|
||||
CONFFILES_${PN} += "${sysconfdir}/X11/xorg.conf.d/*"
|
||||
|
||||
do_install_append () {
|
||||
install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
|
||||
install -m 0644 ${WORKDIR}/xorg.conf.d/* ${D}/${sysconfdir}/X11/xorg.conf.d/
|
||||
}
|
||||
|
||||
FILES_${PN} += "${sysconfdir}/X11/xorg.conf.d"
|
Loading…
Reference in New Issue
Block a user