SDL 1.x for AROS has working support for 2 sticks using lowlevel.library, the game goes for PowerSDL for MorphOS. Since these are open source, they can be used as a reference. There's also this code snippet: http://www.execbase.org/wiki/index.php?title=Controllers