Default [Q] Make Tasker identify a setting

Hello folks,

How can I make Tasker identify when I turn on screen rotation?

I would like to change my default keyboard when doing this, when I switch this setting from the quick settings, it also changes the keyboad

And kinda of new in tasker, I created a few tasks myself, but this one I can't know how

Any help appreciated
Stock Rooted Motorola Moto X