简体   繁体   中英

global hotkeys in C#

I have always been hardcoding hotkeys using GetAsyncKeystate() (hotkey is used to show/hide the Application). Now I've been wondering how the automatic keydetection in PC-games works: . How can I do it?

我建议您获取按键事件并将字符串设置为事件args,并将该字符串另存为applictacion设置热键。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM