| summaryrefslogtreecommitdiff | 
diff options
| -rw-r--r-- | conf/t520_touchpad.conf | 4 | ||||
| -rw-r--r-- | src/relabsd_device.c | 18 | 
2 files changed, 7 insertions, 15 deletions
| diff --git a/conf/t520_touchpad.conf b/conf/t520_touchpad.conf new file mode 100644 index 0000000..988ccec --- /dev/null +++ b/conf/t520_touchpad.conf @@ -0,0 +1,4 @@ +# IBM Trackpoint +# AXIS   MIN   MAX   FUZZ  FLAT  RESOLUTION  OPTIONS +X        -24   50    5    0     1           direct +Y        -24   24    5    0     1           direct diff --git a/src/relabsd_device.c b/src/relabsd_device.c index f974e97..51dd6c0 100644 --- a/src/relabsd_device.c +++ b/src/relabsd_device.c @@ -269,16 +269,6 @@ void relabsd_device_set_axes_to_zero  )  {     int i; -//   libevdev_uinput_write_event -   relabsd_device_write_evdev_event -   ( -//      dev->uidev, -      dev, -      EV_SYN, -      SYN_REPORT, -      0 -   ); -     for (i = 0; i < RELABSD_VALID_AXES_COUNT; ++i)     { @@ -291,14 +281,12 @@ void relabsd_device_set_axes_to_zero              relabsd_axis_to_abs((enum relabsd_axis) i),              0           ); - -         /* -          * Also send a SYN event when the axes have been modified. -          */ -        }     } +   /* +    * Also send a SYN event when the axes have been modified. +    */     libevdev_uinput_write_event     (        dev->uidev, | 


