summaryrefslogtreecommitdiff
path: root/include/tegra-kbc.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-06-29 16:13:38 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:39:43 -0700
commit6f13dc97cce254b6468516f921a2574c6f2d3206 (patch)
treeebdf254a930d611611ce9cc5fcc70ecfd9bb46b8 /include/tegra-kbc.h
parent8cd6678e31c19c291e643ea5cc699bf4974f1938 (diff)
fdt: Add Kaen keyboard support
This adds support for the Kaen keyboard, and fixes a few things wrong in the keyboard implementation. Note that there is a problem that the Shift key generates a DF code, which it should not. This doesn't happen on Seaboard and Aebl. BUG=chromium-os:17034 TEST=boot U-Boot; type plain, shift and fn keys and check that the correct output results Change-Id: I7ca8bef1dbaa96a6c09b5b2655232b42f130fb72 Reviewed-on: http://gerrit.chromium.org/gerrit/3414 Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/tegra-kbc.h')
-rwxr-xr-xinclude/tegra-kbc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/tegra-kbc.h b/include/tegra-kbc.h
index ddc6379cc3..fd1fe3cdcb 100755
--- a/include/tegra-kbc.h
+++ b/include/tegra-kbc.h
@@ -27,10 +27,10 @@ enum {
struct tegra_keyboard_config {
/* keycode tables, one for each row/col position */
- int plain_keycode[KBC_KEY_COUNT]; /* when no Shift or Fn */
- int shift_keycode[KBC_KEY_COUNT]; /* Shift modifier key is pressed */
- int fn_keycode[KBC_KEY_COUNT]; /* Fn modifier key is pressed */
- int ctrl_keycode[KBC_KEY_COUNT]; /* Ctrl modifier key is pressed */
+ u8 plain_keycode[KBC_KEY_COUNT]; /* when no Shift or Fn */
+ u8 shift_keycode[KBC_KEY_COUNT]; /* Shift modifier key is pressed */
+ u8 fn_keycode[KBC_KEY_COUNT]; /* Fn modifier key is pressed */
+ u8 ctrl_keycode[KBC_KEY_COUNT]; /* Ctrl modifier key is pressed */
};
struct kbc_tegra {