Skip to content

Commit

Permalink
Fix missed merging conflicts
Browse files Browse the repository at this point in the history
Fixes commit 4711129
  • Loading branch information
irtimmer committed Apr 19, 2020
1 parent 4711129 commit 9510475
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/input/evdev.c
Expand Up @@ -57,11 +57,8 @@ struct input_device {
struct libevdev *dev;
bool is_keyboard;
bool is_mouse;
<<<<<<< HEAD
int rotate;
=======
bool is_touchscreen;
>>>>>>> tomblind/touchscreen
int rotate;
struct mapping* map;
int key_map[KEY_MAX];
int abs_map[ABS_MAX];
Expand Down Expand Up @@ -606,13 +603,10 @@ void evdev_create(const char* device, struct mapping* mappings, bool verbose, in
memset(&devices[dev].abs_map, -2, sizeof(devices[dev].abs_map));
devices[dev].is_keyboard = is_keyboard;
devices[dev].is_mouse = is_mouse;
<<<<<<< HEAD
devices[dev].rotate = rotate;
=======
devices[dev].is_touchscreen = is_touchscreen;
devices[dev].rotate = rotate;
devices[dev].touchDownX = TOUCH_UP;
devices[dev].touchDownY = TOUCH_UP;
>>>>>>> tomblind/touchscreen

int nbuttons = 0;
for (int i = BTN_JOYSTICK; i < KEY_MAX; ++i) {
Expand Down

0 comments on commit 9510475

Please sign in to comment.