From: H.G. Muller Date: Sun, 2 Jan 2011 13:06:14 +0000 (+0100) Subject: Disable some accelerators in JAWS version X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=873bfdc18d24839bec5de0acd6c42fe2c82d5531;p=xboard.git Disable some accelerators in JAWS version Single-key accelerators that could result in irreversible data loss are undesirable, because the risk of accidentally pushing them is too large. So the non-Alt duplicates of next/previous game/position are disabled, as are Home and End for Revert and Truncate Game. JAWS users will have to rely on the menus for those functions. --- diff --git a/winboard/winboard.rc b/winboard/winboard.rc index 3a08270..3097934 100644 --- a/winboard/winboard.rc +++ b/winboard/winboard.rc @@ -1474,14 +1474,14 @@ END NO_ALT ACCELERATORS MOVEABLE PURE BEGIN VK_DELETE, IDM_RetractMove, VIRTKEY, NOINVERT + VK_INSERT, IDM_MoveNow, VIRTKEY, NOINVERT +#ifndef JAWS VK_END, IDM_TruncateGame, VIRTKEY, NOINVERT VK_HOME, IDM_Revert, VIRTKEY, NOINVERT - VK_INSERT, IDM_MoveNow, VIRTKEY, NOINVERT VK_NEXT, IDM_LoadNextGame, VIRTKEY, NOINVERT VK_NEXT, IDM_LoadNextPosition, VIRTKEY, SHIFT, NOINVERT VK_PRIOR, IDM_LoadPrevGame, VIRTKEY, NOINVERT VK_PRIOR, IDM_LoadPrevPosition, VIRTKEY, SHIFT, NOINVERT -#ifndef JAWS VK_LEFT, IDM_Backward, VIRTKEY, NOINVERT VK_RIGHT, IDM_Forward, VIRTKEY, NOINVERT VK_DOWN, IDM_ToEnd, VIRTKEY, NOINVERT