Merge pull request #8518 from chewitt/bluez-patch

bluez: support input.conf to handle PS3 controllers
This commit is contained in:
Rudi Heitbaum 2024-01-14 21:50:49 +11:00 committed by GitHub
commit 52502c1080
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,8 @@ post_makeinstall_target() {
-e "s|^#\[Policy\]|\[Policy\]|g" \
-e "s|^#AutoEnable.*|AutoEnable=true|g" \
-e "s|^#JustWorksRepairing.*|JustWorksRepairing=always|g"
echo "[General]" > ${INSTALL}/etc/bluetooth/input.conf
echo "ClassicBondedOnly=false" >> ${INSTALL}/etc/bluetooth/input.conf
mkdir -p ${INSTALL}/usr/share/services
cp -P ${PKG_DIR}/default.d/*.conf ${INSTALL}/usr/share/services