basic bluetooth device help

What components do I need to make a bluetooth device that will send a “SPACE BAR” key command to my mac when a button is pushed. I would like it to be able to automatically re-pair to the mac.

Thanks for any leads.

Be glad to hire someone to help.