teranoz Report post Posted October 21, 2004 The event.key.keysym.unicode does not work in windows. To fix that, the patch translates the keynumbers to the corresponding keynumbers from the standard numerical keys. Share this post Link to post Share on other sites
Wytter Report post Posted October 21, 2004 Index: events.c =================================================================== RCS file: /cvsroot/elc/elc/events.c,v retrieving revision 1.74 diff -r1.74 events.c 391c391,410 < --- > #ifdef WINDOWS //Teranoz keypad patch > if ((key>=256 && key<=267) || key==271) > { > switch (key) > { > case 266: > ch = 46; > break; > case 267: > ch = 47; > break; > case 271: > ch = 13; > break; > default: > ch = key-208; > break; > } > } > #endif If it's working it should be merged. I just don't have a windows machine to do the checking, so I'll let someone else do the dirty work ;-) Share this post Link to post Share on other sites