Make US-english the default KDL keymap again.

This commit is contained in:
Adrien Destugues 2016-10-10 07:18:12 +02:00
parent 0dbb85e285
commit af0282f91f
2 changed files with 11 additions and 12 deletions

View File

@ -2,19 +2,14 @@
#define KERNEL_DEBUGGER_CONFIG_H
// Available keymaps:
// 'dv' dvorak keymap
// 'fr' french keymap
// 'it' italian keymap
// 'sg' swiss-german keymap
// 'us' default US keymap
// KDL_KEYMAP_DV: dvorak
// KDL_KEYMAP_FR french azerty
// KDL_KEYMAP_IT italian
// KDL_KEYMAP_SG swiss-german
// KDL_KEYMAP_US US-english (default)
#define KDL_KEYMAP_DV 1
#define KDL_KEYMAP_FR 2
#define KDL_KEYMAP_IT 3
#define KDL_KEYMAP_SG 4
#define KDL_KEYMAP_US 5
#define KDL_KEYMAP KDL_KEYMAP_FR
#define KDL_KEYMAP KDL_KEYMAP_US
#endif // KERNEL_DEBUGGER_CONFIG_H

View File

@ -10,6 +10,11 @@
#ifndef DEBUGGER_KEYMAPS_H
#define DEBUGGER_KEYMAPS_H
#define KDL_KEYMAP_DV 1
#define KDL_KEYMAP_FR 2
#define KDL_KEYMAP_IT 3
#define KDL_KEYMAP_SG 4
#define KDL_KEYMAP_US 5
#include "kernel_debugger_config.h"
@ -155,7 +160,6 @@ static const char kAltedKeymap[128] = {
#else // default US keymap
#error "use default keymap"
static const char kUnshiftedKeymap[128] = {
0, 27, '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '-', '=', 8, '\t',
'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p', '[', ']', '\n', 0, 'a', 's',