[PATCH libevdev] doc: fix slightly confusing code/type comments
Peter Hutterer
peter.hutterer at who-t.net
Wed Aug 27 14:56:57 PDT 2014
On Wed, Aug 27, 2014 at 09:53:39PM +0300, Ran Benita wrote:
> Signed-off-by: Ran Benita <ran234 at gmail.com>
> ---
> libevdev/libevdev.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/libevdev/libevdev.h b/libevdev/libevdev.h
> index afc1d13..18df2c8 100644
> --- a/libevdev/libevdev.h
> +++ b/libevdev/libevdev.h
> @@ -1774,7 +1774,7 @@ int libevdev_disable_event_type(struct libevdev *dev, unsigned int type);
> /**
> * @ingroup kernel
> *
> - * Forcibly enable an event type on this device, even if the underlying
> + * Forcibly enable an event code on this device, even if the underlying
> * device does not support it. While this cannot make the device actually
> * report such events, it will now return true for libevdev_has_event_code().
> *
> @@ -1821,8 +1821,8 @@ int libevdev_enable_event_code(struct libevdev *dev, unsigned int type, unsigned
> * This is a local modification only affecting only this representation of
> * this device.
> *
> - * Disabling EV_SYN will not work. Don't shoot yourself in the foot.
> - * It hurts.
> + * Disabling codes of type EV_SYN will not work. Don't shoot yourself in the
> + * foot. It hurts.
> *
> * @param dev The evdev device, already initialized with libevdev_set_fd()
> * @param type The event type to disable (EV_ABS, EV_KEY, ...)
> --
> 2.1.0
pushed, thanks
Cheers,
Peter
More information about the Input-tools
mailing list