From: FeZoli Date: Mon, 6 Feb 2017 06:46:15 +0000 (+0100) Subject: Added Hungarian keyboard layout X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doc/howto.html?a=commitdiff_plain;h=refs%2Fchanges%2F93%2F3393%2F1;p=minix.git Added Hungarian keyboard layout Change-Id: Ib52ad3723ba6679506128813be962fd68f8998c5 --- diff --git a/distrib/sets/lists/minix-base/mi b/distrib/sets/lists/minix-base/mi index fa2fc7ba9..d493b4382 100644 --- a/distrib/sets/lists/minix-base/mi +++ b/distrib/sets/lists/minix-base/mi @@ -694,6 +694,7 @@ ./usr/lib/keymaps/dvorak.map minix-base ./usr/lib/keymaps/french.map minix-base ./usr/lib/keymaps/german.map minix-base +./usr/lib/keymaps/hungarian.map minix-base ./usr/lib/keymaps/italian.map minix-base ./usr/lib/keymaps/japanese.map minix-base ./usr/lib/keymaps/latin-america.map minix-base diff --git a/minix/drivers/tty/tty/keymaps/Makefile b/minix/drivers/tty/tty/keymaps/Makefile index b2890610c..2f835ac7d 100644 --- a/minix/drivers/tty/tty/keymaps/Makefile +++ b/minix/drivers/tty/tty/keymaps/Makefile @@ -2,10 +2,10 @@ .include -FILES= dvorak.map french.map german.map italian.map japanese.map \ - latin-america.map norwegian.map polish.map russian-cp866.map \ - russian.map scandinavian.map spanish.map uk.map \ - us-std.map us-swap.map russian-cp1251.map \ +FILES= dvorak.map french.map german.map hungarian.map italian.map \ + japanese.map latin-america.map norwegian.map polish.map \ + russian-cp866.map russian.map scandinavian.map \ + spanish.map uk.map us-std.map us-swap.map russian-cp1251.map \ ukraine-koi8-u.map portuguese.map abnt2.map colemak.map FILESDIR= /usr/lib/keymaps diff --git a/minix/drivers/tty/tty/keymaps/hungarian.src b/minix/drivers/tty/tty/keymaps/hungarian.src new file mode 100644 index 000000000..c74e41542 --- /dev/null +++ b/minix/drivers/tty/tty/keymaps/hungarian.src @@ -0,0 +1,108 @@ +/* Keymap for Hungarian PC-102 keyboard. */ + +/* scan-code unsh Shift Alt AltGr Alt+Sh Strg */ +/* ==================================================================== */ + K(A) = { L('a'), 'A', A('a'), 'a', 'X', C('A') }, + K(B) = { L('b'), 'B', A('b'), '{', 'X', C('B') }, + K(C) = { L('c'), 'C', A('c'), '&', 'C', C('C') }, + K(D) = { L('d'), 'D', A('d'), 0320, 'D', C('D') }, + K(E) = { L('e'), 'E', A('e'), 'e', 'E', C('E') }, + K(F) = { L('f'), 'F', A('f'), '[', 'F', C('F') }, + K(G) = { L('g'), 'G', A('g'), ']', 'G', C('G') }, + K(H) = { L('h'), 'H', A('h'), 'h', 'H', C('H') }, + K(I) = { L('i'), 'I', A('i'), 'i', 'I', C('I') }, + K(J) = { L('j'), 'J', A('j'), 'j', 'J', C('J') }, + K(K) = { L('k'), 'K', A('k'), 0243, 'K', C('K') }, + K(L) = { L('l'), 'L', A('l'), 0243, 'L', C('L') }, + K(M) = { L('m'), 'M', A('m'), 0346, 'M', C('M') }, + K(N) = { L('n'), 'N', A('n'), '}', 'N', C('N') }, + K(O) = { L('o'), 'O', A('o'), 'o', 'O', C('O') }, + K(P) = { L('p'), 'P', A('p'), 'p', 'P', C('P') }, + K(Q) = { L('q'), 'Q', A('q'), '\\', 'Q', C('Q') }, + K(R) = { L('r'), 'R', A('r'), 'r', 'R', C('R') }, + K(S) = { L('s'), 'S', A('s'), 's', 0320, C('S') }, + K(T) = { L('t'), 'T', A('t'), 't', 'T', C('T') }, + K(U) = { L('u'), 'U', A('u'), 'u', 'U', C('U') }, + K(V) = { L('v'), 'V', A('v'), '@', 'V', C('V') }, + K(W) = { L('w'), 'W', A('w'), '|', 'W', C('W') }, + K(X) = { L('x'), 'X', A('x'), '#', 'X', C('X') }, + K(Y) = { L('z'), 'Z', A('z'), 'z', 'Z', C('Z') }, + K(Z) = { L('y'), 'Y', A('y'), '>', 'Y', C('Y') }, + K(1) = { '1', '\'', A('1'), '~', '!', C('A') }, + K(2) = { '2', '"', A('2'), '2', '@', C('@') }, + K(3) = { '3', '+', A('3'), '^', '^', C('C') }, + K(4) = { '4', '!', A('4'), '4', '$', C('D') }, + K(5) = { '5', '%', A('5'), 0260, '%', C('E') }, + K(6) = { '6', '/', A('6'), '6', '^', C('^') }, + K(7) = { '7', '=', A('7'), '`', '&', C('G') }, + K(8) = { '8', '(', A('8'), '8', '*', C('H') }, + K(9) = { '9', ')', A('9'), '9', '(', C('I') }, + K(0) = { 0366, 0326, A(0366),L(0366),0246, C('@') }, + K(ENTER) = { C('M'), C('M'), A('M'),C('M'), C('M'), C('J') }, + K(ESCAPE) = { C('['), C('['), CA('['),C('['), C('['), C('[') }, + K(BACKSPACE) = { C('H'), C('H'), CA('H'),C('H'), C('H'), DEL }, + K(TAB) = { C('I'), C('I'), CA('I'),C('I'), C('I'), C('I') }, + K(SPACEBAR) = { ' ', ' ', A(' '), ' ', ' ', C('@') }, + K(DASH) = { 0374, 0334, A(0334), 0250, '_', C('_') }, + K(EQUAL) = { 0363, 0323, A(0323), 0054, '+', C('@') }, + K(OPEN_BRACKET) = { 0365, 0325, A(0365), 0261, '{', C('[') }, + K(CLOSE_BRACKET) = { 0372, 0332, A(0372), 0327, ']', C(']') }, + K(BACKSLASH) = { 0373, 0333, A(0373), 0244, A('<'),C('\\') }, + K(SEMICOLON) = { 0351, 0311, 0233, '$', ':', C('@') }, + K(APOSTROPH) = { 0341, 0301, A(0341), 0337, '"', C('@') }, + K(GRAVE_ACCENT) = { '0', 0247, A(0341),'`', '~', C('0') }, + K(COMMA) = { ',', '?', A(','), ';', '<', C('@') }, + K(PERIOD) = { '.', ':', A('.'), '.', '>', C('@') }, + K(SLASH) = { '-', '_', 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 }, + K(F3) = { F3, SF3, AF3, AF3, ASF3, CF3 }, + K(F4) = { F4, SF4, AF4, AF4, ASF4, CF4 }, + K(F5) = { F5, SF5, AF5, AF5, ASF5, CF5 }, + K(F6) = { F6, SF6, AF6, AF6, ASF6, CF6 }, + K(F7) = { F7, SF7, AF7, AF7, ASF7, CF7 }, + K(F8) = { F8, SF8, AF8, AF8, ASF8, CF8 }, + K(F9) = { F9, SF9, AF9, AF9, ASF9, CF9 }, + K(F10) = { F10, SF10, AF10, AF10, ASF10, CF10 }, + K(F11) = { F11, SF11, AF11, AF11, ASF11, CF11 }, + K(F12) = { F12, SF12, AF12, AF12, ASF12, CF12 }, + K(SCROLL_LOCK) = { SLOCK, SLOCK, SLOCK, SLOCK, SLOCK, SLOCK }, + K(INSERT) = { INSRT, INSRT, AINSRT, AINSRT, AINSRT, CINSRT }, + K(HOME) = { HOME, HOME, AHOME, AHOME, AHOME, CHOME }, + K(PAGE_UP) = { PGUP, PGUP, APGUP, APGUP, APGUP, CPGUP }, + K(DELETE) = { DEL, DEL, A(DEL), DEL, A(DEL), DEL }, + K(END) = { END, END, AEND, AEND, AEND, CEND }, + K(PAGE_DOWN) = { PGDN, PGDN, APGDN, APGDN, APGDN, CPGDN }, + K(RIGHT_ARROW) = { RIGHT, RIGHT, ARIGHT, ARIGHT, ARIGHT, CRIGHT }, + K(LEFT_ARROW) = { LEFT, LEFT, ALEFT, ALEFT, ALEFT, CLEFT }, + K(DOWN_ARROW) = { DOWN, DOWN, ADOWN, ADOWN, ADOWN, CDOWN }, + K(UP_ARROW) = { UP, UP, AUP, AUP, AUP, CUP }, + K(NUM_LOCK) = { NLOCK, NLOCK, NLOCK, NLOCK, NLOCK, NLOCK }, + K(KP_SLASH) = { '/', '/', A('/'), A('/'), '/', C('@') }, + K(KP_STAR) = { '*', '*', A('*'), '*', '*', C('@') }, + K(KP_DASH) = { '-', '-', AMIN, AMIN, '-', CNMIN }, + K(KP_PLUS) = { '+', '+', APLUS, APLUS, '+', CPLUS }, + K(KP_ENTER) = { C('M'), C('M'), CA('M'),C('M'), CA('M'),C('J') }, + K(KP_1) = { NEND, '1', AEND, AEND, '1', CEND }, + K(KP_2) = { NDOWN, '2', ADOWN, ADOWN, '2', CDOWN }, + K(KP_3) = { NPGDN, '3', APGDN, APGDN, '3', CPGDN }, + K(KP_4) = { NLEFT, '4', ALEFT, ALEFT, '4', CLEFT }, + K(KP_5) = { NMID, '5', AMID, AMID, '5', CMID }, + K(KP_6) = { NRIGHT, '6', ARIGHT, ARIGHT, '6', CRIGHT }, + K(KP_7) = { NHOME, '7', AHOME, AHOME, '7', CHOME }, + K(KP_8) = { NUP, '8', AUP, AUP, '8', CUP }, + K(KP_9) = { NPGUP, '9', APGUP, APGUP, '9', CPGUP }, + K(KP_0) = { NINSRT, '0', AINSRT, AINSRT, '0', CINSRT }, + K(KP_PERIOD) = { NDEL, '.', A(DEL), DEL, '.', DEL }, + K(EUROPE_2) = { 0355, 0315, A('<'), '<', '<', C('@') }, + K(APPLICATION) = { C('M'), C('M'), CA('M'),C('M'), C('M'), C('J') }, + K(SYSREQ) = { C('M'), C('M'), CA('M'),C('M'), C('M'), C('J') }, + K(LEFT_CTRL) = { LCTRL, LCTRL, LCTRL, LCTRL, LCTRL, LCTRL }, + K(LEFT_SHIFT) = { LSHIFT, LSHIFT, LSHIFT, LSHIFT, LSHIFT, LSHIFT }, + K(LEFT_ALT) = { LALT, LALT, LALT, LALT, LALT, LALT }, + K(LEFT_GUI) = { LEFT, '<', ALEFT, ALEFT, A('<'), CLEFT }, + K(RIGHT_CTRL) = { RCTRL, RCTRL, RCTRL, RCTRL, RCTRL, RCTRL }, + K(RIGHT_SHIFT) = { RSHIFT, RSHIFT, RSHIFT, RSHIFT, RSHIFT, RSHIFT }, + K(RIGHT_ALT) = { RALT, RALT, RALT, RALT, RALT, RALT }, + K(RIGHT_GUI) = { RIGHT, '>', ARIGHT, ARIGHT, A('>'), CRIGHT }