I am doing a song that requires my Manual Pitch Shifting from my Keyboard, but LMMS never records it

What do I do? I saw a post from 2 years ago about assigning the button to the Automation Editor but I don't know how to do this on my Yamaha E443 keyboard?