Commit a6895b64 authored by Elliot Lee's avatar Elliot Lee

Make numeric keypad work.



Make numeric keypad work.
parent 98bacfb7
...@@ -1068,21 +1068,21 @@ static const guint trans_table[256][3] = { ...@@ -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] = { ...@@ -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},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment