Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03519 DIP/Input Minor Always Nov 3, 2009, 19:12 Nov 6, 2009, 09:10
Tester GreatLamer View Status Public Platform MAME (Official Binary)
Assigned To Resolution No change required OS Windows XP (32-bit)
Status [?] Closed Driver
Version 0.135 Fixed in Version Build Normal
Fixed in Git Commit Github Pull Request #
Summary 03519: term2: Ems topgun lightgun cursor jumps to upper left corner
Description Affected: Games with lightgun control (term2, ptblank tested)

When the gun cursor moves to the screen edges and going offscreen, the cursor jumps to the upper left corner. If the gun pulled back to the screen the cursor jump to the right position. (Wanna be better if the cursor stay in the right part of edge like a mouse cursor)
Steps To Reproduce Test with light gun only. Mouse works O.K.
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems term2
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
6
User avatar
No.05123
Tafoid
Administrator
Nov 3, 2009, 21:11
It would be nice if a Dev who knows or has a lightgun handles this? Normal Testers have no way of verifying this behavior.
User avatar
No.05124
Haze
Senior Tester
Nov 3, 2009, 21:14
edited on: Nov 3, 2009, 21:15
Don't the lightguns act like mice? I'm assuming it must just report that it's moved to 0,0 co-ordinates or something when it's off-screen, in which case there isn't really much MAME can do?
User avatar
No.05125
Tafoid
Administrator
Nov 3, 2009, 21:38
Well, given the fact the -mouse works ok and -lightgun apparently does not - it's something input related (in MAME) or setup related on the users end. I just don't have the knowledge to back up 100% either assumption.
User avatar
No.05126
Haze
Senior Tester
Nov 3, 2009, 21:44
well the report doesn't seem to state that, just that the same problem doesn't occur when using a mouse, and I don't really see how you can point a mouse off-screen ;-)

Anyway, I don't know for sure but it would surprise me if MAME was moving the cursor without being told to.
User avatar
No.05127
GreatLamer
Tester
Nov 3, 2009, 21:46
For more reference, I test the gun in windows desktop because the gun moves the mouse pointer. If I pull the gun off screen, cursor stay the last position in any edge.

But I know MAME uses other way to get the input (handle the gun directly, through RAW?)

Some of the windows mouse-pointer based game works with the gun but some not (data handling dependent).

I think when MAME get the "offscreen" property, should display the pointer in the last known onscreen position at the edge.
User avatar
No.05128
Fujix
Administrator
Nov 4, 2009, 05:57
IIRC, MAME uses only keyboard raw input.
I don't think there's some sort of input standard for light guns, those devices must be working via dedicated driver.
If the lightgun is detected as a mouse device, you wont be able to put gun sight out of the screen as using a normal mouse. It's a correct work.

...


btw, I noticed something essential..
The gun sight display is for non-light gun devices to tell where the sight is now! ;)