Got "enablejoystick();" to work, basically had to set steam's "desktop" config to "gamepad". Apparently SC is using xinput, which works with direct input games. Yay!
EDIT: Nevermind, enablejoystick(); works in main menu but it doesn't work when I'm in-game. I'm completely lost at this point.