kmap2qmap
kmap2qmap
은 임베디드 Linux에서 사용할 키맵을 생성하는 도구입니다. 소스 파일은 커널의 loadkeys
명령으로 이해할 수 있는 표준 Linux kmap
형식이어야 합니다. 즉, 다음 소스를 사용하여 qmap
파일을 생성할 수 있습니다:
- Linux 콘솔 도구(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
은 Linux 커널이 지원하는 모든 (의사) 기호를 지원하지 않습니다. 표준 키맵을 변환하는 경우 Show_Registers
, Hex_A
등과 같은 많은 경고를 받게 되므로 무시해도 됩니다.
또한 숫자 기호(예: keycode 1 = colon
대신 keycode 1 = 4242
)는 더 이상 사용되지 않으며 커널 버전에 따라 변경될 수 있으므로 지원하지 않습니다.
© 2025 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.