diff options
Diffstat (limited to 'include/asm-arm/arch-pxa/tosa.h')
-rw-r--r-- | include/asm-arm/arch-pxa/tosa.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/asm-arm/arch-pxa/tosa.h b/include/asm-arm/arch-pxa/tosa.h index c3364a2c4758..c05e4faf85a6 100644 --- a/include/asm-arm/arch-pxa/tosa.h +++ b/include/asm-arm/arch-pxa/tosa.h | |||
@@ -163,4 +163,34 @@ | |||
163 | 163 | ||
164 | extern struct platform_device tosascoop_jc_device; | 164 | extern struct platform_device tosascoop_jc_device; |
165 | extern struct platform_device tosascoop_device; | 165 | extern struct platform_device tosascoop_device; |
166 | |||
167 | #define TOSA_KEY_SYNC KEY_102ND /* ??? */ | ||
168 | |||
169 | |||
170 | #ifndef CONFIG_KEYBOARD_TOSA_USE_EXT_KEYCODES | ||
171 | #define TOSA_KEY_RECORD KEY_YEN | ||
172 | #define TOSA_KEY_ADDRESSBOOK KEY_KATAKANA | ||
173 | #define TOSA_KEY_CANCEL KEY_ESC | ||
174 | #define TOSA_KEY_CENTER KEY_HIRAGANA | ||
175 | #define TOSA_KEY_OK KEY_HENKAN | ||
176 | #define TOSA_KEY_CALENDAR KEY_KATAKANAHIRAGANA | ||
177 | #define TOSA_KEY_HOMEPAGE KEY_HANGEUL | ||
178 | #define TOSA_KEY_LIGHT KEY_MUHENKAN | ||
179 | #define TOSA_KEY_MENU KEY_HANJA | ||
180 | #define TOSA_KEY_FN KEY_RIGHTALT | ||
181 | #define TOSA_KEY_MAIL KEY_ZENKAKUHANKAKU | ||
182 | #else | ||
183 | #define TOSA_KEY_RECORD KEY_RECORD | ||
184 | #define TOSA_KEY_ADDRESSBOOK KEY_ADDRESSBOOK | ||
185 | #define TOSA_KEY_CANCEL KEY_CANCEL | ||
186 | #define TOSA_KEY_CENTER KEY_SELECT /* ??? */ | ||
187 | #define TOSA_KEY_OK KEY_OK | ||
188 | #define TOSA_KEY_CALENDAR KEY_CALENDAR | ||
189 | #define TOSA_KEY_HOMEPAGE KEY_HOMEPAGE | ||
190 | #define TOSA_KEY_LIGHT KEY_KBDILLUMTOGGLE | ||
191 | #define TOSA_KEY_MENU KEY_MENU | ||
192 | #define TOSA_KEY_FN KEY_FN | ||
193 | #define TOSA_KEY_MAIL KEY_MAIL | ||
194 | #endif | ||
195 | |||
166 | #endif /* _ASM_ARCH_TOSA_H_ */ | 196 | #endif /* _ASM_ARCH_TOSA_H_ */ |