Amith Yamasani | 36fcf25 | 2009-10-12 13:48:35 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2009, The Android Open Source Project |
| 6 | ** |
| 7 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | ** you may not use this file except in compliance with the License. |
| 9 | ** You may obtain a copy of the License at |
| 10 | ** |
| 11 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | ** |
| 13 | ** Unless required by applicable law or agreed to in writing, software |
| 14 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | ** See the License for the specific language governing permissions and |
| 17 | ** limitations under the License. |
| 18 | */ |
| 19 | --> |
| 20 | |
| 21 | <resources> |
Tadashi G. Takaoka | e18bd3e | 2010-12-06 12:12:27 +0900 | [diff] [blame] | 22 | <!-- These code should be aligned with Keyboard.CODE_*. --> |
Tadashi G. Takaoka | c29ef3e | 2010-09-08 16:51:50 +0900 | [diff] [blame] | 23 | <integer name="key_tab">9</integer> |
| 24 | <integer name="key_return">10</integer> |
| 25 | <integer name="key_space">32</integer> |
| 26 | <integer name="key_shift">-1</integer> |
Tadashi G. Takaoka | 0b60f83 | 2010-11-19 14:57:24 -0800 | [diff] [blame] | 27 | <integer name="key_switch_alpha_symbol">-2</integer> |
Tadashi G. Takaoka | c29ef3e | 2010-09-08 16:51:50 +0900 | [diff] [blame] | 28 | <integer name="key_delete">-5</integer> |
Tadashi G. Takaoka | d2c5fdd | 2011-04-21 19:43:20 +0900 | [diff] [blame^] | 29 | <integer name="key_settings">-6</integer> |
| 30 | <integer name="key_shortcut">-8</integer> |
Alan Viverette | dcade18 | 2011-01-14 10:49:21 -0800 | [diff] [blame] | 31 | |
| 32 | <!-- Array used for mapping key codes to description strings. --> |
| 33 | <array name="key_descriptions"> |
| 34 | <item>@integer/key_tab</item> |
| 35 | <item>@string/description_tab_key</item> |
| 36 | <item>@integer/key_return</item> |
| 37 | <item>@string/description_return_key</item> |
| 38 | <item>@integer/key_space</item> |
| 39 | <item>@string/description_space_key</item> |
| 40 | <item>@integer/key_shift</item> |
| 41 | <item>@string/description_shift_key</item> |
| 42 | <item>@integer/key_switch_alpha_symbol</item> |
| 43 | <item>@string/description_switch_alpha_symbol_key</item> |
| 44 | <item>@integer/key_delete</item> |
| 45 | <item>@string/description_delete_key</item> |
| 46 | <item>@integer/key_settings</item> |
| 47 | <item>@string/description_settings_key</item> |
Tadashi G. Takaoka | d2c5fdd | 2011-04-21 19:43:20 +0900 | [diff] [blame^] | 48 | <item>@integer/key_shortcut</item> |
Alan Viverette | dcade18 | 2011-01-14 10:49:21 -0800 | [diff] [blame] | 49 | <item>@string/description_voice_key</item> |
| 50 | </array> |
Amith Yamasani | 36fcf25 | 2009-10-12 13:48:35 -0700 | [diff] [blame] | 51 | </resources> |