Unless the shift button on your device physically changes the MID note being sent out by the button pressed in combination with it, this is certainly not going to work for MIDIprobably not for midi
There's suggestions on which applications you could use to roll your own solution earlier in the thread