Looking for some driver assistance

Hi folks! I’m modelling a slider control with an integral LED display. The slider moves with a shape-key. I’d like to use the shape-key value to drive the values in a texture Mapping node to match the LEDs to the slider (see pic). I could use a separate Empty to drive both, but this seems unnecessary? Suggestions or pointers to any helpful tutorials greatly appreciated. Thank you!