summaryrefslogtreecommitdiff
path: root/compat/mousekeys
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@justemail.net>2014-01-11 13:09:52 +0100
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2014-01-15 00:53:18 +0000
commitd9695269d4bdadae1a6e10b4003f2592eda899a2 (patch)
tree81dc97abb9d92ea270b19f43b6e4f69779959d74 /compat/mousekeys
parent5807c6cea78526ae2d5d6d82ec98ecad52369374 (diff)
compat/*: Tweaking and harmonizing some comments.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'compat/mousekeys')
-rw-r--r--compat/mousekeys19
1 files changed, 9 insertions, 10 deletions
diff --git a/compat/mousekeys b/compat/mousekeys
index f60c756c..82c87b80 100644
--- a/compat/mousekeys
+++ b/compat/mousekeys
@@ -1,12 +1,12 @@
-// Interpretations for arrow keys and a bunch of other
-// common keysyms which make it possible to bind "mouse"
-// keys using xmodmap and activate or deactivate them
-// from the keyboard.
+// Interpretations for arrow keys and a bunch of
+// other common keysyms which make it possible to
+// bind "mouse" keys using xmodmap and activate or
+// deactivate them from the keyboard.
default partial xkb_compatibility "mousekeys" {
// Keypad actions.
- //
+
interpret.repeat= True;
interpret KP_1 {
@@ -114,7 +114,8 @@ default partial xkb_compatibility "mousekeys" {
action = LockPointerButton(button=default,affect=unlock);
};
- // Additional mappings for Solaris keypad compatibility
+ // Additional mappings for Solaris keypad compatibility.
+
interpret F25 { // aka KP_Divide
action = SetPtrDflt(affect=defaultButton,button=1);
};
@@ -139,9 +140,8 @@ default partial xkb_compatibility "mousekeys" {
interpret.repeat= False;
+ // New keysym actions.
- // New Keysym Actions.
- //
interpret Pointer_Button_Dflt {
action= PointerButton(button=default);
};
@@ -192,10 +192,9 @@ default partial xkb_compatibility "mousekeys" {
action= SetPtrDflt(affect=defaultButton,button= -1);
};
-
// Allow an indicator for MouseKeys.
indicator "Mouse Keys" {
-// !allowExplicit;
+ //!allowExplicit;
indicatorDrivesKeyboard;
controls= MouseKeys;
};