http://bugs.winehq.org/show_bug.cgi?id=4788
------- Additional Comments From mike@codeweavers.com 2006-10-03 00:38 -------
Your patch looks OK, except you should leave JOYDEV alone, and add /dev/input/js0 as JOYDEV_ALT, and stick to the four space indent and ANSI C bracket style in the rest of the file.
IMO, you're working around a deficiency in your operating system, not fixing a wine bug.