summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorpascal <pascal@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-08-21 10:45:53 +0000
committerpascal <pascal@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-08-21 10:45:53 +0000
commit15d8f7e5a300641af93a2afcf28f1d10df2a454d (patch)
tree02e06ac13d3560ac22692f5632acfb5f383ed103 /linux
parent58c14c6739400086c41682018649c83b27d47b35 (diff)
downloadneo-layout-15d8f7e5a300641af93a2afcf28f1d10df2a454d.tar.gz
neo-layout-15d8f7e5a300641af93a2afcf28f1d10df2a454d.tar.bz2
neo-layout-15d8f7e5a300641af93a2afcf28f1d10df2a454d.zip
keymap, um NEO auch ohne X in der Console benutzten zu können
Sehr wahrscheinlich noch fehlerhaft!!! Es ist also Vorsicht geboten git-svn-id: https://svn.neo-layout.org@784 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'linux')
-rw-r--r--linux/console/README17
-rw-r--r--linux/console/neo.map471
2 files changed, 488 insertions, 0 deletions
diff --git a/linux/console/README b/linux/console/README
new file mode 100644
index 0000000..9822c38
--- /dev/null
+++ b/linux/console/README
@@ -0,0 +1,17 @@
+Die Datei neo.map enthält eine keymap, um die NEO-Tastaturbelegung auch ohne X auf der Konsole benutzten zu können.
+Dazu wird die keymap (leider als root!!) mit »loadkeys PFAD/neo.map« geladen.
+Mit »loadkeys -d« wird wieder die Standardbelegung verwendet.
+
+Die neo.map kann auch selbst als Standardbelegung verwendet werden, ob dies aber unter verschiedenen Linux-
+Distributionen unterschiedlich ist, bleibt abzuwarten.
+
+
+Falls das Keypad nicht korrekt funktioniert, dann liegt dies am falschen Status von »NumLock« (den es unter NEO
+nicht mehr gibt). Um NumLock dennoch nachträglich einschalten zu können, muss die Menü-Taste (in der untersten
+Reihe) betätigt werden.
+
+Diese Keymap ist für ein MS Natural Keyboard Elite erstellt worden. Sollten andere Tastaturen andere keycodes
+verwenden (z.B. Laptoptastaturen), sollte dies auf den Mailingliste der NEO-Tastaturbelegung gemeldet werden.
+
+
+Der nächste Schritt sollte sein, die Compose-Erweiterungen von NEO auch für diese Keymap verfügbar zu machen.
diff --git a/linux/console/neo.map b/linux/console/neo.map
new file mode 100644
index 0000000..06db764
--- /dev/null
+++ b/linux/console/neo.map
@@ -0,0 +1,471 @@
+! neo.map - german NEO keyboard layout
+!
+! Diese Datei ist experimentell!
+! Sollten Fehler auftreten oder sich verschiedene Linux-Distributionen
+! anders verhalten als erwartet, sollte dies auf der Mailingliste
+! der NEO-Tastaturbelegung gemeldet werden.
+!
+! Diese Keymap wird �ber einige Skripte automatisch aus der neo_de.xmodmap
+! erzeugt.
+!
+
+keymaps 0-3,4-6,8-10,12,16-18
+charset "ISO-8859-1"
+include "linux-with-two-alt-keys.inc"
+strings as usual
+compose as usual for "iso-8859-1"
+! --------------------------------------------------------------------------
+! Modifier definitions
+! --------------------------------------------------------------------------
+ keycode 42 = Shift
+ keycode 54 = Shift
+ keycode 58 = AltGr
+ keycode 43 = AltGr
+ keycode 86 = ShiftL
+ keycode 100 = ShiftL
+
+ keycode 1 = Escape Escape
+ alt keycode 1 = Meta_Escape
+ shift altgr keycode 1 = Meta_Escape
+
+! --------------------------------------------------------------------------
+! Keys with control function (has to be edited manally!!!!)
+! --------------------------------------------------------------------------
+ control keycode 33 = Control_e
+ shift control keycode 33 = Control_e
+ altgr control keycode 33 = Control_e
+ alt keycode 33 = Meta_e
+ shift alt keycode 33 = Meta_E
+ altgr alt keycode 33 = Meta_e
+ control alt keycode 33 = Meta_Control_e
+ control keycode 19 = Control_c
+ shift control keycode 19 = Control_c
+ altgr control keycode 19 = Control_c
+ alt keycode 19 = Meta_c
+ shift alt keycode 19 = Meta_C
+ altgr alt keycode 19 = Meta_c
+ control alt keycode 19 = Meta_Control_c
+ control keycode 50 = Control_m
+ shift control keycode 50 = Control_m
+ altgr control keycode 50 = Control_m
+ alt keycode 50 = Meta_m
+ shift alt keycode 50 = Meta_M
+ altgr alt keycode 50 = Meta_m
+ control alt keycode 50 = Meta_Control_m
+
+! --------------------------------------------------------------------------
+! function keys
+! --------------------------------------------------------------------------
+! ----Backspace-------------------------------------------------------------
+ keycode 42 = Delete Delete
+ alt keycode 14 = Meta_Delete
+ shift alt keycode 14 = Meta_Delete
+! ----Return Enter----------------------------------------------------------
+ keycode 28 = Return
+ alt keycode 28 = Meta_Control_m
+ keycode 96 = KP_Enter
+ altgr keycode 96 = Hex_F
+! ----Tab-------------------------------------------------------------------
+ keycode 15 = Tab Meta_Tab
+ alt keycode 15 = Meta_Tab
+ altgr keycode 15 = Compose
+! ----Control Alt-----------------------------------------------------------
+ keycode 29 = Control
+ keycode 97 = Control
+ keycode 56 = Alt
+! ----Prt SclLk Pause-------------------------------------------------------
+ keycode 99 =
+ control keycode 99 = Control_backslash
+ alt keycode 99 = Control_backslash
+ control alt keycode 99 = Meta_Control_backslash
+ keycode 70 = Scroll_Lock Show_Memory Show_Registers Show_State
+ alt keycode 70 = Scroll_Lock
+ keycode 119 = Pause
+! ----Home block------------------------------------------------------------
+ keycode 102 = Find
+ keycode 104 = Prior
+ shift keycode 104 = Scroll_Backward
+ keycode 107 = Select
+ keycode 109 = Next
+ shift keycode 109 = Scroll_Forward
+ keycode 111 = Remove
+ altgr control keycode 111 = Boot
+ control alt keycode 111 = Boot
+ keycode 110 = Insert
+! ----Navigation block------------------------------------------------------
+ keycode 103 = Up
+ alt keycode 103 = KeyboardSignal
+ keycode 105 = Left
+ alt keycode 105 = Decr_Console
+ keycode 106 = Right
+ alt keycode 106 = Incr_Console
+ keycode 108 = Down
+! ----Win keys--------------------------------------------------------------
+ keycode 125 =
+ keycode 126 = Compose
+! ----menue key-------------------------------------------------------------
+ keycode 127 = F100
+! ----F-keys----------------------------------------------------------------
+ keycode 59 = F1 F13 Console_13 F25
+ alt keycode 59 = Console_1
+ control alt keycode 59 = Console_1
+ keycode 60 = F2 F14 Console_14 F26
+ alt keycode 60 = Console_2
+ control alt keycode 60 = Console_2
+ keycode 61 = F3 F15 Console_15 F27
+ alt keycode 61 = Console_3
+ control alt keycode 61 = Console_3
+ keycode 62 = F4 F16 Console_16 F28
+ alt keycode 62 = Console_4
+ control alt keycode 62 = Console_4
+ keycode 63 = F5 F17 Console_17 F29
+ alt keycode 63 = Console_5
+ control alt keycode 63 = Console_5
+ keycode 64 = F6 F18 Console_18 F30
+ alt keycode 64 = Console_6
+ control alt keycode 64 = Console_6
+ keycode 65 = F7 F19 Console_19 F31
+ alt keycode 65 = Console_7
+ control alt keycode 65 = Console_7
+ keycode 66 = F8 F20 Console_20 F32
+ alt keycode 66 = Console_8
+ control alt keycode 66 = Console_8
+ keycode 67 = F9 F21 Console_21 F33
+ alt keycode 67 = Console_9
+ control alt keycode 67 = Console_9
+ keycode 68 = F10 F22 Console_22 F34
+ alt keycode 68 = Console_10
+ control alt keycode 68 = Console_10
+ keycode 87 = F11 F23 Console_23 F35
+ alt keycode 87 = Console_11
+ control alt keycode 87 = Console_11
+ keycode 88 = F12 F24 Console_24 F36
+ alt keycode 88 = Console_12
+ control alt keycode 88 = Console_12
+! ----unknown keys from defkeymap.map---------------------------------------
+ keycode 101 = Break
+ keycode 84 = Last_Console
+ keycode 112 = Macro
+ altgr control keycode 112 = VoidSymbol
+ shift alt keycode 112 = VoidSymbol
+ altgr alt keycode 112 = VoidSymbol
+ keycode 113 = F13
+ altgr control keycode 113 = VoidSymbol
+ shift alt keycode 113 = VoidSymbol
+ altgr alt keycode 113 = VoidSymbol
+ keycode 114 = F14
+ altgr control keycode 114 = VoidSymbol
+ shift alt keycode 114 = VoidSymbol
+ altgr alt keycode 114 = VoidSymbol
+ keycode 115 = Help
+ altgr control keycode 115 = VoidSymbol
+ shift alt keycode 115 = VoidSymbol
+ altgr alt keycode 115 = VoidSymbol
+ keycode 116 = Do
+ altgr control keycode 116 = VoidSymbol
+ shift alt keycode 116 = VoidSymbol
+ altgr alt keycode 116 = VoidSymbol
+ keycode 117 = F17
+ altgr control keycode 117 = VoidSymbol
+ shift alt keycode 117 = VoidSymbol
+ altgr alt keycode 117 = VoidSymbol
+ keycode 118 = KP_MinPlus
+ altgr control keycode 118 = VoidSymbol
+ shift alt keycode 118 = VoidSymbol
+ altgr alt keycode 118 = VoidSymbol
+! ----unknown keys----------------------------------------------------------
+ keycode 57 = space space space nobreakspace
+ shiftl keycode 57 = zero
+ shift shiftl keycode 57 = zero
+ altgr shiftl keycode 57 = U+202F
+
+
+! --------------------------------------------------------------------------
+! Row 1 (number row)
+! --------------------------------------------------------------------------
+ keycode 41 = dead_circumflex dead_caron dead_breve VoidSymbol
+ shiftl keycode 41 = VoidSymbol
+ shift shiftl keycode 41 = VoidSymbol
+ altgr shiftl keycode 41 = VoidSymbol
+ keycode 2 = one degree onesuperior U+2081
+ shiftl keycode 2 = U+2022
+ shift shiftl keycode 2 = VoidSymbol
+ altgr shiftl keycode 2 = notsign
+ keycode 3 = two U+2116 twosuperior U+2082
+ shiftl keycode 3 = U+2023
+ shift shiftl keycode 3 = VoidSymbol
+ altgr shiftl keycode 3 = U+2228
+ keycode 4 = three section threesuperior U+2083
+ shiftl keycode 4 = VoidSymbol
+ shift shiftl keycode 4 = VoidSymbol
+ altgr shiftl keycode 4 = U+2227
+ keycode 5 = four guillemotright U+203A U+2113
+ shiftl keycode 5 = Prior
+ shift shiftl keycode 5 = Prior
+ altgr shiftl keycode 5 = U+22A5
+ keycode 6 = five guillemotleft U+2039 U+2640
+ shiftl keycode 6 = VoidSymbol
+ shift shiftl keycode 6 = VoidSymbol
+ altgr shiftl keycode 6 = U+2221
+ keycode 7 = six U+20ac cent U+2642
+ shiftl keycode 7 = sterling
+ shift shiftl keycode 7 = VoidSymbol
+ altgr shiftl keycode 7 = U+2225
+ keycode 8 = seven dollar yen U+03ba
+ shiftl keycode 8 = currency
+ shift shiftl keycode 8 = VoidSymbol
+ altgr shiftl keycode 8 = VoidSymbol
+ keycode 9 = eight U+201e U+201a U+27E8
+ shiftl keycode 9 = slash
+ shift shiftl keycode 9 = slash
+ altgr shiftl keycode 9 = U+2204
+ keycode 10 = nine U+201c U+2018 U+27E9
+ shiftl keycode 10 = asterisk
+ shift shiftl keycode 10 = asterisk
+ altgr shiftl keycode 10 = U+2226
+ keycode 11 = zero U+201d U+2019 U+2080
+ shiftl keycode 11 = minus
+ shift shiftl keycode 11 = VoidSymbol
+ altgr shiftl keycode 11 = VoidSymbol
+ keycode 12 = minus U+2013 U+2014 U+2011
+ shiftl keycode 12 = VoidSymbol
+ shift shiftl keycode 12 = VoidSymbol
+ altgr shiftl keycode 12 = hyphen
+ keycode 13 = dead_acute dead_grave dead_cedilla dead_ogonek
+ shiftl keycode 13 = U+0307
+ shift shiftl keycode 13 = VoidSymbol
+ altgr shiftl keycode 13 = U+030a
+
+! --------------------------------------------------------------------------
+! Row 2 (upper row)
+! --------------------------------------------------------------------------
+ keycode 16 = x X U+2026 U+03be
+ shiftl keycode 16 = U+22EE
+ shift shiftl keycode 16 = VoidSymbol
+ altgr shiftl keycode 16 = U+039E
+ keycode 17 = v V underscore VoidSymbol
+ shiftl keycode 17 = BackSpace
+ shift shiftl keycode 17 = BackSpace
+ altgr shiftl keycode 17 = U+2259
+ keycode 18 = l L bracketleft U+03bb
+ shiftl keycode 18 = Up
+ shift shiftl keycode 18 = Up
+ altgr shiftl keycode 18 = U+039B
+ keycode 19 = c C bracketright U+03c7
+ shiftl keycode 19 = Delete
+ shift shiftl keycode 19 = Delete
+ altgr shiftl keycode 19 = U+2102
+ keycode 20 = w W asciicircum U+03c9
+ shiftl keycode 20 = Insert
+ shift shiftl keycode 20 = Insert
+ altgr shiftl keycode 20 = U+03A9
+ keycode 21 = k K exclam U+03F0
+ shiftl keycode 21 = exclamdown
+ shift shiftl keycode 21 = VoidSymbol
+ altgr shiftl keycode 21 = U+221a
+ keycode 22 = h H less U+03c8
+ shiftl keycode 22 = seven
+ shift shiftl keycode 22 = seven
+ altgr shiftl keycode 22 = U+03A8
+ keycode 23 = g G greater U+03b3
+ shiftl keycode 23 = eight
+ shift shiftl keycode 23 = eight
+ altgr shiftl keycode 23 = U+0393
+ keycode 24 = f F equal U+03c6
+ shiftl keycode 24 = nine
+ shift shiftl keycode 24 = nine
+ altgr shiftl keycode 24 = U+03A6
+ keycode 25 = q Q ampersand U+03D5
+ shiftl keycode 25 = plus
+ shift shiftl keycode 25 = VoidSymbol
+ altgr shiftl keycode 25 = U+211A
+ keycode 26 = ssharp U+1E9E U+017F U+03c2
+ shiftl keycode 26 = VoidSymbol
+ shift shiftl keycode 26 = VoidSymbol
+ altgr shiftl keycode 26 = U+2218
+ keycode 27 = dead_tilde U+0304 dead_diaeresis dead_doubleacute
+ shiftl keycode 27 = VoidSymbol
+ shift shiftl keycode 27 = VoidSymbol
+ altgr shiftl keycode 27 = VoidSymbol
+
+! --------------------------------------------------------------------------
+! Row 3 (home row, middle row)
+! --------------------------------------------------------------------------
+ keycode 30 = u U backslash VoidSymbol
+ shiftl keycode 30 = Home
+ shift shiftl keycode 30 = Home
+ altgr shiftl keycode 30 = U+222E
+ keycode 31 = i I slash U+03b9
+ shiftl keycode 31 = Left
+ shift shiftl keycode 31 = Left
+ altgr shiftl keycode 31 = U+222b
+ keycode 32 = a A braceleft U+03b1
+ shiftl keycode 32 = Down
+ shift shiftl keycode 32 = Down
+ altgr shiftl keycode 32 = U+2200
+ keycode 33 = e E braceright U+03b5
+ shiftl keycode 33 = Right
+ shift shiftl keycode 33 = Right
+ altgr shiftl keycode 33 = U+2203
+ keycode 34 = o O asterisk U+03bf
+ shiftl keycode 34 = End
+ shift shiftl keycode 34 = End
+ altgr shiftl keycode 34 = VoidSymbol
+ keycode 35 = s S question U+03c3
+ shiftl keycode 35 = questiondown
+ shift shiftl keycode 35 = VoidSymbol
+ altgr shiftl keycode 35 = U+03A3
+ keycode 36 = n N parenleft U+03bd
+ shiftl keycode 36 = four
+ shift shiftl keycode 36 = four
+ altgr shiftl keycode 36 = U+2115
+ keycode 37 = r R parenright U+03F1
+ shiftl keycode 37 = five
+ shift shiftl keycode 37 = five
+ altgr shiftl keycode 37 = U+211D
+ keycode 38 = t T minus U+03c4
+ shiftl keycode 38 = six
+ shift shiftl keycode 38 = six
+ altgr shiftl keycode 38 = U+2202
+ keycode 39 = d D colon U+03b4
+ shiftl keycode 39 = comma
+ shift shiftl keycode 39 = VoidSymbol
+ altgr shiftl keycode 39 = U+0394
+ keycode 40 = y Y at U+03c5
+ shiftl keycode 40 = period
+ shift shiftl keycode 40 = VoidSymbol
+ altgr shiftl keycode 40 = U+2207
+
+! --------------------------------------------------------------------------
+! Row 4 (lower row)
+! --------------------------------------------------------------------------
+ keycode 44 = udiaeresis Udiaeresis numbersign VoidSymbol
+ shiftl keycode 44 = Escape
+ shift shiftl keycode 44 = Escape
+ altgr shiftl keycode 44 = U+221d
+ keycode 45 = odiaeresis Odiaeresis dollar VoidSymbol
+ shiftl keycode 45 = Tab
+ shift shiftl keycode 45 = Tab
+ altgr shiftl keycode 45 = U+2111
+ keycode 46 = adiaeresis Adiaeresis bar U+03b7
+ shiftl keycode 46 = Next
+ shift shiftl keycode 46 = Next
+ altgr shiftl keycode 46 = U+211C
+ keycode 47 = p P asciitilde U+03c0
+ shiftl keycode 47 = Return
+ shift shiftl keycode 47 = Return
+ altgr shiftl keycode 47 = U+03A0
+ keycode 48 = z Z grave U+03b6
+ shiftl keycode 48 = VoidSymbol
+ shift shiftl keycode 48 = VoidSymbol
+ altgr shiftl keycode 48 = U+2124
+ keycode 49 = b B plus U+03b2
+ shiftl keycode 49 = colon
+ shift shiftl keycode 49 = VoidSymbol
+ altgr shiftl keycode 49 = U+21D0
+ keycode 50 = m M percent U+03bc
+ shiftl keycode 50 = one
+ shift shiftl keycode 50 = one
+ altgr shiftl keycode 50 = U+21d4
+ keycode 51 = comma VoidSymbol quotedbl U+03c1
+ shiftl keycode 51 = two
+ shift shiftl keycode 51 = two
+ altgr shiftl keycode 51 = U+21D2
+ keycode 52 = period VoidSymbol apostrophe U+03D1
+ shiftl keycode 52 = three
+ shift shiftl keycode 52 = three
+ altgr shiftl keycode 52 = U+0398
+ keycode 53 = j J semicolon U+03b8
+ shiftl keycode 53 = semicolon
+ shift shiftl keycode 53 = VoidSymbol
+ altgr shiftl keycode 53 = U+2261
+
+! --------------------------------------------------------------------------
+! Keypad Row 1 (uppest row)
+! --------------------------------------------------------------------------
+ keycode 69 = equal U+2260 U+2248 VoidSymbol
+ shiftl keycode 69 = VoidSymbol
+ shift shiftl keycode 69 = VoidSymbol
+ altgr shiftl keycode 69 = VoidSymbol
+ keycode 98 = KP_Divide KP_Divide division U+2044
+ shiftl keycode 98 = VoidSymbol
+ shift shiftl keycode 98 = VoidSymbol
+ altgr shiftl keycode 98 = VoidSymbol
+ keycode 55 = KP_Multiply KP_Multiply U+22C5 multiply
+ shiftl keycode 55 = VoidSymbol
+ shift shiftl keycode 55 = VoidSymbol
+ altgr shiftl keycode 55 = VoidSymbol
+ keycode 74 = KP_Subtract KP_Subtract minus U+2212
+ shiftl keycode 74 = VoidSymbol
+ shift shiftl keycode 74 = VoidSymbol
+ altgr shiftl keycode 74 = VoidSymbol
+
+! --------------------------------------------------------------------------
+! Keypad Row 2 (upper row)
+! --------------------------------------------------------------------------
+ keycode 71 = KP_7 VoidSymbol U+2195 U+2020
+ shiftl keycode 71 = VoidSymbol
+ shift shiftl keycode 71 = VoidSymbol
+ altgr shiftl keycode 71 = VoidSymbol
+ keycode 72 = KP_8 VoidSymbol U+2191 U+2229
+ shiftl keycode 72 = VoidSymbol
+ shift shiftl keycode 72 = VoidSymbol
+ altgr shiftl keycode 72 = VoidSymbol
+ keycode 73 = KP_9 VoidSymbol VoidSymbol U+2297
+ shiftl keycode 73 = VoidSymbol
+ shift shiftl keycode 73 = VoidSymbol
+ altgr shiftl keycode 73 = VoidSymbol
+ keycode 78 = KP_Add KP_Add plusminus U+2213
+ shiftl keycode 78 = VoidSymbol
+ shift shiftl keycode 78 = VoidSymbol
+ altgr shiftl keycode 78 = VoidSymbol
+
+! --------------------------------------------------------------------------
+! Keypad Row 3 (home row, middle row)
+! --------------------------------------------------------------------------
+ keycode 75 = KP_4 VoidSymbol U+2190 U+2282
+ shiftl keycode 75 = VoidSymbol
+ shift shiftl keycode 75 = VoidSymbol
+ altgr shiftl keycode 75 = VoidSymbol
+ keycode 76 = KP_5 VoidSymbol U+221e U+20ac
+ shiftl keycode 76 = VoidSymbol
+ shift shiftl keycode 76 = VoidSymbol
+ altgr shiftl keycode 76 = VoidSymbol
+ keycode 77 = KP_6 VoidSymbol U+2192 U+2283
+ shiftl keycode 77 = VoidSymbol
+ shift shiftl keycode 77 = VoidSymbol
+ altgr shiftl keycode 77 = VoidSymbol
+
+! --------------------------------------------------------------------------
+! Keypad Row 4 (lower row)
+! --------------------------------------------------------------------------
+ keycode 79 = KP_1 VoidSymbol U+2194 U+2714
+ shiftl keycode 79 = VoidSymbol
+ shift shiftl keycode 79 = VoidSymbol
+ altgr shiftl keycode 79 = VoidSymbol
+ keycode 80 = KP_2 VoidSymbol U+2193 U+222a
+ shiftl keycode 80 = VoidSymbol
+ shift shiftl keycode 80 = VoidSymbol
+ altgr shiftl keycode 80 = VoidSymbol
+ keycode 81 = KP_3 VoidSymbol U+21CC U+2717
+ shiftl keycode 81 = VoidSymbol
+ shift shiftl keycode 81 = VoidSymbol
+ altgr shiftl keycode 81 = VoidSymbol
+
+! --------------------------------------------------------------------------
+! Keypad Row 5 (lowest row)
+! --------------------------------------------------------------------------
+ keycode 82 = KP_0 VoidSymbol percent U+2030
+ shiftl keycode 82 = VoidSymbol
+ shift shiftl keycode 82 = VoidSymbol
+ altgr shiftl keycode 82 = VoidSymbol
+ keycode 83 = comma VoidSymbol period U+002c
+ shiftl keycode 83 = VoidSymbol
+ shift shiftl keycode 83 = VoidSymbol
+ altgr shiftl keycode 83 = VoidSymbol
+
+
+! --------------------------------------------------------------------------
+! Strings and Compose
+! --------------------------------------------------------------------------
+string F100 = "setleds +num\n"