aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-10-07 17:35:52 +0200
committerMattias Andrée <maandree@kth.se>2016-10-07 17:35:52 +0200
commit1e5f4c422096b2e862c079de3bbf7f984c454c92 (patch)
tree0fc8d65c1471a3b81938ce234c1b5b20f435c106
parentm (diff)
downloadxpybar-1e5f4c422096b2e862c079de3bbf7f984c454c92.tar.gz
xpybar-1e5f4c422096b2e862c079de3bbf7f984c454c92.tar.bz2
xpybar-1e5f4c422096b2e862c079de3bbf7f984c454c92.tar.xz
Add SCROLL_LEFT and SCROLL_RIGHT
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--examples/compact2
-rw-r--r--examples/moderate10
2 files changed, 12 insertions, 0 deletions
diff --git a/examples/compact b/examples/compact
index 8a26628..7e08663 100644
--- a/examples/compact
+++ b/examples/compact
@@ -91,6 +91,8 @@ MIDDLE_BUTTON = 2
RIGHT_BUTTON = 3
SCROLL_UP = 4
SCROLL_DOWN = 5
+SCROLL_LEFT = 6
+SCROLL_RIGHT = 7
FORWARD_BUTTON = 8 # X1
BACKWARD_BUTTON = 9 # X2
diff --git a/examples/moderate b/examples/moderate
index dea8a4e..9a95871 100644
--- a/examples/moderate
+++ b/examples/moderate
@@ -617,6 +617,16 @@ SCROLL_DOWN = 5
:int The index of the psuedo-button for scrolling downwards
'''
+SCROLL_LEFT = 6
+'''
+:int The index of the psuedo-button for scrolling left
+'''
+
+SCROLL_RIGHT = 7
+'''
+:int The index of the psuedo-button for scrolling right
+'''
+
FORWARD_BUTTON = 8 # X1
'''
:int The index of the forward button, also known as X1