mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 22:50:27 +01:00
Whitespace fixes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
c3842dfe17
commit
340474857e
3 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue