bluez: support input.conf to handle PS3 controllers

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
This commit is contained in:
Christian Hewitt 2024-01-14 10:25:34 +00:00
parent 83eecdac28
commit 3613dde737
No known key found for this signature in database

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