Hi
Go to the directory where PJ64 is based, then click on Project64 (help file) it has a yellow question mark on it.
Then click: Configuration>Plugin>Input
You will learn how to set up the input plugin to your liking then - and yes, it should work fine with the Sidewinder (used to use one myself).