From d9695269d4bdadae1a6e10b4003f2592eda899a2 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sat, 11 Jan 2014 13:09:52 +0100 Subject: compat/*: Tweaking and harmonizing some comments. Signed-off-by: Benno Schulenberg --- compat/mousekeys | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'compat/mousekeys') 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; }; -- cgit v1.2.3