aboutsummaryrefslogtreecommitdiff
path: root/doc/asciidoc/fluxbox-keys.txt
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2009-12-18 07:05:07 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2009-12-18 07:05:07 (GMT)
commit46261a8284730a16d664fa89423fc5728ed284b4 (patch)
treec81d7962fe924f5bfca44dc0254304cb537544b9 /doc/asciidoc/fluxbox-keys.txt
parent79859c94482e4602eb22c35b988027ab199734a6 (diff)
downloadfluxbox-46261a8284730a16d664fa89423fc5728ed284b4.zip
fluxbox-46261a8284730a16d664fa89423fc5728ed284b4.tar.bz2
implemented 'MoveN' and 'ClickN' support in keys file.
the hardcoded 'OnTitlebar Mouse1 :Raise' (see Window.cc, FluxboxWindow::buttonPressEvent()) is disabled for now, should be added to fluxbox-update_configs
Diffstat (limited to 'doc/asciidoc/fluxbox-keys.txt')
-rw-r--r--doc/asciidoc/fluxbox-keys.txt22
1 files changed, 15 insertions, 7 deletions
diff --git a/doc/asciidoc/fluxbox-keys.txt b/doc/asciidoc/fluxbox-keys.txt
index ed69a57..3f3431d 100644
--- a/doc/asciidoc/fluxbox-keys.txt
+++ b/doc/asciidoc/fluxbox-keys.txt
@@ -55,7 +55,7 @@ are most commonly used:
55where *Mod1* is the Alt key on the PC keyboard and *Mod4* is usually a key 55where *Mod1* is the Alt key on the PC keyboard and *Mod4* is usually a key
56branded with a familiar company logo. 56branded with a familiar company logo.
57 57
58There are also some special modifiers that refer to mouse button presses::: 58There are also some special modifiers that refer to mouse button events:::
59*OnDesktop*;; 59*OnDesktop*;;
60 The mouse cursor is over the desktop (root window), and not any 60 The mouse cursor is over the desktop (root window), and not any
61 window. 61 window.
@@ -84,13 +84,21 @@ the key, and see the name in the output. If you have some "special" keys that
84do not produce a key name in the output of *xev(1)*, you can just use the 84do not produce a key name in the output of *xev(1)*, you can just use the
85keycode (NOT the keysym!) in your keys file. 85keycode (NOT the keysym!) in your keys file.
86 86
87Commands can also be bound to mouse button presses, for which the proper "key" 87Commands can also be bound to mouse events ('N' denotes the number of the
88name is *Mouse*'n' where 'n' is the number of the mouse button. For example, 88button, eg. '1' is the primary button, '4'/'5' are the wheel buttons):
89*Mouse1* is the primary button, and *Mouse4* / *Mouse5* are the scroll wheel 89
90events, in normal configurations. *xev(1)* can also be used to tell the button 90*MouseN*;;
91number. 91 The mouse button 'N' is pressed down and holded.
92*ClickN*;;
93 The mouse button 'N' is clicked (pressed and released with no
94 movement in between)
95*MoveN*;;
96 The mouse button 'N' is currently holded, the binded action is triggered
97 as often as the mouse moves.
98
99
100There are some special "keys" that let you bind events to non-keyboard events:
92 101
93There are some special "keys" that let you bind events to non-keyboard events:::
94*ChangeWorkspace*;; 102*ChangeWorkspace*;;
95 Fires when the workspace changes. This can be used to change backgrounds or 103 Fires when the workspace changes. This can be used to change backgrounds or
96 do anything else you like when you switch to a new workspace. See the 104 do anything else you like when you switch to a new workspace. See the