C++ getting keyboard adapter when using two keyboards, determine where the keypress come from

穿精又带淫゛_ 提交于 2020-12-15 05:24:57

问题


I would like to know how to detect the keyboard adapter on Windows when using two keyboards, that a key eg. W was pressed on first or on the second keyboard.

Can anybody help me how to do it? I would like to use a cheap solution for macros. I would plan to bind macros for entrie second keyboard, when somebody press key W (just for example), keybaord would type a world uint8_t.

来源:https://stackoverflow.com/questions/61139696/c-getting-keyboard-adapter-when-using-two-keyboards-determine-where-the-keypr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!