Adds a dialog to the Keymap preference app to more easily and

reliably change your modifier keys.

The dialog box is shown by selecting the new 'Set Modifier Keys...'
option under the File menu. This brings up a window which contains 4
dialog boxes labeled: Caps Lock, Control, Option, and Command.

Each of the labels in followed by a drop down box which allows you to select
from one of the other keys listed. So for instance you could switch the Caps
Lock and Control keys but selecting the 'Control' option next to Caps Lock and
the 'Caps Lock' option next to Control.

The Caps Lock menu has an additional option which I find appealing...
'Disable' which, as it sounds, disables your Caps Lock key.

At the bottom of the dialog there are 3 buttons, 'Cancel', 'Revert', and 'Ok'.
'Cancel' and 'Ok' are self explanatory. The 'Revert' button, which is
initially disabled, puts you back into the state that you were when you first
opened the dialog.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43210 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
John Scipione
2011-11-07 13:49:56 +00:00
parent 75a431eb53
commit f5ac2da0a8
7 changed files with 631 additions and 9 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class KeymapListItem;
class KeymapWindow : public BWindow {
public:
KeymapWindow();
~KeymapWindow();
virtual ~KeymapWindow();
virtual bool QuitRequested();
virtual void MessageReceived(BMessage* message);