summaryrefslogtreecommitdiffstats
path: root/types.h
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2014-07-23 23:41:23 +0200
committerBert Münnich <ber.t@posteo.de>2014-07-23 23:41:23 +0200
commit9c92de858484b6bbe90252955bef5f77a80f3c45 (patch)
tree6cc5e92a83f29e3082848e41ee8bd981e80f3b3f /types.h
parent06164c29b759c3e21e79be03b285bdf3da6f5a25 (diff)
downloadnsxiv-9c92de858484b6bbe90252955bef5f77a80f3c45.tar.zst
Added support for multiple commands per key/button mapping; elegant fix for issue #150
Diffstat (limited to 'types.h')
-rw-r--r--types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/types.h b/types.h
index 2e250ce..5434588 100644
--- a/types.h
+++ b/types.h
@@ -32,10 +32,10 @@ typedef enum {
} appmode_t;
typedef enum {
- DIR_LEFT,
- DIR_RIGHT,
- DIR_UP,
- DIR_DOWN
+ DIR_LEFT = 1,
+ DIR_RIGHT = 2,
+ DIR_UP = 4,
+ DIR_DOWN = 8
} direction_t;
typedef enum {