Skip to content
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

UI: Device Emulation - Light Gun #1875

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft

Conversation

faha223
Copy link
Contributor

@faha223 faha223 commented Jan 18, 2025

This PR adds the emulation of just the Light Gun. It can be emulated using the Keyboard and Mouse, which should make it possible to use any modern PC light gun as well

I also split out the Xbox Gamepad specific structures from the shared XID code in preparation for adding support for other XID devices. This shares code with the Steel Battalion controller PR as they both use mouse input for Keyboard and Mouse controls.

I'm making this a Draft because there are some things I'd like to redo the Light Gun image and make it an SVG

@faha223 faha223 changed the title Implemented the Light Gun as a controller UI: Device Emulation - Light Gun Jan 19, 2025
Adjusted the texture coordinates for the controller and the buttons.
Fixed a bug where it wasn't showing what buttons were pressed because it was using the gamepad controller state instead of the lightgun controller state
@Nicktamer
Copy link

Hi, any news about this PR?
Any merging soon into master?

@faha223
Copy link
Contributor Author

faha223 commented Mar 19, 2025

As of right now, the holdup is mostly just that I'm not completely satisfied with the Light Gun Mask texture. A lot of the buttons are on the other side and they're not visible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants