I am trying to write program that will recognize when a device such as a magnetic swipper is used. I was thinking that I could somehow bind the device to something in my program but I am not sure what I would use to bind it. I thought that the device might have a keycode or something like that that I could use, but i don't know how i would find it.
Could someone please explain to me how this type of thing works or how i could do something of this nature?
Thanks in advance for ANY help or suggestions.