mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-21 12:00:06 +01:00
Fix a comment to reflect the new API
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
64e1ed2cef
commit
a263d7f71b
1 changed files with 3 additions and 3 deletions
|
|
@ -112,9 +112,9 @@ extern "C" {
|
|||
* }
|
||||
* printf("Input device name: \"%s\"\n", libevdev_get_name(dev));
|
||||
* printf("Input device ID: bus %#x vendor %#x product %#x\n",
|
||||
* libevdev_get_bustype(dev),
|
||||
* libevdev_get_vendor_id(dev),
|
||||
* libevdev_get_product_id(dev));
|
||||
* libevdev_get_id_bustype(dev),
|
||||
* libevdev_get_id_vendor(dev),
|
||||
* libevdev_get_id_product(dev));
|
||||
* if (!libevdev_has_event_type(dev, EV_REL) ||
|
||||
* !libevdev_has_event_code(dev, EV_KEY, BTN_LEFT)) {
|
||||
* printf("This device does not look like a mouse\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue