USB KEYBOARD AS SCANNER IN ARDUINO

excuse me, i wanna ask you guys about my problem

here is my problem:

i want to change usb barcode reader with usb keyboard and i want to connect directly to arduino and if type a text like "abcde" the led while turn on.

and did the keyboard function is same as barcode scanner??

No responses yet so it looks like others might be having the same problem I have understanding your problem.

You can't hook a USB Barcode Scanner or a USB Keyboard to an Arduino UNO without a USB Host Shield or equivalent.

but i'm not use scanner or keyboard who have usb port, but i use PS2 port.

did the PS2 port and usb port have same function or library if i want to call in arduino as an input ??

trhawky:
but i'm not use scanner or keyboard who have usb port, but i use PS2 port.

Then why did you say "i want to change usb barcode reader with usb keyboard"?!?!?

trhawky:
did the PS2 port and usb port have same function or library if i want to call in arduino as an input ??

No. USB and PS/2 are completely different.

Start over. Use lots of little sentences. Say each thing two or three different ways. Maybe one of the translations will make sense in English.