I have defined a qstatemachine which contains a qstate q1 that can be accessed from several different qstates, however, once reached the qstate q1 the program behaviour must be different depending on the signal which invoke the transition, nevertheless I do not know how to find out which signal caused the transition, since the entered signal of the qstate does not report this.
Moreover, sometimes I can access the qstate q1 from the same state q2 by different signals (so it's not enough for me to know what the latest state was, I need to know which signal caused the transition)

Does anyone know how to do that?