There seems to be a name conflict in this file. "SW_MAX" is defined in linux/input.h as a switch event, with value 0x0f. But our winuser.h has it defined as a ShowWindow() code, with value 11 (decimal). This joystick.c file includes linux/input.h and linux/joystick.h (which, in turn, includes linux/input.h).
Does anyone wish to take this up, and should I create a bug report in the meantime?
Thanks,
-- Andy.
My previous post should have said
...includes winuser.h and linux/joystick.h (which, in turn, includes linux/input.h)....