mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
xf86-input-evdev:
- add HAL support
This commit is contained in:
parent
3562e01d53
commit
352901fdc4
@ -1,39 +0,0 @@
|
|||||||
# Catchall classes for input devices
|
|
||||||
# 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
|
|
18
packages/x11/driver/xf86-input-evdev/config/10-x11-evdev.fdi
Normal file
18
packages/x11/driver/xf86-input-evdev/config/10-x11-evdev.fdi
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
<deviceinfo version="0.2">
|
||||||
|
<device>
|
||||||
|
<match key="info.capabilities" contains="input.mouse">
|
||||||
|
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
|
||||||
|
string="Linux">
|
||||||
|
<merge key="input.x11_driver" type="string">evdev</merge>
|
||||||
|
</match>
|
||||||
|
</match>
|
||||||
|
|
||||||
|
<match key="info.capabilities" contains="input.keys">
|
||||||
|
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
|
||||||
|
string="Linux">
|
||||||
|
<merge key="input.x11_driver" type="string">evdev</merge>
|
||||||
|
</match>
|
||||||
|
</match>
|
||||||
|
</device>
|
||||||
|
</deviceinfo>
|
@ -5,7 +5,8 @@
|
|||||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||||
|
|
||||||
mkdir -p $INSTALL/$XORG_PATH_MODULES/input
|
mkdir -p $INSTALL/$XORG_PATH_MODULES/input
|
||||||
cp -PR $PKG_BUILD/src/.libs/evdev_drv.so $INSTALL/$XORG_PATH_MODULES/input
|
cp $PKG_BUILD/src/.libs/evdev_drv.so $INSTALL/$XORG_PATH_MODULES/input
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc/X11/xorg.conf.d
|
mkdir -p $INSTALL/usr/share/hal/fdi/policy/20thirdparty
|
||||||
cp -PR $PKG_DIR/config/*.conf $INSTALL/etc/X11/xorg.conf.d
|
cp $PKG_DIR/config/10-x11-evdev.fdi \
|
||||||
|
$INSTALL/usr/share/hal/fdi/policy/20thirdparty
|
||||||
|
Loading…
x
Reference in New Issue
Block a user