The wheel that John is talking about was on the old joysticks. It was a thumb wheel located opposite the y axis trim adjustment wheel. The input was analog and reffered to in the code with a variable name similar to "thumb_wheel."
Here's the code to have the thumb wheel control the scaling on a joystick input.
Code:
if (joystick < 127) {
motor = 127 - ((127 - joystick) * (thumb_wheel/254));
} else if (joystick > 127) {
motor = 127 + ((joystick - 127) * (thumb_wheel/254));
}