diff --git a/device.mk b/device.mk
index 3d6dec3..f451511 100644
--- a/device.mk
+++ b/device.mk
@@ -77,5 +77,9 @@ PRODUCT_COPY_FILES += \
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)
+# StylusKeyHandler
+PRODUCT_PACKAGES += \
+ StylusKeyHandler
+
# Inherit from vendor blobs
$(call inherit-product, vendor/motorola/milanf/milanf-vendor.mk)
diff --git a/resource-overlay/device/LineagePlatform/res/values/config.xml b/resource-overlay/device/LineagePlatform/res/values/config.xml
index ddc844b..7c6a5b0 100644
--- a/resource-overlay/device/LineagePlatform/res/values/config.xml
+++ b/resource-overlay/device/LineagePlatform/res/values/config.xml
@@ -50,4 +50,16 @@
For example, a device with notification and battery lights that supports
pulsating and RGB control would set this config to 75. -->
232
+
+
+
+ - /system_ext/app/StylusKeyHandler/StylusKeyHandler.apk
+ - /system_ext/priv-app/LineageParts/LineageParts.apk
+
+
+
+
+ - org.lineageos.settings.stylus.KeyHandler
+ - org.lineageos.lineageparts.gestures.KeyHandler
+