Can anyone help me ? I need connect PS/2 keyboard to PIC/ATMEL/xxx and this cpu must convert scan code(s) to single byte for each key(can be ascii). For example if I press cursor key then PIC convert original group of scan codes to one byte (key number). This can be 7 bit value (0-127).
After press key send PIC 7bit key code to 7 pins + set one pin of PIC to log.0 (hold key).
After release key send PIC 7bit key code to 7 pins + set next pin of PIC to log.0 (sign release key).
PIC must contain also input pin reset (in log.0 = reset/init keyboard) and must support multiple keys pressing (for example Q+P+SPACE).