Issues with recording Midi note events

Hi
i don’t know about your midi controller model, is there settings for multi midi output in your keyboard driver ?
when you record a midi/ instrument track and see duplicate notes that’s mean your midi controller/ keyboard sent multi midi channel notes

if your midi controller settings does not have multi output options you can use cubase Input Transformer to filter midi signal