makekeys: Put a comment describing the origin of the file
parent
68c61e7f7d
commit
eef3ab2364
|
@ -6,7 +6,13 @@ pattern = re.compile(r'^#define\s+XKB_KEY_(?P<name>\w+)\s+(?P<value>0x[0-9a-fA-F
|
|||
matches = [pattern.match(line) for line in open(sys.argv[1])]
|
||||
entries = [(m.group("name"), int(m.group("value"), 16)) for m in matches if m]
|
||||
|
||||
print('/* This file is autogenerated from Makefile.am; please do not commit directly. */\n')
|
||||
print('''
|
||||
/**
|
||||
* This file comes from libxkbcommon and was generated by makekeys.py
|
||||
* You can always fetch the latest version from:
|
||||
* https://raw.github.com/xkbcommon/libxkbcommon/master/src/ks_tables.h
|
||||
*/
|
||||
''')
|
||||
|
||||
entry_offsets = {}
|
||||
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
/* This file is autogenerated from Makefile.am; please do not commit directly. */
|
||||
|
||||
/**
|
||||
* This file comes from libxkbcommon and was generated by makekeys.py
|
||||
* You can always fetch the latest version from:
|
||||
* https://raw.github.com/xkbcommon/libxkbcommon/master/src/ks_tables.h
|
||||
*/
|
||||
|
||||
const char *keysym_names =
|
||||
"0\0"
|
||||
|
|
Loading…
Reference in New Issue