kmap2qmap

kmap2qmap 는 임베디드 리눅스에서 사용할 키맵을 생성하는 도구입니다. 소스 파일은 커널의 ` loadkeys ` 명령어가 인식하는 표준 리눅스 kmap 형식으로 되어 있어야 합니다. 즉, 다음 소스들을 사용하여 ` qmap ` 파일을 생성할 수 있습니다:

  • Linux Console Tools(LCT) 프로젝트.
  • Xorg X11 키맵은 ckbcomp 유틸리티를 사용하여 kmap 형식으로 변환할 수 있습니다.
  • kmap 파일은 일반 텍스트 파일이기 때문에 수동으로 작성할 수도 있습니다.

생성된 qmap 파일은 크기가 최적화된 바이너리 파일입니다.

kmap2qmap 는 명령줄 프로그램으로, 최소 2개의 파일을 매개변수로 필요로 합니다. 마지막 파일은 생성된 .qmap 파일이 되며, 나머지 파일들은 모두 입력 .kmap 파일로 해석됩니다. 예를 들어:

kmap2qmap i386/qwertz/de-latin1-nodeadkeys.kmap include/compose.latin1.inc de-latin1-nodeadkeys.qmap

kmap2qmap 이 프로그램은 리눅스 커널이 지원하는 모든 (의미상) 기호를 지원하지는 않습니다. 표준 키맵을 변환할 경우 Show_Registers, Hex_A 등과 같은 항목에 대해 많은 경고가 표시될 수 있습니다. 이러한 경고는 안전하게 무시해도 됩니다.

또한 숫자 기호(예: keycode 1 = 4242 대신 keycode 1 = colon)도 지원하지 않습니다. 이러한 기호들은 더 이상 권장되지 않으며 커널 버전마다 변경될 수 있기 때문입니다.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.