summaryrefslogtreecommitdiffstats
path: root/genkeymap/genkeymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'genkeymap/genkeymap.c')
-rw-r--r--genkeymap/genkeymap.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/genkeymap/genkeymap.c b/genkeymap/genkeymap.c
index 088af748..d0907f32 100644
--- a/genkeymap/genkeymap.c
+++ b/genkeymap/genkeymap.c
@@ -21,15 +21,15 @@
Updated Jay Sorg 2009
- cs czech 0x405
- de german 0x407
- en-us us english 0x409
- fr french 0x40c
- it italy 0x410
+ cs Czech 0x405
+ de German 0x407
+ en-us US English 0x409
+ fr French 0x40c
+ it Italian 0x410
br Portuguese (Brazil) 0x416
- ru russian 0x419
- se swedish 0x41d
- en-uk uk english 0x809
+ ru Russian 0x419
+ se Swedish 0x41d
+ en-uk UK English 0x809
*/
#include <stdio.h>
@@ -48,7 +48,10 @@ int main(int argc, char **argv)
char text[256];
char *displayname = NULL;
char *outfname;
- char *sections[8] = {"noshift", "shift", "altgr", "shiftaltgr", "capslock", "capslockaltgr", "shiftcapslock", "shiftcapslockaltgr"};
+ const char *sections[8] = {
+ "noshift", "shift", "altgr", "shiftaltgr",
+ "capslock", "capslockaltgr", "shiftcapslock", "shiftcapslockaltgr"
+ };
int states[8] = {0, 1, 0x80, 0x81, 2, 0x82, 3, 0x83};
int i;
int idx;