Skip to content

Commit 09141d7

Browse files
author
Robin Müller
committed
Moved direction_t enum to configuration.h
1 parent f34437d commit 09141d7

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/configuraion.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ typedef struct configuration {
4747
keys_array_t swipe_keys[MAX_FINGERS][DIRECTIONS_COUNT];
4848
} configuration_t;
4949

50+
typedef enum direction { UP, DOWN, LEFT, RIGHT, NONE } direction_t;
5051

5152
void clean_config(configuration_t *config);
5253

src/gesture_detection.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ typedef struct gesture_start {
4949
uint32_t distance;
5050
} gesture_start_t;
5151

52-
typedef enum direction { UP, DOWN, LEFT, RIGHT, NONE } direction_t;
5352

5453
static int test_grab(int fd) {
5554
int rc;

0 commit comments

Comments
 (0)