From: Marcelo Alencar Date: Mon, 5 Mar 2018 02:51:13 +0000 (+0000) Subject: Fix brazilian ABNT2 keymap X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/FAQ?a=commitdiff_plain;h=a27e58e1f7027bdd1fce3dc222dd24fa10d514fb;p=minix.git Fix brazilian ABNT2 keymap This adds two missing keys (0x73 and 0x7e) and fixes KP_PERIOD (it should type a comma, not a period), as mentioned in https://groups.google.com/d/msg/minix3/Pezep_HOL3I/mnfZXAeLsTMJ Closes #247 Change-Id: Id85d04e36adcaa1a502cac8e5013396ea92502fe --- diff --git a/minix/drivers/tty/tty/keymaps/abnt2.src b/minix/drivers/tty/tty/keymaps/abnt2.src index 391b29a09..c2106fadb 100644 --- a/minix/drivers/tty/tty/keymaps/abnt2.src +++ b/minix/drivers/tty/tty/keymaps/abnt2.src @@ -53,7 +53,7 @@ K(GRAVE_ACCENT) = { '\'', '"', A('\''),A('\''),A('"'), C('@') }, K(COMMA) = { ',', '<', A(','), A(','), A('<'), C('@') }, K(PERIOD) = { '.', '>', A('.'), A('.'), A('>'), C('@') }, - K(SLASH) = { 59, 58, A(59), A(58), A(59), C('@') }, + K(SLASH) = { ';', ':', A(';'), A(';'), A(':'), C('@') }, K(CAPS_LOCK) = { CALOCK, CALOCK, CALOCK, CALOCK, CALOCK, CALOCK }, K(F1) = { F1, SF1, AF1, AF1, ASF1, CF1 }, K(F2) = { F2, SF2, AF2, AF2, ASF2, CF2 }, @@ -94,10 +94,11 @@ K(KP_8) = { NUP, '8', AUP, AUP, A('8'), CUP }, K(KP_9) = { NPGUP, '9', APGUP, APGUP, A('9'), CPGUP }, K(KP_0) = { NINSRT, '0', AINSRT, AINSRT, A('0'), CINSRT }, - K(KP_PERIOD) = { NDEL, '.', A(DEL), A(DEL), A('.'), DEL }, + K(KP_PERIOD) = { NDEL, ',', A(DEL), A(DEL), A(','), DEL }, K(EUROPE_2) = { '\\', '|', A('\\'),A('|'), A('\\'),C('@') }, K(APPLICATION) = { C('M'), C('M'), CA('M'),CA('M'),CA('M'),C('J') }, - K(KP_EQUAL) = { '?', 0, 0, 0, 0, 0 }, + K(I10L_1) = { '/', '?', A('/'), A('/'), A('?'), C('@') }, + K(EQUAL_SIGN) = { '.', '.', 0, 0, 0, 0 }, K(SYSREQ) = { C('M'), C('M'), CA('M'),CA('M'),CA('M'),C('J') }, K(LEFT_CTRL) = { LCTRL, LCTRL, LCTRL, LCTRL, LCTRL, LCTRL }, K(LEFT_SHIFT) = { LSHIFT, LSHIFT, LSHIFT, LSHIFT, LSHIFT, LSHIFT },