Modifier Keys and full keymap from Dear ImGui
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- C++
- Stelle
- 53
- Fork
- 25
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nmwsharp/polyscope-py
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
nmwsharp/polyscope-py#56 ·
-
Imgui Bundle Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
nmwsharp/polyscope-py#44 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
nmwsharp/polyscope-py#41 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
nmwsharp/polyscope-py#39 ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
nmwsharp/polyscope-py#36 · 1 reazione ·
Tutte le issue di nmwsharp/polyscope-py
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
litertlm-android AAR ships no consumer ProGuard rules → "mid == null" SIGABRT in minified apps Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
Component: GLib
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
brave/brave-browser#59300 ·
-
Mute ydb/tests/functional/dstool/test_canonical_requests.py.Test.test_group_take_snapshot in main Apertaai_reviewed
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
ydb-platform/ydb#53974 · 3 commenti ·