From 50df6e982434a5b82eb6810c8c9fcdbe87efdf27 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 27 Jan 2014 10:53:26 +0100 Subject: [PATCH] Add missing pipe character in KDL keymap. For non-US keyboards, the extra 102th/105th key is used to reach \. But, we also need it to report | when shifted (this is the key left to "enter"). This affects only USB keyboards. Thanks to gordoncjp for reporting! --- headers/private/kernel/debugger_keymaps.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/private/kernel/debugger_keymaps.h b/headers/private/kernel/debugger_keymaps.h index ef4d9cdd3e..5a69ecf838 100644 --- a/headers/private/kernel/debugger_keymaps.h +++ b/headers/private/kernel/debugger_keymaps.h @@ -31,7 +31,7 @@ static const char kShiftedKeymap[128] = { 'E', 'U', 'I', 'D', 'H', 'T', 'N', 'S', '_', '~', 0, '|', ':', 'Q', 'J', 'K', 'X', 'B', 'M', 'W', 'V', 'Z', 0, '*', 0, ' ', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + '|', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; @@ -171,7 +171,7 @@ static const char kShiftedKeymap[128] = { 'D', 'F', 'G', 'H', 'J', 'K', 'L', ':', '"', '~', 0, '|', 'Z', 'X', 'C', 'V', 'B', 'N', 'M', '<', '>', '?', 0, '*', 0, ' ', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + '|', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };