libretro / libretro/RetroArch

(Input) Lightgun as Joystick

Open
#13,425 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request input
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

The option for controlling a lightgun gun game on retroarch is limited to mouse or lightgun.

Please add another input option that gives the ability to map a joystick axis to also be used as a lightgun input. This will need be be mapped as the whole axis e.g. x axis, y axis and not how retroarch currently maps input with x-left, x-right, y-up, y-down.

This will allow multiplayer lightgun games instead of having a single mouse input.

This is currently possible in stand alone emulators such as Mednafen, Supermodel, Teknoparrot, Mame (including retroarch Mame, but configured inside the core) and possibly others. These emulators allow the binding of a joystick axis to allow the lightgun cursor to be positioned anywhere on screen by holding a joystick in any position. Demulshooter also retroactively adds this feature into other emulators that do not support this feature.
These emulators all work great with a wiimote and dolphinbar which makes the ir pointer the z and zr axis.

For your consideration.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating RetroArch's lightgun input configuration and current x-left, x-right, y-up, and y-down mapping; done means whole joystick axes can be bound as lightgun input and support multiplayer lightgun games.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.