diff options
Diffstat (limited to 'genkeymap/genkeymap.c')
-rw-r--r-- | genkeymap/genkeymap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/genkeymap/genkeymap.c b/genkeymap/genkeymap.c index 46513513..91ec9e89 100644 --- a/genkeymap/genkeymap.c +++ b/genkeymap/genkeymap.c @@ -45,8 +45,8 @@ int main(int argc, char **argv) char text[256]; char *displayname = NULL; char *outfname; - char *sections[5] = {"noshift", "shift", "altgr", "capslock", "shiftcapslock"}; - int states[5] = {0, 1, 0x80, 2, 3}; + char *sections[6] = {"noshift", "shift", "altgr", "shiftaltgr", "capslock", "shiftcapslock"}; + int states[6] = {0, 1, 0x80, 0x81, 2, 3}; int i; int idx; int char_count; @@ -94,7 +94,7 @@ int main(int argc, char **argv) e.display = dpy; e.same_screen = True; - for (idx = 0; idx < 5; idx++) /* Sections and states */ + for (idx = 0; idx < 6; idx++) /* Sections and states */ { fprintf(outf, "[%s]\n", sections[idx]); e.state = states[idx]; |