I want to specify in an input whether this is User Type or Barcode Scanner ?
<input type="text" class="form-control" id="scan">
$('#scan').scannerDetection(function() {
alert();
});
https://github.com/kabachello/jQuery-Scanner-Detection
I used this but I can't determine the user typing.