Open y0014984 opened 1 year ago
I think this is not that hard to implement. We can use a varaible stat stores the current status of capslock. In the fnc_terminal_addEventHandler.sqf
we could add some logic to check for current active capslock and then invert the _shift
variable. I think everything can be done in this file and we should add that fix to v0.5.2
The only unsolveable issue is that we can't sync with the capslock state of the underlying operating system (for example windows). So, if capslock is already active in windows while starting arma, in armaOS capslock would be inactive. The status would be always inverted to the status inside the operating system.
At the moment all keyboard input in treated directly ignoring if CAPSLOCK is currently active. We should enable that feature.