Added missing joystick functions.

...and rejigged Sledge to use them.