• Sam Lantinga's avatar
    Fixed bug #1080 · c3300058
    Sam Lantinga authored
     Markus Rathgeb      2011-01-23 14:34:23 PST
    
    With kernel 2.6.31 the struct input_absinfo defined in linux/input.h changed.
    A field "__s32 resolution" was added at the end of the struct.
    
    Because the macro EVIOCGABS(abs) is using the struct input_absinfo, it would be
    better (IMHO) to change the declaration of variable values to
    "int values[sizeof(struct input_absinfo) / sizeof(int)];" or using "struct
    input_absinfo" directly.
    c3300058
SDL_sysjoystick.c 35.2 KB