That's good functionality indeed.
In the serial port, one can see that only ever one short or medium key press is triggered, but the long key press fires repeatedly, until the user eventually releases it.
How would one time-bracket the long key press similarly to the short and medium key press?