Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Modifier Keys and full keymap from Dear ImGui

Abierto
#20 0 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
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
cpp, python
Área
api

Línea de trabajo

Start in src/cpp/imgui.cpp around the key-mapping code at line 1704, and inspect how the Python interface currently exposes keyboard keys. Check the available Dear ImGui modifier-key access, then define an API that supports modifier queries and the full keyboard map; done when Python callers can read both reliably.

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

Descripción

Hi @nmwsharp !

Thanks for this amazing package! I'm currently designing a tool that is using Polyscope and makes heavy use of keyboard controls. For that, it would be invaluable to have access to modifier keys as well as the full set of keys from the keyboard. However, currently in the Polyscope Python interface only a few keys are mapped (see https://github.com/nmwsharp/polyscope-py/blob/11362b1bf663e66bf8876af6909629ebd3c79791/src/cpp/imgui.cpp#L1704 and following) and the modifier keys, even though exposed in the map, can not be checked (GetMergedModFlags from ImGui is not exposed, neither is the io module to read io.KeyMods, if I'm not mistaken).

Is there currently a way to read modifier keys in Polyscope in Python that I'm missing? Would it be possible to expose access to the io module or another access function? Could we extend the list of mapped keys to cover the entire keyboard instead of the current selection?

Thanks a lot in advance!
Christoph

Lenguaje dominante
C++
Estrellas
53
Forks
25
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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 nmwsharp/polyscope-py

Todos los issues de nmwsharp/polyscope-py

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.