amethyst / amethyst/bracket-lib
Input api issues
未关闭
- 主要语言
- Rust
- 星标
- 1.7k
- 派生
- 126
- PR 合并指标
- 30 天内没有已合并 PR
描述
I had a few issues using bracket-lib dealing with the Input API. Mostly because I assumed `ctx.key` represents all/most of the ascii character set at least, but it seems a bit lacking. For example when I input things like ">" and "<" (common up-stair/down-stair keys) the `ctx.key` never gets populated by anything. I think adding something that corresponds to the ascii character would help here - for example `ctx.ch` which returns a `char`. This would also be helpful for text input.
Just an idea. I eventually implemented input using `INPUT.lock()` which seemed to work much better, but took a bit more boilerplate.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。