number_pad:-1 qwertz keyboard
Reported almost exactly one year ago by a beta tester proofreading the Guidebook, the number_pad setting to support the German keyboard which swaps the Y and Z keys is for a keyboard that is used in other places too. The report mentioned France and Belgium; Wikipedia's "keyboard layout" entry mentions "Germany, Austria, Switzerland and other parts of Central Europe". This changes references to "German keyboard" (there were only a couple) into "QWERTZ keyboard".
This commit is contained in:
@@ -2388,7 +2388,7 @@ is the same as specifying 0.
|
||||
(Settings 2 and 4 are for compatibility with MSDOS or old PC Hack;
|
||||
in addition to the different behavior for `5', `Alt-5' acts as `G'
|
||||
and `Alt-0' acts as `I'.
|
||||
Setting -1 is to accommodate some German keyboards which have the
|
||||
Setting -1 is to accommodate some QWERTZ keyboards which have the
|
||||
location of the `y' and `z' keys swapped.)
|
||||
When moving by numbers, to enter a count prefix for those commands
|
||||
which accept one (such as ``12s'' to search twelve times), precede it
|
||||
|
||||
@@ -2845,7 +2845,7 @@ is the same as specifying {\tt 0}.
|
||||
(Settings {\tt 2} and {\tt 4} are for compatibility with MSDOS or old PC Hack;
|
||||
in addition to the different behavior for `{\tt 5}', `{\tt Alt-5}' acts as `{\tt G}'
|
||||
and `{\tt Alt-0}' acts as `{\tt I}'.
|
||||
Setting {\tt -1} is to accommodate some German keyboards which have the
|
||||
Setting {\tt -1} is to accommodate some QWERTZ keyboards which have the
|
||||
location of the `{\tt y}' and `{\tt z}' keys swapped.)
|
||||
When moving by numbers, to enter a count prefix for those commands
|
||||
which accept one (such as ``{\tt 12s}'' to search twelve times), precede it
|
||||
|
||||
@@ -434,7 +434,7 @@ struct cmd {
|
||||
boolean num_pad; /* same as iflags.num_pad except during updates */
|
||||
boolean pcHack_compat; /* for numpad: affects 5, M-5, and M-0 */
|
||||
boolean phone_layout; /* inverted keypad: 1,2,3 above, 7,8,9 below */
|
||||
boolean swap_yz; /* German keyboards; use z to move NW, y to zap */
|
||||
boolean swap_yz; /* QWERTZ keyboards; use z to move NW, y to zap */
|
||||
char move_W, move_NW, move_N, move_NE, move_E, move_SE, move_S, move_SW;
|
||||
const char *dirchars; /* current movement/direction characters */
|
||||
const char *alphadirchars; /* same as dirchars if !numpad */
|
||||
|
||||
@@ -3350,7 +3350,8 @@ boolean initial;
|
||||
Cmd.num_pad = flagtemp;
|
||||
++updated;
|
||||
}
|
||||
/* swap_yz mode (only applicable for !num_pad) */
|
||||
/* swap_yz mode (only applicable for !num_pad); intended for
|
||||
QWERTZ keyboard used in Central Europe, particularly Germany */
|
||||
flagtemp = (iflags.num_pad_mode & 1) ? !Cmd.num_pad : FALSE;
|
||||
if (flagtemp != Cmd.swap_yz) {
|
||||
Cmd.swap_yz = flagtemp;
|
||||
|
||||
Reference in New Issue
Block a user