Modifier Keys and full keymap from Dear ImGui
まだ誰も着手していません。
評価
調査の方向性
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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nmwsharp/polyscope-py のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
nmwsharp/polyscope-py#56 ·
-
Imgui Bundle オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
nmwsharp/polyscope-py#44 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 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 件 ·
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 件 ·