summaryrefslogtreecommitdiffstats
path: root/genkeymap
diff options
context:
space:
mode:
authorKevin Cave <kevin@scarygliders.net>2014-01-18 16:28:06 +0000
committerKevin Cave <kevin@scarygliders.net>2014-01-18 16:28:06 +0000
commitc548657c7b52f867c9d7598231219fd90ba7fe81 (patch)
tree00454b179555bee5d218cd5f9a309def7834f7c7 /genkeymap
parent522cedf12e3224bc95b29eb846e7188947576a6c (diff)
downloadxrdp-proprietary-c548657c7b52f867c9d7598231219fd90ba7fe81.tar.gz
xrdp-proprietary-c548657c7b52f867c9d7598231219fd90ba7fe81.zip
Update genkeymap.c
Add a "shiftaltgr" section to the keymap generator, which should satisfy keyboard layouts such as km-0415
Diffstat (limited to 'genkeymap')
-rw-r--r--genkeymap/genkeymap.c6
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];