Main > Lightguns
A BYOAC Lightgun, are we up to it?
<< < (21/32) > >>
Silver:
@u_rebelscum

by raw I basically meant non-mouse (there also seems to be a rawinput structure on the win32 msdn microsft stuff, or rawhid for input from a USB HID device - think I got the term from there).

You clearly know more about the mame setup than me, it sounds more flexible than I had been told. I was thinking that there was a data-from-light-gun-->convert to mouse input-->send-to-mame-->mame converts to game-type input indriver. I though that if you had a driver that could just feed absolut co-ordinates mame could pass that directly to the emulated game.

This may be completely irrelevant  ;) As you say its already happy with joystick input, it probably is. If you have any experience with windows drivers in this area, I suggest dropping AndyWarne an email...
RayB:
Forgive me for not reading all posts in this thread and perhaps repeating something already said, but Happ sells the gun optic board alone: http://www.happcontrols.com/amusement/optical/960066100smd.htm

Seems to me that figuring out a driving or additional mods to that existing circuit might be another way to go...
brandon:
I put in a vote for sensors to triangulate the guns position just like what "Jurassic Park" and "House of the Dead 3" use.  That would mean any monitor, DLP projector, TV.. any display you want.  and two player support is obviously possible since the above games were two player.  Someone like Andy or RandyT could make an interface for the sensors and have it report joystick coordinates as an HID.  Maybe a joy2mouse type program or driver could convert the joystick coordinates to absolute mouse coordinates.  I just think that using a webcam for tracking sounds way too complicated.  I could be wrong...
u_rebelscum:

--- Quote from: Silver on March 10, 2005, 03:14:27 pm ---@u_rebelscum

by raw I basically meant non-mouse (there also seems to be a rawinput structure on the win32 msdn microsft stuff, or rawhid for input from a USB HID device - think I got the term from there).
--- End quote ---

Ah, RawInput. 

- It's an winXP only thing:  crashes on winME/98, doesn't work in win2k (but at least it doesn't crash).
- The device driver sets the sturcture.  Two of the three structure types are very standard "RawMouse" and "RawJoystick", which can use normal windows drivers that come with windows.
- The third is RawHID, which means the device must be a HID (Human Interface Device).  If this is used, mame must add special codes that does what a device driver normally does.

- A minor plus, it looks like with the new minGW compiler mame is now using, rawinput is now included in the headers & libraries;  Before the upgrade, it wasn't.


--- Quote ---...I was thinking that there was a data-from-light-gun-->convert to mouse input-->send-to-mame-->mame converts to game-type input in driver. I though that if you had a driver that could just feed absolut co-ordinates mame could pass that directly to the emulated game.
--- End quote ---

Umm, since joystick and mice can pass absolute coordinates, why invent a special driver and data structure that does the same?   ;)

Of course, if the "data-from-lightgun" is something that's not the coordinates, such as time from start of screen refresh like from a real arcade lightgun (over simplified), at some point it needs to be converted to a coordinates before mame gets it (well, unless mame starts simulating the circuits that did the convertion on the real arcades).


--- Quote ---This may be completely irrelevant  ;) As you say its already happy with joystick input, it probably is. If you have any experience with windows drivers in this area, I suggest dropping AndyWarne an email...
--- End quote ---

I know mame's input code okay; but write windows drivers I've never done.  I don't even have time to rewrite some features I need to to make MameAnalog+ fully functional again :( ATM, so learning device drivers is out for me for now.
shmokes:

--- Quote from: brandon on March 11, 2005, 02:52:39 pm ---I put in a vote for sensors to triangulate the guns position just like what "Jurassic Park" and "House of the Dead 3" use.  That would mean any monitor, DLP projector, TV.. any display you want.  and two player support is obviously possible since the above games were two player.  Someone like Andy or RandyT could make an interface for the sensors and have it report joystick coordinates as an HID.  Maybe a joy2mouse type program or driver could convert the joystick coordinates to absolute mouse coordinates.  I just think that using a webcam for tracking sounds way too complicated.  I could be wrong...

--- End quote ---

IIRC Andy posted somewhere, just in the last month or so, that he IS currently looking into a product to do just this.  I think he specifically wanted to make something to work with the NAMCO guns.  I sure hope he does cos I've got a pair of Act Labs guns new in box so I'll be certian to be able to afford whatever solution he comes up with after I Ebay my Act-labs guns.  If nobody comes up with anything else at least I can fall back on my Act-labs guns.
Navigation
Message Index
Next page
Previous page

Go to full version