I wondered if anyone knew how to program a Palm Mute Keyswitch into a guitar patch in Kontakt?

I'd like to press the sustain pedal, strum chords, and use a keyswitch that simulates a palm mute. This is the way some guitar libraries work (I believe the Musiclab Real Guitar may work this way).

For certain performances I like to hold the sustain pedal and strum (or use a strummer like a Digitar which actual plays a note on command until the same strings are strummed again) and then use a keyswitch to simulate quickly stopping the strings (note off command) as is useful for certain rhythmic guitar performances.