[RMMV] YEP button common events help

Hello.

I need some help with YEP button common event plugin.
I'm using YEP keyboard config alongside.

What I need to do is :

When player press Key 'c' (keymapper 67) , turn switch x ON
This part is done and is working very well. My problem comes after

When player press Key 'c' (same key as before), turn the exact same switch OFF.

Does anyone have an idea please ?
Thanks a lot.
Use normal conditional branches for this in the common event.
If SwitchX is ON
...SwitchX = OFF
Else
...SwitchX = ON
Thanks a lot !

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-yep-button-common-events-help.123842/