Steam Input Implementation

Open
#2,173 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
10/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
cpp
Domain
game-dev

Research direction

No files or entry points are named; this is a design proposal for replacing the engine's SDL-based input with Steam Input, adding a mod-facing input bus, and leaving room for SteamVR later. A contributor would first map where SDL2 events enter the engine and how mods currently hook input, then write a scoping document before any code. Done here means an agreed design and interfaces, not a patch.

Written by the indexing model from the issue text.

Description

Enhancement Portability

Currently, xray based games rely on standard input systems. By moving to steaminput and adding the ability for mods to add steam input inputs as needed, and creating an input bus. along with designing for steaminput for steamvr, you open the door to both native steam deck implementations, as well as steamvr including gesture controls. while steamvr sounds absurd right now, adding steamvr interfaces for openxray would open the door for a steamvr mod, which would open the door to a vr mod for stalker properly supported by the engine itself. This is not a request for a full vr rendering system, yet, however being able to add the input bus would open the door to that over time.

On the steam deck end, an input bus would allow for context specific button presses depending on mod logic, for example hitting a rear bumper when a gas mask gets foggy to clear it up, or unjamming a gun on context. this also assists over time for steamvr.

Dominant language
C++
Stars
3.6k
Forks
565
Avg merge
9h 54m
Merged PRs (30d)
3

Getting set up

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.

More from OpenXRay/xray-16

All issues in OpenXRay/xray-16

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.