When you ask a question, please consider the person on the other end who'll be trying to answer it. In particular, it's important to know whether the person on the other end knows what system you are asking about. I, for one, have no clue what you are looking at in asking your question, so I have no context from which to answer it.
Your question is similar to me asking you "is the wire suitable?" See? You have no idea. True, you could know the answer, but unless I, first, tell you how the wire is being used and, therefore, give you a context from which to answer, you have no idea.
True, I could've just ignored your question leaving you to wonder why no one was answering it, but I figured I'd say something such that you, at least, could get an answer.
Added after 19 minutes:
It would seem to me that you are asking the question
"Can a keyboard's output be differentiated from a barcode scanner's output?"
In other words, if the two outputs were compared, does one differ from the other in a way that is detectable?
My first question is what keyboard? Does the keyboard have a parallel or a serial output? I'd guess it's serial or the answer would be obvious. Next, I'd ask, when you press a key, what comes out? How many bits make up a character? What size is the barcode? Is the barcode scanned at a fixed rate, or will the rate vary? If the rate varies, then how do you know when one number begins and ends? The keyboard's output will be clocked at a fixed bit rate that should never vary. Hence, that fact may get you somewhere in differentiating a keyboard's output from a barcode scanner's.
This is all assuming I actually understood your question in the first place. ;-)