Files
furui/evdev.h
2026-04-01 22:30:31 +09:00

27 lines
905 B
C

/*
This file is part of Furui.
Furui is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Furui is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Furui. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef FURUI_EVDEV_H
#define FURUI_EVDEV_H
#include <libevdev/libevdev.h>
extern struct libevdev *furui_evdev_open(const char *path);
extern void furui_evdev_set_delay(struct libevdev *dev, int delay);
#endif /* FURUI_EVDEV_H */