OpenVR doesn't seem to expose additional buttons on Steam Frame controllers

Abierto
#1,929 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp
Área
backend

Línea de trabajo

Start by tracing GetControllerState() and how controller button data is mapped for Steam Frame controllers; the issue does not identify specific source files or tests. Reproduce the reported duplicate and missing button presses on-device or while streaming, then determine whether the mapping is in OpenVR or controller emulation. Done means the additional buttons are exposed distinctly, or the responsible layer and expected behavior are established.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

I'm not sure if this is an OpenVR issue or a settings/controller emulation issue, but when running on the Steam Frame, no matter if on-device or streaming, I only receive a subset of button presses when using GetControllerState(). For example the bumper transmits the same button as the trigger, view and menu do nothing, and on the D-pad / ABXY buttons, only two distinct buttons register while the other two are duplicates.

vr::VRControllerState_t controllerState;
hmd->GetControllerState(controllerID, &controllerState, sizeof(controllerState));
printf("Controller button state: %li\n", controllerState.ulButtonPressed);    

It looks like some kind of emulation is going on (since what's missing is essentially what the Steam Frame Controllers have in addition to most older VR controllers), but I can't seem to find a way to turn it off. Changing the control options in Steam does nothing. My app does not use SteamVR Input.

Lenguaje dominante
C++
Estrellas
6.7k
Forks
1.3k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ValveSoftware/openvr

Todos los issues de ValveSoftware/openvr

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.