https://stash.reaper.fm/oldsb/133048/NoteToCC.jpg
These setting assign C=0 C#=64 D=127
If I just wanted to use the D=127 I would move min note up to 62. Of course you want to move the Center, Min Note and Max note to the top or bottom of the keyboard for On/Off type functionality.
Also, edit MIDI_Note_CC to get it to go the full range of 0 to 127 in 3 half steps.
change the 40 to 64:
slider6:1<.25,64,.25>Multiply Output Value
Edit: Just found something I don't like, I have to Change Output Original Message=Off to send thru messages that are below min and above the Max Note in.