doc: drop a confusing note

This note doesn't add anything, the delta to the last changed is the same as
the delta to the last event, otherwise it'd be 0.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-07-09 14:17:56 +10:00
parent e14d1a08a4
commit d195a96212

View file

@ -1358,10 +1358,6 @@ libinput_event_tablet_get_axis_value(struct libinput_event_tablet *event,
* For all other axes, see libinput_event_tablet_get_axis_value() for
* details.
*
* @note The delta is *not* the delta to the previous event, but the delta
* to the previous axis state, i.e. the delta to the last event that
* libinput_event_tablet_axis_has_changed() returned true for this axis.
*
* @param event The libinput tablet event
* @param axis The axis to retrieve the value of
* @return The delta to the previous axis value
@ -1379,10 +1375,6 @@ libinput_event_tablet_get_axis_delta(struct libinput_event_tablet *event,
* of physical mouse wheel clicks.
* For all other axes, this function returns 0.
*
* @note The delta is *not* the delta to the previous event, but the delta
* to the previous axis state, i.e. the delta to the last event that
* libinput_event_tablet_axis_has_changed() returned true for this axis.
*
* @param event The libinput tablet event
* @param axis The axis to retrieve the value of
* @return The delta to the previous axis value in discrete steps