mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2026-05-05 16:58:03 +02:00
cosmetic: fix a comment
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
bc428e0211
commit
5e49ce5630
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ init_event_queue(struct libevdev *dev)
|
||||||
/* count the number of axes, keys, etc. to get a better idea at how
|
/* count the number of axes, keys, etc. to get a better idea at how
|
||||||
many events per EV_SYN we could possibly get. That's the max we
|
many events per EV_SYN we could possibly get. That's the max we
|
||||||
may get during SYN_DROPPED too. Use double that, just so we have
|
may get during SYN_DROPPED too. Use double that, just so we have
|
||||||
room for events while syncing an event.
|
room for events while syncing a device.
|
||||||
*/
|
*/
|
||||||
for (type = EV_KEY; type < EV_MAX; type++) {
|
for (type = EV_KEY; type < EV_MAX; type++) {
|
||||||
int max = libevdev_event_type_get_max(type);
|
int max = libevdev_event_type_get_max(type);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue