Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
M
Monado
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 45
    • Issues 45
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 13
    • Merge Requests 13
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Monado
  • Monado
  • Merge Requests
  • !638

Merged
Opened Jan 05, 2021 by Christoph Haag@haagchOwner

Generate bindings for Monado and SteamVR from json

  • Overview 16
  • Commits 15
  • Pipelines 7
  • Changes 28

The SteamVR input profiles can use more work (default bindings, legacy bindings, icons, coordinates for the binding ui, ...) but they are functional.

Surprisingly many things in SteamVR pick up the inputs from the input profiles well enough without any sort of supplied default bindings. Presumably well known input names like "/input/system", "/input/trigger" are automatically used for various default bindings.

This MR avoids touching most of the binding logic of Monado and opts to generate an array of binding structs similar to the ones previously found in oxr_binding_data.h. Those structs now also contain various metadata used in SteamVR. If we want to optimize for people who do not want/build the SteamVR plugin, we could ifdef some of that out.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: monado/monado!638
Source branch: json_bindings