diff --git a/engine/denylist.txt b/engine/denylist.txt index e4cd0473..9cbc7fc3 100644 --- a/engine/denylist.txt +++ b/engine/denylist.txt @@ -24,4 +24,5 @@ # Asterisk(*) character can be used to match any engines. # E.g. xkb:cn:*:* excludes xkb:cn::zho and xkb:cn:mon_trad:mvf xkb:cn:*:* +xkb:latam:*:* xkb:nec_vndr/jp:*:* diff --git a/engine/gensimple.py b/engine/gensimple.py index dc4ccf12..18f7dc8c 100755 --- a/engine/gensimple.py +++ b/engine/gensimple.py @@ -180,6 +180,11 @@ class EvdevXML(XMLFilterBase): self.__downstream.startElement('layout', AttributesImpl({})) self.__downstream.characters(self.__layout) self.__downstream.endElement('layout') + if self.__variant != '': + self.__downstream.startElement('layout_variant', + AttributesImpl({})) + self.__downstream.characters(self.__variant) + self.__downstream.endElement('layout_variant') self.__downstream.startElement('longname', AttributesImpl({})) self.__downstream.characters(self.__description) self.__downstream.endElement('longname')