How do I connect a bluetooth keyboard with Home Assistant OS?

I have a bluetooth camera shutter for smartphones which basically registers as keyboard and I wanted to connect it to Home Assistant and use the keyboard remote component.

I do have a bluetooth USB dongle connected to HA which I use for my BLE hygrometers.
So I tried to pair the shutter with bluetoothctl but after it has been paired it always loses the connection immediately, I tried to do the same with another bluetooth mouse and the behavior is the same. Pairing works but after that it disconnects and I can’t connect.

Is there any specific way to pair a bluetooth device/keyboard with Home Assistant OS?

What do you want to do with the keyboard?
To run scripts from each button or what is the purpose?

I want to connect a bluetooth camera shutter and use the keyboard remote component to listen for the input.