I have one as well, I had exactly the same problems. This tip might help you out, I haven't had the chance to try it out.
Being that the light gun is an absolute pointing device, it is treated more like a Wacom tablet. During kernel compile time, you have to give the screen resolution you will use for your tablets (It may also be a module load-time option as well, which would make more sense). This must match the resolution you run at for the light gun. I too had problems with the gun shooting "slightly off" and this could certainly be part of the cause. Good Luck, Brian >I have one and I have mentioned before on this list that I've had some >interesting success in some areas and not so interesting results in >others. > >The OS is happy to accept the gun as a USB mouse. X will let me use >it. But there seems to be some positioning things that need to be >fixed. The mouse doesn't appear where I aim (windows does, using only >the standard HID drivers) But I suspect that's because there's >somekind of math going on. The device claims to be an absolute >pointing device, with a max x/y that probably needs to be mapped >somehow - I tried the options on the usbmouse driver to set the >resolution but it's always just off the the side/above/below etc. > >Now for the xmame problems.... > >I have 3 mice on my PC - PS/2, serial (spinners on my controller box) >and the gun. The serial mouse and gun are set up as xinput devices >with "sendcoreevents". Works fine on the regular desktop with the >exception of the gun noted above. > >I can tell xmame to use mouse button 1 as P1 button 1, however, not >the light gun. >The left/right mouse button action seems to be lost only in xmame as >far as input is concerned. When I pull up the menu to assign a mouse >button to the P1 B1 the input is still ignored only from the light >gun, both mice still send events. This strikes me as extremely odd, >since the gun is sending core events. > >I think mame is doing something weird - there is code in the windows >version that might be interfering somehow - I don't know - I haven't >had time to get into the source. > >Let me clarify this: >when I click the left button on my ps/2 mouse, it fires a shot >when I click on the left button on the serial mouse, it fires a shot >when I pull the trigger on the light gun, the screen still flashes, >but it does not fire a shot. At all other times, the trigger will >function as a left mouse button (ie. on the desktop) The trigger event >seems to be dropped. > >That's where I left off last time I made the effort to play with it. > >Ste > > >_______________________________________________ >Xmame mailing list >[EMAIL PROTECTED] >http://toybox.twisted.org.uk/mailman/listinfo/xmame > -- Brian Hayward _______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame
