Send 14bit midi CC

Hi im trying to implement the best way to send 14bit midi cc (sending 2 control messages).

  for (i = 0; i < NUM_AI; i++)
  {
    // Read the analogue input pin, check hysterisis, if it's real, shift 3bits right so the 10-bit ADC value (0-1023) is converted to a 7-bit MIDI value (0-127).
    tempAnalogueInput = analogRead(analogueInputMapping[i]); // read the analog pin into a temp variable
    if (abs(tempAnalogueInput - lastVal[i]) >= 2) { // is it noise?
      lastVal[i] = tempAnalogueInput; // nope, it's real, lets store that temp value as the last valid value for this ADC pin
      MIDI.sendControlChange(14 + i, tempAnalogueInput >> 3, MIDI_CHANNEL); // send the CC message on it's way.
      MIDI.sendControlChange(102 + i, tempAnalogueInput << 4, MIDI_CHANNEL);
    }

As you can se it reads the pots and shift 3 bits right so it just change the 10bit pot reading for a 7bit midi cc. And for the other cc if shift 4bits left. So for the MSB cc lests say, moving from position 5 to 6 the LSB should move from 0 to 127. so 128*128=16384 positions (14bit).

I dont know if this is the best way or it would be better to change the analog reading resolution prior.
It seems to be working, but i dont have a large pot in my hands right now to test.