filter-key, filter-keytrans : Generic key event translator
filter-key: [<file>] filter-keytrans: [<file>]
This filter translates key events according to a set of translation rules. This can be used to remap a keyboard.
The name of the configuration file. If none given, the filter will first look for the file filter/keytrans in the user GGI directory ($HOME/.ggi/ on UNIX), then in the base GGI directory if not found.
The mapping is specified through a simple text file, each line being a translation rule. A line starting with a # is a comment. Each line must contain 10 values in the following order:
Mapping a symbol:
# Take any key that produces a symbol of 0x41 ('A') map it to ESC # # modmsk modval buttin lablin symin modchg modor butout labout symout 0x0000 0x0000 0xffff 0xffff 0x0041 0x0000 0x0000 0xffff 0xffff 0x001b