v3.4 was released in 2012, every kernel since has that ioctl. So instead of assuming you're running new libevdev on an 8 year old kernel, let's assume that any error from the ioctl() is an actual error and handle it accordingly.
cc @bentiss
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
v3.4 was released in 2012, every kernel since has that ioctl. So instead of assuming you're running new libevdev on an 8 year old kernel, let's assume that any error from the ioctl() is an actual error and handle it accordingly.
cc @bentiss