# # Key mapping file for the filter-keytrans # # syntax: # 1 entry per line, consisting of 10 numbers: # modifier_mask : consider only the bits set here # modifier_value : the bits set above must match value # # button_in : If this is not KEY_UNMAPPED==0xffff, the # label_in : button/label/symbol of the incoming key must # symbol_in : match these fields. # # modifier_changemask : change these bits from the original modifiers # modifier_ormask: set them to these - one shouldn't use that. # # button_out : The data that is then sent by the keymapper. # label_out : Any fields set to KEY_UNMAPPED==0xffff will be # symbol_out : copied from the incoming event. # # Example: # 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