trustcrypto / OnlyKey-Firmware

The OnlyKey Firmware runs on the OnlyKey itself and provides the core functionality of OnlyKey.
https://docs.crp.to/firmware.html
212 stars 40 forks source link

[ and ] incorrectly mapped for French Belgium #93

Closed tdltdl closed 4 years ago

tdltdl commented 4 years ago

based on picture image the [ and ] keys are swapped in keylayouts.c.

//Line 3954
ASCII_5B=KEY_RIGHT_BRACE + ALTGR_MASK;// 91 [ --> Should be KEY_LEFT_BRACE
ASCII_5C=KEY_NON_US_100 + ALTGR_MASK;// 92
ASCII_5D=KEY_LEFT_BRACE + ALTGR_MASK;// 93 ] --> Should be KEY_RIGHT_BRACE

Tested with firmware 0.2-beta8c, when you enter [ in the app and use the password, it types ] and vice-versa.

onlykey commented 4 years ago

@tdeleeuw Thanks we will get this fix in the next release