I have two sets of barcodes which are being read by a scanner (HID device).
- If the barcode scanned is of type A it should be sent to the app on focus
- If the barcode scanned is of type B then the barcode should be written to a file and destroyed. It should NOT be sent to the app on focus.
I would like to just "listen" to the HID device but the unhooking is giving me some issues. Is the above even possible?