Example #1
0
    def main():
        proto = Proto()
        proto.load_xml("xproto")
        core = Core(Connection(proto))
        core.init_keymap()
        ksyms = Keysyms()
        ksyms.load_default()

        if options.action == "keysyms":
            list_keysyms(options, xcore=core, keysyms=ksyms)