simon-svn: puzzles: simon

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Thu May 12 19:25:58 BST 2005


SVN root:       svn://ixion.tartarus.org/main
Changes by:     simon
Revision:       5774
Date:           2005-05-12 19:25:57 +0100 (Thu, 12 May 2005)

Log message (12 lines):
I've had two complaints that Solo ought to recognise the numeric
keypad. The reason it doesn't is because front ends were carefully
translating the numeric keypad into 8-way directional keys for the
benefit of Cube. Therefore, a policy change:
 - front ends process the numeric keypad by sending MOD_NUM_KEYPAD |
   '3' and similar
 - front ends running on a platform with Num Lock SHOULD do this
   _irrespective_ of the state of Num Lock
 - back ends do whatever they see fit with numeric keypad keys.
Result: the numeric keypad now works in Solo, and also works in OS X
Cube (which it previously didn't because I forgot to implement that
bit of the front end!).

Modified files:
U   puzzles/cube.c
U   puzzles/gtk.c
U   puzzles/osx.m
U   puzzles/puzzles.h
U   puzzles/solo.c
U   puzzles/windows.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=5774&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/cube.c?rev=5774&r1=5773&r2=5774
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/gtk.c?rev=5774&r1=5773&r2=5774
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/osx.m?rev=5774&r1=5773&r2=5774
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/puzzles.h?rev=5774&r1=5773&r2=5774
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/solo.c?rev=5774&r1=5773&r2=5774
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/windows.c?rev=5774&r1=5773&r2=5774



More information about the tartarus-commits mailing list