This might help you get started.
https://www.youtube.com/watch?v=8JO4m-OloqA&t=450s

HISE can respond to controller events and program change events independently. My latest tutorial (on Patreon) covers this but it's all in the https://docs.hise.audio/ and API browser.