Commit 34047485 authored by Peter Hutterer's avatar Peter Hutterer

Whitespace fixes

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent c3842dfe
......@@ -313,7 +313,7 @@ tp_gesture_same_directions(int dir1, int dir2)
}
static inline void
tp_gesture_init_pinch( struct tp_dispatch *tp)
tp_gesture_init_pinch(struct tp_dispatch *tp)
{
tp_gesture_get_pinch_info(tp,
&tp->gesture.initial_distance,
......
......@@ -1470,7 +1470,7 @@ evdev_scroll_get_default_button(struct libinput_device *device)
{
struct evdev_device *evdev = (struct evdev_device *)device;
if( libevdev_has_event_code(evdev->evdev, EV_KEY, BTN_MIDDLE))
if (libevdev_has_event_code(evdev->evdev, EV_KEY, BTN_MIDDLE))
return BTN_MIDDLE;
return 0;
......@@ -2743,7 +2743,7 @@ evdev_pre_configure_model_quirks(struct evdev_device *device)
*
* Disable the event codes to avoid stuck buttons.
*/
if(device->model_flags & EVDEV_MODEL_CYBORG_RAT) {
if (device->model_flags & EVDEV_MODEL_CYBORG_RAT) {
libevdev_disable_event_code(device->evdev, EV_KEY, 0x118);
libevdev_disable_event_code(device->evdev, EV_KEY, 0x119);
libevdev_disable_event_code(device->evdev, EV_KEY, 0x11a);
......
......@@ -486,7 +486,7 @@ wheel_click_count(struct litest_device *dev, int which)
if (which == REL_HWHEEL)
prop = udev_device_get_property_value(d, "MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL");
if(!prop)
if (!prop)
prop = udev_device_get_property_value(d, "MOUSE_WHEEL_CLICK_COUNT");
if (!prop)
goto out;
......@@ -517,7 +517,7 @@ wheel_click_angle(struct litest_device *dev, int which)
if (which == REL_HWHEEL)
prop = udev_device_get_property_value(d, "MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL");
if(!prop)
if (!prop)
prop = udev_device_get_property_value(d, "MOUSE_WHEEL_CLICK_ANGLE");
if (!prop)
goto out;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment