Skip to content
Commit f2278f31 authored by Adam Dawidowski's avatar Adam Dawidowski Committed by Dmitry Torokhov
Browse files

Input: fix force feedback upload issue in compat mode



Force feedback upload of effects through the event device (ioctl
EVIOCSFF) is not working in 32 bit applications running on 64-bit
kernel due to the fact that struct ff_effect contains a pointer,
resulting in the structure having different sizes in 64 and 32 bit
programs and causing difference in ioctl numbers.

[dtor@mail.ru: refactor to keep all ugliness in evdev]

Signed-off-by: default avatarAdam Dawidowski <drake_ster@wp.pl>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 82547e90
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment