mirror of
https://github.com/openharmony/third_party_libevdev.git
synced 2026-07-18 09:14:46 -04:00
update libevdev/libevdev-uinput.c.
Signed-off-by: houchengyu <houchengyu@huawei.com>
This commit is contained in:
@@ -468,7 +468,7 @@ libevdev_uinput_write_event(const struct libevdev_uinput *uinput_dev,
|
||||
unsigned int code,
|
||||
int value)
|
||||
{
|
||||
struct input_event ev = { {0,0}, type, code, value };
|
||||
struct input_event ev = {type, code, value};
|
||||
int fd = libevdev_uinput_get_fd(uinput_dev);
|
||||
int rc, max;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user