Advanced-Equipment icon indicating copy to clipboard operation
Advanced-Equipment copied to clipboard

Add CAPSLOCK support to armaOS

Open y0014984 opened this issue 1 year ago • 2 comments

At the moment all keyboard input in treated directly ignoring if CAPSLOCK is currently active. We should enable that feature.

y0014984 avatar Feb 03 '23 15:02 y0014984

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

y0014984 avatar Feb 03 '23 15:02 y0014984

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.

y0014984 avatar Feb 03 '23 15:02 y0014984