Skip to content

[Prototype] Game Controller Support Testing for Rein #111

@anshulchikhale30-p

Description

@anshulchikhale30-p

Context

Moving away from NutJS in favor of virtual input devices. Rein is a cross-platform LAN-based remote input controller that could replace NutJS, as it doesn't scale as well as virtual input devices.

Proposed Solution

Create a prototype with available virtual input libs maybe in rust and test the controller input functionality on supported games.

The prototype will:

  1. Read gamepad/controller input using a virtual input module
  2. Integrate with Rein's modules to send input commands
  3. Test on games with controller support
  4. Document the implementation approach for others to contribute

Future: Wrap Rust modules with Node.js bindings for easier integration.

Alternatives Considered

  1. Continue using NutJS - Not viable, library is less actively maintained
  2. Pure Node.js solution - Limited to mouse/keyboard, no controller support
  3. Use existing game input libraries alone - Lacks the LAN-based distribution that Rein provides

Rein provides the best balance of active maintenance + cross-platform support + network capability.

Checklist

  • I have searched for existing feature requests to avoid duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions