I found many searching for "6 dof joystick". The Logitech page looks quite informative.
Like a lollipop stuck into the joystick shaft/base. You grab the lolly and push and twist it as you like. Pushes (linear) are detected in the base, turns (rotations) are detected within the lolly.