i would like to make a Bluetooth keyboard

i would like to make a Bluetooth keyboard but I have not found anything online about it and the stuff i did find was poorly shown and i could not make out how they did it i want it to work with phones and computers i was wondering if you guys could point me in the right direction.
Thankyou