Page 1 of 1

Keyboard control character mapping

Posted: Sat Feb 16, 2019 4:49 pm
by sbk58
Control keys do not report the correct key value when Caps Lock is active.

In the keyboard.pas unit line 3399 in the function KeyboardRemapCtrlCode should be changed;

FROM:

else if (KeyCode >= KEY_CODE_CAPITAL_A) and (KeyCode <= KEY_CODE_CAPITAL_A) then

TO:

else if (KeyCode >= KEY_CODE_CAPITAL_A) and (KeyCode <= KEY_CODE_CAPITAL_Z) then

Re: Keyboard control character mapping

Posted: Sun Feb 17, 2019 10:57 pm
by Ultibo
Thank you, fix applied and committed now.