This file uses internal SDL headers as a hack, without actually being built as part of SDL, so we should use normal C functions here.
This uses pre-recorded evdev capabilities, so that we can check for regressions without the devices having to be physically present. Signed-off-by: Simon McVittie <smcv@collabora.com>