Closed HubKing closed 3 years ago
In the project web page there's mention of special keys, and when you need to use the other additional E0
and E1
flags. You need, scan code is not the only thing that is relevant.
Check cadstop.cpp for example of handling special keys that have those flags set.
检查 cadstop.cpp 以获取处理设置了这些标志的特殊键的示例。
The windows key on the keyboard doesn't work, why? thanks
In the header, there is no comment for the InterceptionKeyStroke structure, and I cannot find any other documentation for it. How to use it? I can see an example for changing the scan code, but I cannot get it work to change a key to "volume down".
According to some web searching (really difficult to find the information), the scan code for the "volume down" key seems to be 0xE02E.
But the following code gave me "c" instead. The scan code for "c" is 0x002E. So, it seems that the first byte is ignored. I thought maybe I could set some other field of the InterceptionKeyStroke, but as I said, there is no comment or documentation, so it is difficult for a novice to guess what they are for.