[0f035d]: language / German / keyboardmap.xml Maximize Restore History

Repo status: analyzing...

Download this file

keyboardmap.xml    149 lines (126 with data), 6.7 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!-- This configuration file was developed to be able to map an english layout keyboard to a german layout keyboard in XBMC.
The problem: if I press the key that is labeled with "Z" on my german keyboard (next to the key labeled with "T" -> QWERTZ!)
I get an "Y" on my XBMC screen because till now XBMC always assumes an english layout keyboard (QWERTY).
If I press the "," on the numpad i get a ".".
This applies for nearly all keys on my german keyboard besides "A"-"Z" and "0"-"9".
With the following mapping I can configure XBMC to replace the "Y" through an "Z" and so forth!
This demands a map for printable characters (ascii and/or unicode) and logical keys (virtual keys or other names).
The map for printable characters and the map for logical keys must be separated
since they can contain same values that should be mapped different.
Of course, you should never reassign the same printable character
without (or with the same) modifiers more than once.
More specific mappings, i.e. with virtual keys and/or with one or even more modifiers,
are handled first/prioritized over less specific mappings! Why?
Example: an us keyboard has: "]" on one key, the german keyboard has "+" on the same key,
additionally the german keyboard has "~" on the same key, but the "~"
can only be reached with the special modifier "AltGr" (right alt).
If "+" is handled first, the key is already consumed and "~" can never be reached.
The least specific mappings, e.g. "regardless modifiers" are done at last/least prioritized.
I assume that once a configuration is "complete", it is useful for everybody with that language, platform or model.
So let's start configuring keyboards for xbmc, collect and exchange them :o).
We should collect them all in a structure like:
* XBMCdefault
* standardkeyboard (this could be the standard language folder in the XBMC)
* english
* german
* ...
If needed, additionally:
* producer (this could be the root folder on some server for exchange)
* keyboard model
* language a
* language b
For details of keyboard layouts see: http://en.wikipedia.org/wiki/Keyboard_layout (thx Gamester17 for this link)
For details of further development see: http://xbmc.org/forum/showthread.php?t=26796
-->
<keyboard_layout>
<!-- following topics are independent of all plattforms and the "last" chance in the processing chain -->
<!-- Some keys are reached with combinations that do not exist on english keyboards,
therefore there does not exist a specific english ascii that can be replaced
(simple ascii replacement is not possible). Both the key and the modifier must be specified, e.g.
in the third following case the key 7 is pressed in combination with right alt to reach {.
-->
<char2char_ralt>
<!-- key line with numbers, every key with right alt -->
<entry inchar="2" outchar="��"/>
<entry inchar="3" outchar="��"/>
<entry inchar="7" outchar="{"/>
<entry inchar="8" outchar="["/>
<entry inchar="9" outchar="]"/>
<entry inchar="0" outchar="}"/>
<entry inchar="-" outchar="\"/>
<!-- line beginning with tab with right alt -->
<entry inchar="q" outchar="@"/>
<entry inchar="e" outchar="���"/>
<entry inchar="]" outchar="~"/>
<!-- line beginning with shift (below capslock) with right alt -->
<entry inchar="\" outchar="|"/> <!-- does it work? -->
<entry inchar="m" outchar="��"/>
</char2char_ralt>
<char2char>
<!-- key line with numbers, every key without modifier -->
<entry inchar="`" outchar="^"/>
<entry inchar="-" outchar="��"/>
<entry inchar="=" outchar="��"/>
<!-- key line with numbers, every key with shift -->
<entry inchar="~" outchar="��"/>
<entry inchar="@" outchar="&quot;"/>
<entry inchar="#" outchar="��"/>
<entry inchar="^" outchar="&amp;"/>
<entry inchar="&amp;" outchar="/"/>
<entry inchar="*" outchar="("/>
<entry inchar="(" outchar=")"/>
<entry inchar=")" outchar="="/>
<entry inchar="_" outchar="?"/>
<entry inchar="+" outchar="`"/>
<!-- line beginning with tab without modifier -->
<entry inchar="[" outchar="��"/>
<entry inchar="]" outchar="+"/>
<!-- line beginning with tab with shift -->
<entry inchar="{" outchar="��"/>
<entry inchar="}" outchar="*"/>
<!-- line beginning with capslock without modifier -->
<entry inchar=";" outchar="��"/>
<entry inchar="'" outchar="��"/>
<entry inchar="\" outchar="#"/>
<!-- line beginning with capslock with shift -->
<entry inchar=":" outchar="��"/>
<entry inchar="&quot;" outchar="��"/>
<entry inchar="|" outchar="'"/>
<!-- line beginning with shift (below capslock) without modifier -->
<entry inchar="\" outchar="&lt;"/> <!-- does it work? -->
<entry inchar="/" outchar="-"/>
<!-- line beginning with shift (below capslock) with shift -->
<entry inchar="|" outchar="&gt;"/>
<entry inchar="&lt;" outchar=";"/>
<entry inchar="&gt;" outchar=":"/>
<entry inchar="?" outchar="_"/>
</char2char>
<!-- The following maps allows for reassigning special standardardized multimedia keys,
e.g. assign the [ > play > ] button to ascii "p" that is assign to action "play".
But support of the vkey by XBMC is presumed.
-->
<vkey2char>
<!-- line beginning with shift (below capslock) without modifier -->
<entry inhex="0xe2" outchar="&lt;"/> <!-- This is the 105th key of typical european keyboards! Usually it is not assigned in english XBMC -->
</vkey2char>
<vkey2char_shift>
<!-- line beginning with shift (below capslock) without modifier -->
<entry inhex="0xe2" outchar="&gt;"/> <!-- This is the 105th key of typical european keyboards! Usually it is not assigned in english XBMC -->
</vkey2char_shift>
<vkey2char_ralt>
<entry inhex="0xe2" outchar="|" /> <!-- This is the 105th key of typical european keyboards! Usually it is not assigned in english XBMC -->
</vkey2char_ralt>
<!--
further topics possible, but not yet implemented:
<vkey2vkey>
</vkey2vkey>
topics dependent of plattforms and the "first" chance in the processing chain:
<sdllogical2vkey>
</sdllogical2vkey>
<sdlscan2unicode>
</sdlscan2unicode>
<sdlscan2vkey>
</sdlscan2vkey>
...
-->
</keyboard_layout>