Hi
I am thinking about building some RFID-Based stuff.
The RFID Reader puts out 10-digit numbers via a normal USB-Keyboard driver.
Meaning, that when I have TextEdit open and put a Sensor to the reader, the reader writes (how ironic
) these 10 numbers in the TextEdit window.
This is great, since it would be very easily to readout if the window would be in the foreground and a textfield with the focus all the time.
The last statement however isnât true for most of the time of course.
So, what i was wondering is if it is possible to âlisten to the keyboardâ and wait till a 10-digit number is typed, check it against a table and if a match is found would execute the appropriate command.
Any ideas?
You will have to use C for this. Check out this post.
Does the reader comply with HID guidelines for USB devices? If so, an application like ControllerMate might help-out.
If the reader uses itâs own driver (rather than âtypingâ via a existing keyboard driver) then in theory it could âtypeâ to TeachText without interrupting anything you are doing (i.e. allow âreadingâ while youâre busy doing other things).
You could always download the demo and find out. 
well that sounds neat.
I did know that app, althoug i associated it with the mousedriver.
i totally forgot that it also takes keyboard input.
I try to figure out if the reader is 100% HID compatible, because if so, that app would just be what i need 
thanks a lot for pointing it out
I bumped into ControllerMate looking for an alternative to iKeys for my Xkeys keypads (since iKeys support is truly aweful). After discovering this overlooked gem and discovering it can embed or fire-off external AppleScripts, itâs been my favorite âgeek toyâ lately.
Itâs a handy program to have if you like to create keyboard shortcuts for things, and even remap keys. Also handy for using not-quite-Mac devices. 