Light Gun Programming
I'm facing up a little bit of a challenge here.
Has anybody ever programmed to make a light gun work.
I don't have any idea where to start and I can't find some C/C++ code for the USB port or code for Light guns.
Any help would be tremendously appreciated.
What OS? ...'n what is a Light gun? I suppose you mean you need to write your own device drivers, in which case maybe this link will help.
The light gun on a PC (if there is one) would be controlled exactly as the light pen is. The light pen is all but extinct now but there are documents out there on how to program for one. Check on a search engine - I found some info one time but don't remember where it was.
He means like the Nintendo Zapper (That red and grey gun).
actually i just recently learned how the zapper works, at least in duck hunt for the regular nintendo. If you have ever played it, the screen flashes whenever you hit the button. When this occurs, the screen turns white and the ducks black. Then all the gun has to do, is determine if it is pointed at a black or white spot.
hope that helps,