forked from AuroraMiddleware/gtk
gdk: merge all 3.x changes to gdk_keysym_to_unicode_tab[] in gdkkeyuni.c
This commit is contained in:
parent
a269c2f8d2
commit
67438e0e49
@ -830,15 +830,29 @@ static const struct {
|
|||||||
|
|
||||||
/* Following items added to GTK, not in the xterm table */
|
/* Following items added to GTK, not in the xterm table */
|
||||||
|
|
||||||
|
/* A few ASCII control characters */
|
||||||
|
#ifndef GDK_WINDOWING_WIN32
|
||||||
|
{ 0xFF08 /* Backspace */, '\b' },
|
||||||
|
{ 0xFF09 /* Tab */, '\t' },
|
||||||
|
#endif
|
||||||
|
|
||||||
|
{ 0xFF0A /* Linefeed */, '\n' },
|
||||||
|
{ 0xFF0B /* Vert. Tab */, '\v' },
|
||||||
|
|
||||||
|
#ifndef GDK_WINDOWING_WIN32
|
||||||
|
{ 0xFF0D /* Return */, '\r' },
|
||||||
|
{ 0xFF1B /* Escape */, '\033' },
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Numeric keypad */
|
/* Numeric keypad */
|
||||||
|
|
||||||
{ 0xFF80 /* Space */, ' ' },
|
{ 0xFF80 /* Space */, ' ' },
|
||||||
{ 0xFFAA /* Multiply */, '*' },
|
{ 0xFFAA /* Multiply */, '*' },
|
||||||
{ 0xFFAB /* Add */, '+' },
|
{ 0xFFAB /* Add */, '+' },
|
||||||
{ 0xFFAC /* Separator */, ',' },
|
{ 0xFFAC /* Separator */, ',' },
|
||||||
{ 0xFFAD /* Subtract */, '-' },
|
{ 0xFFAD /* Subtract */, '-' },
|
||||||
{ 0xFFAE /* Decimal */, '.' },
|
{ 0xFFAE /* Decimal */, '.' },
|
||||||
{ 0xFFAF /* Divide */, '/' },
|
{ 0xFFAF /* Divide */, '/' },
|
||||||
{ 0xFFB0 /* 0 */, '0' },
|
{ 0xFFB0 /* 0 */, '0' },
|
||||||
{ 0xFFB1 /* 1 */, '1' },
|
{ 0xFFB1 /* 1 */, '1' },
|
||||||
{ 0xFFB2 /* 2 */, '2' },
|
{ 0xFFB2 /* 2 */, '2' },
|
||||||
@ -852,6 +866,10 @@ static const struct {
|
|||||||
{ 0xFFBD /* Equal */, '=' },
|
{ 0xFFBD /* Equal */, '=' },
|
||||||
|
|
||||||
/* End numeric keypad */
|
/* End numeric keypad */
|
||||||
|
|
||||||
|
#ifndef GDK_WINDOWING_WIN32
|
||||||
|
{ 0xFFFF /* Delete */, '\177' }
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user