Modifier Keys and full keymap from Dear ImGui
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- C++
- 星标
- 53
- 派生
- 25
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nmwsharp/polyscope-py 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
nmwsharp/polyscope-py#56 ·
-
Imgui Bundle 未关闭
难度 5/5 一周以上 新手友好度 25/100
nmwsharp/polyscope-py#44 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
nmwsharp/polyscope-py#41 ·
-
难度 2/5 1-3 小时 新手友好度 25/100
nmwsharp/polyscope-py#39 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 25/100
nmwsharp/polyscope-py#36 · 1 个 reaction ·
查看 nmwsharp/polyscope-py 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
Component: GLib
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 65/100
brave/brave-browser#59300 ·
-
Mute ydb/tests/functional/dstool/test_canonical_requests.py.Test.test_group_take_snapshot in main 未关闭ai_reviewed
难度 2/5 1-3 小时 新手友好度 70/100
ydb-platform/ydb#53974 · 3 条评论 ·