Mice aren't too technical, and the protocols used are open. Since this is what is used for the real communication, it'll work in Linux.
Now, some advanced features may or may not work in Linux, but the parts that matter (moving, 3 buttons, scrolling) work in Linux. (and your mouse doesn't have anything more).
The same thing should hold true for gamepads, but that assumes that gamepads are fully supported by Linux. They probably are, but I'm not sure.