ps\2 keybord and mouse and arduino

how to interface ps/2 keyboard and mouse using arduino?
i'm a newbie just need in a little brief :slight_smile:

actually my project is LCD display of keyboard characters but i wanted to add a social cause into it so i wanted to use some libraries to make a small electronics PDA

sketch_jun15a:3: error: 'PS2Keyboard' does not name a type
sketch_jun15a.cpp: In function 'void setup()':
sketch_jun15a:6: error: 'keyboard' was not declared in this scope
sketch_jun15a.cpp: In function 'void loop()':
sketch_jun15a:14: error: 'keyboard' was not declared in this scope
sketch_jun15a:20: error: 'PS2_KC_ENTER' was not declared in this scope
sketch_jun15a:22: error: 'PS2_KC_ESC' was not declared in this scope

errors appear wat must i do when i copy the code from arduino link

Have you downloaded, and correctly installed, the required library?

sorry but i don't know how to install a library ,since i'm a newbie just few motths back i started arduino

could you help me out?
:slight_smile:

Basically libraries are code that someones already created allowing you to use functions for specific events. To obtain these libraries you most likeley have to google what are you looking for and find a good library and it would also help to read guides or other examples that have used the libraries to further understand what each piece of code means. Once you find this library download it and make sure either to extract all files or save into MyComputer>Wherever you have arduino saved>libraries

Actually MyComputer>Wherever you save your sketches>libraries.

thank you got it :slight_smile: