action_args[argument] = action[action_name][argument]
key.add_action(action_name, **action_args)
+
+ for key_property in config['key_properties']:
+ key = mapping.find_by_unicode(key_property)
+ if key is None:
+ continue
+
+ if 'description' in config['key_properties'][key_property]:
+ key.set_description(config['key_properties'][key_property]['description'])
+ if 'color' in config['key_properties'][key_property]:
+ key.set_color(config['key_properties'][key_property]['color'])