python-evdev: add mandatory uinput.h header to builder

Starting from 1.9.2 python-evdev requires
include/uapi/linux/uinput.h headers for proper building.
Otherwise, it compiles but cannot be imported causing
KeyError: 'UI_FF'

Add uinput.h to LINUX_EVDEV_HEADERS

Signed-off-by: Ivan Belokobylskiy <belokobylskij@gmail.com>
This commit is contained in:
Ivan Belokobylskiy authored and Alexandru Ardelean committed 2026-03-12 15:56:00 +02:00
1 parent a01d2a9440
commit b016aa38c3
1 file changed
+1 -1
+1 -1
View File
@@ -37,7 +37,7 @@ define Package/python3-evdev/description
Bindings to the Linux input handling subsystem
endef
LINUX_EVDEV_HEADERS="$(LINUX_DIR)/include/uapi/linux/input.h:$(LINUX_DIR)/include/uapi/linux/input-event-codes.h"
LINUX_EVDEV_HEADERS="$(LINUX_DIR)/include/uapi/linux/input.h:$(LINUX_DIR)/include/uapi/linux/uinput.h:$(LINUX_DIR)/include/uapi/linux/input-event-codes.h"
PYTHON3_PKG_BUILD_CONFIG_SETTINGS:= \
--build-option=build \