
답변1
KeyRemap4MacBook을 사용하면 EventViewer.app을 열고 키가 KeyCode::PC_APPLICATION 또는 KeyCode::F18과 같은 값과 연결되어 있는지 확인할 수 있습니다. 그렇다면 다음에서 다시 매핑할 수 있습니다.개인.xml.
해당 내용은 소스를 참조하세요키 코드 값그리고사전 정의된 설정.
OS에서 일부 키 조합을 캡처하는 경우 다음을 사용할 수 있습니다.디버그 모드:
$ sudo sysctl -w keyremap4macbook.debug=1
$ tail -f /var/log/system.log | grep KeyRemap
Apr 19 20:50:44 Lauris-iMac kernel[0]: KeyRemap4MacBook --Debug-- KeyboardEventCallback [ caught]: eventType 11, flags 0x80000000, key 46, kbdType 40, repeat = 0
Apr 19 20:50:44 Lauris-iMac kernel[0]: KeyRemap4MacBook --Debug-- KeyboardEventCallback [sending]: eventType 11, flags 0x00000000, key 46, kbdType 40, repeat = 0
^C
$ sudo sysctl -w keyremap4macbook.debug=0