diff options
author | Bert Münnich <ber.t@posteo.de> | 2014-07-23 23:41:23 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2014-07-23 23:41:23 +0200 |
commit | 9c92de858484b6bbe90252955bef5f77a80f3c45 (patch) | |
tree | 6cc5e92a83f29e3082848e41ee8bd981e80f3b3f /types.h | |
parent | 06164c29b759c3e21e79be03b285bdf3da6f5a25 (diff) |
Added support for multiple commands per key/button mapping; elegant fix for issue #150
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 { |