From: Ivan Belokobylskiy Date: Sat, 7 Mar 2026 13:51:05 +0000 (+0400) Subject: python-evdev: add mandatory uinput.h header to builder X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b016aa38c39c5c2381ac9976b4ac1c1c923bd0b9;p=openwrt-packages.git 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 --- diff --git a/lang/python/python-evdev/Makefile b/lang/python/python-evdev/Makefile index 791765aa4..ab9097680 100644 --- a/lang/python/python-evdev/Makefile +++ b/lang/python/python-evdev/Makefile @@ -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 \