|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Generate a binary keyboard table from a textual keyboard definition
mkkbd [-f file] [-h dir] [-i dir] [-v[v]...] source_file
- -f file
- The name of the output file. The default is the name of the source_file but with the extension .kbd instead of .kdef.
- -h dir
- Directory in which to find .h header files (e.g. sys/usbcodes.h, photon/PkKeyDef.h). The default is /usr/include/.
- -i dir
- Directory in which to find .inc mapping files (e.g. common.inc). The default is the source_file directory.
- Increment verbosity. The default is zero verbosity.
- Make keyboard tables for the keyboard names that match the specified pattern. Source files have the extension .kdef.
The mkkbd utility compiles a text file containing keyboard definitions and is capable of creating a binary keyboard table file from each definition file. The resulting binary file is used in devi-hid.
|You need to use mkkbd only if you create or modify a keyboard definition source file.|
The compiled output file is created in the current directory or according to the -f option. For a sample keyboard definition file, see /usr/photon/keyboard/sample.kdef.
Create a German keyboard table (german.kbd) from the keyboard definition file called german.kdef:
- The mkkbd command is normally to be found in /usr/photon/bin.
- Sample textual keyboard definition file normally found in /usr/photon/keyboard/
- > 0
- An error occurred.
"International keyboards" in the Using the Command Line chapter of the Neutrino User's Guide