From 873bfdc18d24839bec5de0acd6c42fe2c82d5531 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 2 Jan 2011 14:06:14 +0100 Subject: [PATCH] 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. --- winboard/winboard.rc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.0.4