diff options
| author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-08-14 10:22:24 +1000 |
|---|---|---|
| committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-08-14 10:22:48 +1000 |
| commit | 551134b5fa52997007a38d268e5fa6025bc003c2 (patch) | |
| tree | b22ea463800caa213b572626e4e34da97e93ad5f /libevdev/libevdev.h | |
| parent | e35411d9595dcbc56e4956d1fc7f89fd229bb66b (diff) | |
| download | libevdev-551134b5fa52997007a38d268e5fa6025bc003c2.tar.gz | |
Minor documentation improvement
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'libevdev/libevdev.h')
| -rw-r--r-- | libevdev/libevdev.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libevdev/libevdev.h b/libevdev/libevdev.h index 67c609d..bd65175 100644 --- a/libevdev/libevdev.h +++ b/libevdev/libevdev.h @@ -996,9 +996,10 @@ int libevdev_enable_event_type(struct libevdev *dev, unsigned int type); * @ingroup kernel * * Forcibly disable an event type on this device, even if the underlying - * device provides it, effectively muting all keys or axes. libevdev will - * filter any events matching this type and none will reach the caller. - * libevdev_has_event_type() will return false for this type. + * device provides it. This effectively mutes the respective set of + * events. libevdev will filter any events matching this type and none will + * reach the caller. libevdev_has_event_type() will return false for this + * type. * * In most cases, a caller likely only wants to disable a single code, not * the whole type. Use libevdev_disable_event_code() for that. @@ -1052,10 +1053,10 @@ int libevdev_enable_event_code(struct libevdev *dev, unsigned int type, unsigned * @ingroup kernel * * Forcibly disable an event code on this device, even if the underlying - * device provides it, effectively muting this key or axis. libevdev will - * filter any events matching this type and code and none will reach the - * caller. - * libevdev_has_event_code() will return false for this code combination. + * device provides it. This effectively mutes the respective set of + * events. libevdev will filter any events matching this type and code and + * none will reach the caller. libevdev_has_event_code() will return false for + * this code. * * Disabling all event codes for a given type will not disable the event * type. Use libevdev_disable_event_type() for that. |
