summaryrefslogtreecommitdiffstats
path: root/xrdp/lang.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2008-01-31 06:12:08 +0000
committerjsorg71 <jsorg71>2008-01-31 06:12:08 +0000
commit33b4b72b4507618ec5531396f67b2db3ac0b5c99 (patch)
treececfb077e2453710d4c24e1aea2a66dee87e2701 /xrdp/lang.c
parent2546d29c50c56ca3d4a31cd9955fd77ee1a00ad5 (diff)
downloadxrdp-proprietary-33b4b72b4507618ec5531396f67b2db3ac0b5c99.tar.gz
xrdp-proprietary-33b4b72b4507618ec5531396f67b2db3ac0b5c99.zip
update comments and Italian keymap
Diffstat (limited to 'xrdp/lang.c')
-rw-r--r--xrdp/lang.c67
1 files changed, 35 insertions, 32 deletions
diff --git a/xrdp/lang.c b/xrdp/lang.c
index d8c40f63..be874a43 100644
--- a/xrdp/lang.c
+++ b/xrdp/lang.c
@@ -17,13 +17,14 @@
Copyright (C) Jay Sorg 2006-2008
keylayout
+ maximum unicode 19996(0x4e00)
*/
#include "xrdp.h"
/*****************************************************************************/
-/* us english */
+/* us english 0x409 */
/* non shift chars */
int en_us_noshift[] =
@@ -88,6 +89,7 @@ int en_us_altgr[] =
0, 0, 0, 0, 0, 0, 0, 0
};
+/* caps lock chars */
int en_us_capslock[] =
{
0, 0, '1', '2', '3', '4', '5', '6',
@@ -108,6 +110,7 @@ int en_us_capslock[] =
0, 0, 0, 0, 0, 0, 0, 0
};
+/* shift caps lock chars */
int en_us_shiftcapslock[] =
{
0, 0, '!', '@', '#', '$', '%', '^',
@@ -129,9 +132,9 @@ int en_us_shiftcapslock[] =
};
/*****************************************************************************/
-/* italy */
+/* italy 0x410 */
-/* non shift chars ec*/
+/* non shift chars */
int it_noshift[] =
{
0, 0, '1', '2', '3', '4', '5', '6',
@@ -196,17 +199,17 @@ int it_altgr[] =
int it_capslock[] =
{
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, '1', '2', '3', '4', '5', '6',
+ '7', '8', '9', '0', '\'', 0xec, 0, 0,
+ 'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I',
+ 'O', 'P', 0xe8, '+', 0, 0, 'A', 'S',
+ 'D', 'F', 'G', 'H', 'J', 'K', 'L', 0xf2,
+ 0xe0, '\\', 0, 0xf9, 'Z', 'X', 'C', 'V',
+ 'B', 'N', 'M', ',', '.', '-', 0, '*',
+ 0, ' ', 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, '7',
+ '8', '9', '-', '4', '5', '6', '+', '1',
+ '2', '3', '0', '.', 0, 0, '<', 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
@@ -216,17 +219,17 @@ int it_capslock[] =
int it_shiftcapslock[] =
{
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, '!', '"', 0xa3, '$', '%', '&',
+ '/', '(', ')', '=', '?', '^', 0, 0,
+ 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i',
+ 'o', 'p', 0xe9, '*', 0, 0, 'a', 's',
+ 'd', 'f', 'g', 'h', 'j', 'k', 'l', 0xe7,
+ 0xb0, '|', 0, 0xa7, 'z', 'x', 'c', 'v',
+ 'b', 'n', 'm', ';', ':', '_', 0, '*',
+ 0, ' ', 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, '7',
+ '8', '9', '-', '4', '5', '6', '+', '1',
+ '2', '3', '0', '.', 0, 0, '>', 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
@@ -235,7 +238,7 @@ int it_shiftcapslock[] =
};
/*****************************************************************************/
-/* Portuguese (Brazil) */
+/* Portuguese (Brazil) 0x416 */
/* non shift chars */
int pt_br_noshift[] =
@@ -341,7 +344,7 @@ int pt_br_shiftcapslock[] =
};
/*****************************************************************************/
-/* uk english */
+/* uk english 0x809 */
/* non shift chars */
int en_uk_noshift[] =
@@ -447,7 +450,7 @@ int en_uk_shiftcapslock[] =
};
/*****************************************************************************/
-/* german */
+/* german 0x407 */
/* non shift chars */
int de_noshift[] =
@@ -553,7 +556,7 @@ int de_shiftcapslock[] =
};
/*****************************************************************************/
-/* french */
+/* french 0x40c */
/* non shift chars */
int fr_noshift[] =
@@ -659,7 +662,7 @@ int fr_shiftcapslock[] =
};
/*****************************************************************************/
-/* swedish */
+/* swedish 0x41d */
/* non shift chars */
int se_noshift[] =
@@ -765,7 +768,7 @@ int se_shiftcapslock[] =
};
/*****************************************************************************/
-/* czech */
+/* czech 0x405 */
/* non shift chars */
int cs_noshift[] =
@@ -871,7 +874,7 @@ int cs_shiftcapslock[] =
};
/*****************************************************************************/
-/* russian */
+/* russian 0x419 */
/* non shift chars */
int ru_noshift[] =