Keyboard control character mapping

Think you found a bug? Report it here.
sbk58
Posts: 25
Joined: Fri Jul 21, 2017 7:48 pm
Location: Canada

Keyboard control character mapping

Postby sbk58 » Sat Feb 16, 2019 4:49 pm

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
User avatar
Ultibo
Site Admin
Posts: 2280
Joined: Sat Dec 19, 2015 3:49 am
Location: Australia

Re: Keyboard control character mapping

Postby Ultibo » Sun Feb 17, 2019 10:57 pm

Thank you, fix applied and committed now.
Ultibo.org | Make something amazing
https://ultibo.org

Return to “Bug reports”

Who is online

Users browsing this forum: No registered users and 2 guests