-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] - Lightgun Support #82
Comments
Here is the list of lightgun games we will can play if it is added :) Gun XG-1
|
I have a basic understanding of the Libretro lightgun/pointer API. I can offer some aid with coordinate scaling if help is needed. I also have a Sinden lightgun and can help test. |
Thanks a lot for your help, if you can it be excellent. |
From the little I understand by looking at the source code, the backend emulator seems to have some level of lightgun support. There are multiple references to light guns and pens as mouse-like devices in the following files:
And I tried the standalone (non-libretro) version of Atarti800 in windows to test the idea and I was able to use a mouse as a lightgun. Hopefully somebody with the right knowledge will be able to add in the necessary input definitions? |
The lightgun API uses
Port numbers and device indices should work the same as they do for digital joypads. Does Atari 800 recognize the difference between onscreen shots and offscreen shots? Libretro has a check |
Here is how Stella handled the coordinate scaling for Atari 2600 (the same lightgun). Adding |
I took a stab at this: With this change, mouse starts working. But I feel this is just a start. There needs to be more changes to handle abs_x/y inputs, core options to select analog device types, change sensitivity etc. |
Not much more to add. Please add lightgun support to this emulator so that games such as Crime Buster can be playable.
Thank you.
edit - I use a Raspberry Pi and a Sinden Lightgun, which is a pointer device treated as a mouse using absolute coordinates (comparable I suppose to a touchscreen).
The text was updated successfully, but these errors were encountered: