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.
在我的 AutoLISP 代码中,我需要检查是否按下了 [SHIFT] 按钮。在 C++ 中,我可以通过GetKeyStatefrom 来完成user32.dll,但如何在 AutoLISP 中调用它?
GetKeyState
user32.dll
(defun c:mx () (if (acet-sys-shift-down) (Princ "Shift Key is Down") (Princ "Shift Key is not Down") ) (princ) )