How to Check if User input is from Barcode Scanner or Keyboard?
I am now creating p.o.s application for company cafeteria which the cashier scan employee id and show its information for their transaction. My Problem is the cashier can also use their keyboard for their input(Employeeid) which is very risky. if employee(true) show employee information then add orders else Exception Currently i just hide textbox to the UI.. click New Button then cusror focus on it. then cashier scans employeeid. <---------------in this part(The cashier can also type via keyboard) and continue transaction. What is the best way to handle this scenario? The rule is only barcode