Need to support KEY OFF. To avoid wasting tokens, change TRON to TRACE and TROFF to OFF. Handle TRON and TROFF as substitutes in the pre-tokenizer. KEY OFF sets all the macros to be the actual key value, effectively enabling the keys to be read as a normal key-press.
Need to support
KEY OFF
. To avoid wasting tokens, changeTRON
toTRACE
andTROFF
toOFF
. HandleTRON
andTROFF
as substitutes in the pre-tokenizer.KEY OFF
sets all the macros to be the actual key value, effectively enabling the keys to be read as a normal key-press.