Make numeric keypad work.

Make numeric keypad work.
This commit is contained in:
Elliot Lee
2000-08-09 19:58:10 +00:00
parent 98bacfb792
commit a6895b64fd

View File

@ -1068,21 +1068,21 @@ static const guint trans_table[256][3] = {
{GDK_F10, 0, 0}, {GDK_F10, 0, 0},
{0, 0, 0}, {0, 0, 0},
{0, 0, 0}, {0, 0, 0},
{0, 0, 0}, {'7', 0, 0},
{0, 0, 0}, {'8', 0, 0},
{0, 0, 0}, {'9', 0, 0},
{0, 0, 0}, {'-', 0, 0},
{0, 0, 0}, {'4', 0, 0},
{0, 0, 0}, {'5', 0, 0},
{0, 0, 0}, {'6', 0, 0},
{0, 0, 0}, {'+', 0, 0},
{0, 0, 0}, {'1', 0, 0},
/* 0x50 */ /* 0x50 */
{0, 0, 0}, {'2', 0, 0},
{0, 0, 0}, {'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}, {0, 0, 0},
@ -1097,7 +1097,7 @@ static const guint trans_table[256][3] = {
{0, 0, 0}, {0, 0, 0},
/* 0x60 */ /* 0x60 */
{0, 0, 0}, {GDK_Return, 0, 0},
{0, 0, 0}, {0, 0, 0},
{0, 0, 0}, {0, 0, 0},
{0, 0, 0}, {0, 0, 0},