Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只在文档中找到了 K_ANY 事件(事件和回调 -> 常见 -> K_ANY)。
如何分别处理 keypress 和 keyrelease 事件?这个图书馆有可能吗?
谁能帮忙?
仅在使用 KEYPRESS_CB 回调的 IupCanvas 和派生控件上。它有一个额外的参数,指示键是被按下还是被释放。