I don't think BlueZ is involved here. It's the libinput Xorg driver that's claiming anything with buttons as a keyboard. Although this may need to be patched as a udev rule in udev, systemd, or somewhere else. So shipping the rule in 'bluez' may still make sense.
** Also affects: xserver-xorg-input-libinput (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-input-libinput in Ubuntu. https://bugs.launchpad.net/bugs/2079940 Title: Bluetooth Speaker is Identified as Keyboard To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/2079940/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp