Wavelink emulation scanning issue

I have a MC90XX unit using Wavelink Avalanche VT100 emulation. My application receives data from keypad and scanning. We activate and deactivate the scanner using escape sequence and it is working great.

Data from scanner is received like the input from the keypad. However we now need to differentiate the data from the keypad and the data from the scanner.

I cannot simply disable keypad when suppose to read data from the scanner because the user may change opinion and now he want to access any other feature of the device and need some keypad feedback.

Is there any way for a VT100 emulation application to receive data from the scanner different than the data from the barcode scanner?

 

I am not sure if this is the correct forum for this or not.

 

Thanks.