doc: fix slightly confusing code/type comments
authorRan Benita <ran234@gmail.com>
Wed, 27 Aug 2014 18:53:39 +0000 (21:53 +0300)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 27 Aug 2014 21:54:22 +0000 (07:54 +1000)
Signed-off-by: Ran Benita <ran234@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
libevdev/libevdev.h

index afc1d13624df75f1c1f2a235ee9c3e6c23152efc..18df2c873d96d43fc8e70664dad0a72909d4bc1a 100644 (file)
@@ -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, ...)