Can I make a combo where if the last movement of my right stick was left it will run one combo if the last movement was to the right it will run another combo? That would require it to be able to know and track the last stick movement even after it is completed. Is this possible?

EDIT: Is this possible through a toggle? RX > 30 toggle on RX < -30 toggle on. Then a button like LB can run one combo if LB && RX > 30 TOGGLE IS ON another if LB && RX<-30 TOGGLE IS ON. When one toggle turns ON the other would turn off. Perhaps the toggle could turn on a color and if that color is TRUE the press of a button LB will trigger a certain combo. Help please.