Search
lxdream.org :: lxdream :: r631:6e8e9ae34d09
lxdream 0.9.1
released Jun 29
Download Now
changeset631:6e8e9ae34d09
parent630:50addb748df5
child632:740e7b35a857
authornkeynes
dateTue Feb 12 08:38:19 2008 +0000 (11 years ago)
Fix keypad scancode conversion
src/drivers/video_gtk.c
1.1 --- a/src/drivers/video_gtk.c Tue Feb 12 08:36:29 2008 +0000
1.2 +++ b/src/drivers/video_gtk.c Tue Feb 12 08:38:19 2008 +0000
1.3 @@ -127,16 +127,16 @@
1.4 case GDK_KP_Subtract: return DCKB_KP_MINUS;
1.5 case GDK_KP_Add: return DCKB_KP_PLUS;
1.6 case GDK_KP_Enter: return DCKB_KP_ENTER;
1.7 - case GDK_KP_1: return DCKB_KP_1;
1.8 - case GDK_KP_2: return DCKB_KP_2;
1.9 - case GDK_KP_3: return DCKB_KP_3;
1.10 - case GDK_KP_4: return DCKB_KP_4;
1.11 - case GDK_KP_5: return DCKB_KP_5;
1.12 - case GDK_KP_6: return DCKB_KP_6;
1.13 - case GDK_KP_7: return DCKB_KP_7;
1.14 - case GDK_KP_8: return DCKB_KP_8;
1.15 - case GDK_KP_9: return DCKB_KP_9;
1.16 - case GDK_KP_0: return DCKB_KP_0;
1.17 + case GDK_KP_End: return DCKB_KP_1;
1.18 + case GDK_KP_Down: return DCKB_KP_2;
1.19 + case GDK_KP_Page_Down: return DCKB_KP_3;
1.20 + case GDK_KP_Left: return DCKB_KP_4;
1.21 + case GDK_KP_Begin: return DCKB_KP_5;
1.22 + case GDK_KP_Right: return DCKB_KP_6;
1.23 + case GDK_KP_Home: return DCKB_KP_7;
1.24 + case GDK_KP_Up: return DCKB_KP_8;
1.25 + case GDK_KP_Page_Up:return DCKB_KP_9;
1.26 + case GDK_KP_Insert: return DCKB_KP_0;
1.27 case GDK_KP_Decimal:return DCKB_KP_PERIOD;
1.28 case GDK_backslash: return DCKB_BACKSLASH;
1.29 case GDK_Control_L: return DCKB_CONTROL_L;
.