--- /dev/null
+config BR2_PACKAGE_KODI_PERIPHERAL_JOYSTICK
+ bool "kodi-peripheral-joystick"
+ depends on BR2_PACKAGE_HAS_UDEV
+ select BR2_PACKAGE_KODI_PLATFORM
+ help
+ Kodi joystick support (drivers and button maps)
+
+ https://github.com/xbmc/peripheral.joystick
+
+comment "kodi-peripheral-joystick needs udev /dev management"
+ depends on !BR2_PACKAGE_HAS_UDEV
--- /dev/null
+################################################################################
+#
+# kodi-peripheral-joystick
+#
+################################################################################
+
+# This cset is on the branch 'Krypton'
+# When Kodi is updated, then this should be updated to the corresponding branch
+KODI_PERIPHERAL_JOYSTICK_VERSION = v1.3.2
+KODI_PERIPHERAL_JOYSTICK_SITE = $(call github,xbmc,peripheral.joystick,$(KODI_PERIPHERAL_JOYSTICK_VERSION))
+KODI_PERIPHERAL_JOYSTICK_LICENSE = GPL-2.0+
+KODI_PERIPHERAL_JOYSTICK_LICENSE_FILES = src/addon.cpp
+KODI_PERIPHERAL_JOYSTICK_DEPENDENCIES = kodi-platform udev
+
+$(eval $(cmake-package))
source "package/kodi-audioencoder-wav/Config.in"
endmenu
+menu "Peripheral addons"
+ source "package/kodi-peripheral-joystick/Config.in"
+endmenu
+
menu "PVR addons"
source "package/kodi-pvr-argustv/Config.in"
source "package/kodi-pvr-dvblink/Config.in"