aboutsummaryrefslogtreecommitdiff
path: root/scripts/update-keysyms
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update-keysyms')
-rwxr-xr-xscripts/update-keysyms6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/update-keysyms b/scripts/update-keysyms
new file mode 100755
index 0000000..3356a35
--- /dev/null
+++ b/scripts/update-keysyms
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Run this to regenerate xkbcommon-keysyms.h from the X11 headers
+# defining the keysyms and update the name <-> keysym mapping.
+export LC_CTYPE=C
+scripts/makeheader > xkbcommon/xkbcommon-keysyms.h
+scripts/makekeys xkbcommon/xkbcommon-keysyms.h > src/ks_tables.h