From: Alan Cox Date: Sun, 4 Jan 2015 17:35:16 +0000 (+0000) Subject: dragon: make the keyboard maps external so we can load them from apps X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=793376f7e783bf2515000cb21234ddcff96efa53;p=FUZIX.git dragon: make the keyboard maps external so we can load them from apps --- diff --git a/Kernel/platform-dragon/devtty.c b/Kernel/platform-dragon/devtty.c index 05d326b6..f7789234 100644 --- a/Kernel/platform-dragon/devtty.c +++ b/Kernel/platform-dragon/devtty.c @@ -135,7 +135,7 @@ static void keyproc(void) } } -static uint8_t keyboard[8][7] = { +uint8_t keyboard[8][7] = { { '0', '8', '@', 'h', 'p', 'x', 10 }, { '1', '9', 'a', 'i', 'q', 'y', 0 /* clear - used as ctrl*/ }, { '2', ':', 'b', 'j', 'r', 'z', 27 /* break (used for esc) */ }, @@ -146,7 +146,7 @@ static uint8_t keyboard[8][7] = { { '7', '/', 'g', 'o', 'w', ' ', 0 /* shift */ }, }; -static uint8_t shiftkeyboard[8][7] = { +uint8_t shiftkeyboard[8][7] = { { '_', '(', '\\', 'H', 'P', 'X', 10 }, { '!', ')', 'A', 'I', 'Q', 'Y', 0 /* clear */ }, { '"', '*', 'B', 'J', 'R', 'Z', 3 /* break */ },