📅  最后修改于: 2022-03-11 14:56:16.755000             🧑  作者: Mango
You can create scancode with a mask for the modifers (KEY_MASK_CTRL, KEY_MASK_SHIFT, KEY_MASK_ALT, and KEY_MASK_META).
Creating an accelerator for a key combination like ctrl+shift+s, for example, is as simple as using:
KEY_S | KEY_MASK_CTRL | KEY_MASK_SHIFT