1 # Copyright (C) 2010 The Android Open Source Project 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 # 16 # Apple Wireless Keyboard 17 # 18 # Notes: 19 # - Keys such as PAGE_UP and FORWARD_DEL are produced using the 20 # function key. 21 # - Special function keys for brightness control, etc. are not 22 # implemented here. 23 24 key 1 ESCAPE 25 key 2 1 26 key 3 2 27 key 4 3 28 key 5 4 29 key 6 5 30 key 7 6 31 key 8 7 32 key 9 8 33 key 10 9 34 key 11 0 35 key 12 MINUS 36 key 13 EQUALS 37 key 14 DEL 38 key 15 TAB 39 key 16 Q 40 key 17 W 41 key 18 E 42 key 19 R 43 key 20 T 44 key 21 Y 45 key 22 U 46 key 23 I 47 key 24 O 48 key 25 P 49 key 26 LEFT_BRACKET 50 key 27 RIGHT_BRACKET 51 key 28 ENTER 52 key 29 CTRL_LEFT 53 key 30 A 54 key 31 S 55 key 32 D 56 key 33 F 57 key 34 G 58 key 35 H 59 key 36 J 60 key 37 K 61 key 38 L 62 key 39 SEMICOLON 63 key 40 APOSTROPHE 64 key 41 GRAVE 65 key 42 SHIFT_LEFT 66 key 43 BACKSLASH 67 key 44 Z 68 key 45 X 69 key 46 C 70 key 47 V 71 key 48 B 72 key 49 N 73 key 50 M 74 key 51 COMMA 75 key 52 PERIOD 76 key 53 SLASH 77 key 54 SHIFT_RIGHT 78 key 56 ALT_LEFT 79 key 57 SPACE 80 key 58 CAPS_LOCK 81 key 59 F1 82 key 60 F2 83 key 61 F3 84 key 62 F4 85 key 63 F5 86 key 64 F6 87 key 65 F7 88 key 66 F8 89 key 67 F9 90 key 68 F10 91 key 87 F11 92 key 88 F12 93 key 100 ALT_RIGHT 94 key 102 MOVE_HOME 95 key 103 DPAD_UP 96 key 104 PAGE_UP 97 key 105 DPAD_LEFT 98 key 106 DPAD_RIGHT 99 key 107 MOVE_END 100 key 108 DPAD_DOWN 101 key 109 PAGE_DOWN 102 key 110 NUMPAD_ENTER 103 key 111 FORWARD_DEL 104 key 113 VOLUME_MUTE 105 key 114 VOLUME_DOWN 106 key 115 VOLUME_UP 107 key 120 APP_SWITCH 108 key 125 META_LEFT 109 key 126 META_RIGHT 110 key 161 MEDIA_EJECT 111 key 163 MEDIA_NEXT 112 key 164 MEDIA_PLAY_PAUSE 113 key 165 MEDIA_PREVIOUS 114 # key 204 show gadgets 115 key 224 BRIGHTNESS_DOWN 116 key 225 BRIGHTNESS_UP 117 # key 229 blank special function on F5 118 # key 230 blank special function on F6 119 key 464 FUNCTION 120