From b1bf7e12c7ab8c8dd1e6b5223888f076ff866c4a Mon Sep 17 00:00:00 2001 From: Sergey Larin Date: Sun, 17 Feb 2019 17:05:40 +0300 Subject: [PATCH] ARM: dts: tegra20-glide: Change keyboard keycodes This is required to make proper XKB keymap Signed-off-by: Sergey Larin --- arch/arm/boot/dts/tegra20-glide.dts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-glide.dts b/arch/arm/boot/dts/tegra20-glide.dts index ab30b1b8cc29..f2b1805fc8cf 100644 --- a/arch/arm/boot/dts/tegra20-glide.dts +++ b/arch/arm/boot/dts/tegra20-glide.dts @@ -1009,7 +1009,7 @@ interrupt-parent = <&gpio>; interrupts = ; key_maxval = <4>; - linux,code = ; + linux,code = ; }; }; @@ -1040,16 +1040,16 @@ MATRIX_KEY(0, 0, KEY_R) MATRIX_KEY(0, 1, KEY_G) MATRIX_KEY(0, 2, KEY_V) - MATRIX_KEY(0, 3, KEY_LEFTCTRL /* KEY_LEFTMETA */) + MATRIX_KEY(0, 3, KEY_LEFTMETA) MATRIX_KEY(0, 4, KEY_MENU) MATRIX_KEY(0, 5, KEY_HOME) MATRIX_KEY(1, 0, KEY_T) MATRIX_KEY(1, 1, KEY_H) MATRIX_KEY(1, 2, KEY_B) - MATRIX_KEY(1, 3, KEY_TAB /* KEY_RIGHTMETA */) + MATRIX_KEY(1, 3, KEY_RIGHTMETA) MATRIX_KEY(1, 4, KEY_Q) - MATRIX_KEY(1, 5, KEY_FN) + MATRIX_KEY(1, 5, KEY_RIGHTALT /* KEY_FN */) MATRIX_KEY(2, 0, KEY_Y) MATRIX_KEY(2, 1, KEY_J) @@ -1074,13 +1074,13 @@ MATRIX_KEY(5, 0, KEY_O) MATRIX_KEY(5, 1, KEY_UP) - MATRIX_KEY(5, 2, KEY_OK) + MATRIX_KEY(5, 2, KEY_ENTER /* KEY_OK */) MATRIX_KEY(5, 3, KEY_QUESTION) MATRIX_KEY(5, 4, KEY_E) MATRIX_KEY(5, 5, KEY_C) MATRIX_KEY(6, 0, KEY_P) - MATRIX_KEY(6, 1, KEY_ENTER) + MATRIX_KEY(6, 1, KEY_KPENTER /* KEY_ENTER */) MATRIX_KEY(6, 2, KEY_RIGHT) MATRIX_KEY(6, 3, KEY_DOWN) MATRIX_KEY(6, 4, KEY_D) @@ -1088,9 +1088,9 @@ MATRIX_KEY(7, 0, KEY_BACKSPACE /* KEY_DELETE */) MATRIX_KEY(7, 1, KEY_BACK) MATRIX_KEY(7, 2, KEY_SEARCH) - MATRIX_KEY(7, 3, KEY_SLASH /* KEY_WWW */) + MATRIX_KEY(7, 3, KEY_WWW) MATRIX_KEY(7, 4, KEY_F) - MATRIX_KEY(7, 5, KEY_FN) >; + MATRIX_KEY(7, 5, KEY_RIGHTALT /* KEY_FN */) >; }; stmpegpio: stmpe_gpio { -- 2.22.0