Hi Carlos,
The bluetooth examples make use of the keyboard library. You can find these examples in ...\KW40Z_Connectivity_Software_1.0.1\ConnSw\examples\bluetooth\.
For more information about the keyboard library, you can read the connectivity framework reference manual (CONNFWKRM.pdf) found in ...\KW40Z_Connectivity_Software_1.0.1\ConnSw\doc\.
Regards,
Gerardo