Fixed an issue where shift was being checked as if it was a toggle key. (0x0001 instead of 0x1000)
Slight optimization on how save function is working.
Not passing filename around on every trigger.
File handler is kept open, and instead flushed on every step.
Known issues:
Will not convert extended ascii character (like ş,ü,ç) to capital letters, but will still log correctly on their lowercase forms.
It is probable that if you are viewing the log file from another computer that has another ansi encoding, maybe different system language, encoding might be wrong on extended characters.
For example 'Ş' s might be viewed as 'þ' s depending on language. Standard characters are fine.
Following fixes were applied:
Known issues: