From 9c92de858484b6bbe90252955bef5f77a80f3c45 Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Wed, 23 Jul 2014 23:41:23 +0200 Subject: Added support for multiple commands per key/button mapping; elegant fix for issue #150 --- types.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'types.h') 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 { -- cgit v1.2.3-54-g00ecf