Key_Flag_Pressed

private val Key_Flag_Pressed: Int = 1

Key event processing status

Key_Flag_Idle
Calculator is idle and ready to receive the next button from the key buffer
Key_Flag_Pressed
Calculator is processing the pressed event
Key_Flag_Wait
Waiting for the calcuator to process the event
Key_Flag_Depressed
Calculator is processing the de-pressed event