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

[Feature request] Native gyro to lightgun/ mouse support #1476

Open
RiasatSalminSami opened this issue Apr 8, 2024 · 0 comments
Open

[Feature request] Native gyro to lightgun/ mouse support #1476

RiasatSalminSami opened this issue Apr 8, 2024 · 0 comments
Labels
enhancement New feature or request input Related to input controllers and devices

Comments

@RiasatSalminSami
Copy link

RiasatSalminSami commented Apr 8, 2024

Dual shock 4, Dual Sense and Switch controllers support gyro. This can be utilized to emulate lightgun cursor just like mouse. This should make lightgun games much more comfortable to play with gyro supported gamepads.

Basic implementation with the ability to set X-axis to roll or yaw and having a calibration+ deadzone threshold should do the job for basic lightgun implementation.

Current alternatives to achieve this behaviour are Steam input by using steam, DS4windows app, etc. At the moment it's already possible to use DS4windows and Steam input to emulate mouse cursor via Gyro and this works really well. However, there is one major limitation with this method: none of these methods treat gamepad's gyro as a separate HID mouse. This means it's impossible to use them via raw input. Without raw input, it's impossible to play with 2 players. This is why native support will be very useful for 2 player mode.

Preview of gyro aiming:
https://youtu.be/jETuNOF0XQc

@RiasatSalminSami RiasatSalminSami added the enhancement New feature or request label Apr 8, 2024
@flyinghead flyinghead added the input Related to input controllers and devices label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request input Related to input controllers and devices
Projects
None yet
Development

No branches or pull requests

2 participants