diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2009-12-18 07:05:07 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2009-12-18 07:05:07 (GMT) |
commit | 46261a8284730a16d664fa89423fc5728ed284b4 (patch) | |
tree | c81d7962fe924f5bfca44dc0254304cb537544b9 /doc/asciidoc | |
parent | 79859c94482e4602eb22c35b988027ab199734a6 (diff) | |
download | fluxbox-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')
-rw-r--r-- | doc/asciidoc/fluxbox-keys.txt | 22 |
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: | |||
55 | where *Mod1* is the Alt key on the PC keyboard and *Mod4* is usually a key | 55 | where *Mod1* is the Alt key on the PC keyboard and *Mod4* is usually a key |
56 | branded with a familiar company logo. | 56 | branded with a familiar company logo. |
57 | 57 | ||
58 | There are also some special modifiers that refer to mouse button presses::: | 58 | There 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 | |||
84 | do not produce a key name in the output of *xev(1)*, you can just use the | 84 | do not produce a key name in the output of *xev(1)*, you can just use the |
85 | keycode (NOT the keysym!) in your keys file. | 85 | keycode (NOT the keysym!) in your keys file. |
86 | 86 | ||
87 | Commands can also be bound to mouse button presses, for which the proper "key" | 87 | Commands can also be bound to mouse events ('N' denotes the number of the |
88 | name is *Mouse*'n' where 'n' is the number of the mouse button. For example, | 88 | button, 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 | |
90 | events, in normal configurations. *xev(1)* can also be used to tell the button | 90 | *MouseN*;; |
91 | number. | 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 | |||
100 | There are some special "keys" that let you bind events to non-keyboard events: | ||
92 | 101 | ||
93 | There 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 |