Reads keyboard input (from an RFID device) and emits an event containing the validated id code.
This is pimarily useful for kiosks running some sort of web application
Just register a listener for the event
document.addEventListener("RFIDCardScan",function (e) {
console.log('Card Scanned: ' + e.idcode);
},false);