arduino leonardo keyboard

I am making a custom keyboard just for my knowledge but I got an obstacle and
i have a question- is it possible to make a custom keyboard with already made library which could make this job much easier for me? As I was trying to make it customly the keys just don't work as the normal keyboard should. I hope you guys got my idea.

Thank you in advance.

I hope you guys got my idea.

I didn't.

Brunofers777:
is it possible to make a custom keyboard with already made library which could make this job much easier for me?

There is the Keypad library which will handle the keyboard matrix scanning:
http://playground.arduino.cc/Code/Keypad
For the Leonardo there is the Keyboard library which will allow you to send USB keycodes through the USB cable:
http://arduino.cc/en/Reference/MouseKeyboard