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.
我想允许用户覆盖持久配置标志以自动启动并在完成时自动关闭。一种习惯用法是在启动时检测 Shift 键向下。
如何检测 shift 键向下?
我尝试在应用程序初始化中添加键盘按下事件处理程序,但似乎根本没有被调用。