Use some more ANSI character escape sequences in keymaps.

This commit is contained in:
tsutsui 2007-06-02 06:27:12 +00:00
parent b1102490c5
commit f4ba139f1a
1 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cons_zskbd.c,v 1.1 2005/12/29 15:20:09 tsutsui Exp $ */
/* $NetBSD: cons_zskbd.c,v 1.2 2007/06/02 06:27:12 tsutsui Exp $ */
/*-
* Copyright (c) 2004, 2005 The NetBSD Foundation, Inc.
@ -60,13 +60,13 @@ static const uint8_t map_normal[] = {
'x', 'y', 'z', '[', ',', ']', ';', 0x00,
'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', ' ', ',', 0x00, 0x00, 0x00, 0x00,
0x0d, 0x0d, 0x00, 0x00, 0x0d, 0x00, '-', '.',
'\r', '\r', 0x00, 0x00, '\r', 0x00, '-', '.',
0xa3, 0xa2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x08, 0x00, 0x0c, 0x7f, 0x12, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0xa0, 0xa1, 0x00, 0x00, 0x00, 0x00,
'+', '*', '/', 0x1b, 0x01, '=', 0x09, 0x00,
'+', '*', '/', 0x1b, 0x01, '=', '\t', 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
@ -79,13 +79,13 @@ static const uint8_t map_shift[] = {
'X', 'Y', 'Z', '{', '<', '}', '+', '_',
'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', ' ', ',', 0x00, 0x00, 0x00, 0x00,
0x0d, 0x0d, 'B', 'C', 0x0d, 'E', '-', '.',
'\r', '\r', 'B', 'C', '\r', 'E', '-', '.',
0xa3, 0xa2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x08, 0x00, 0x0b, 0x7f, 0x12, 0x09, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0xa0, 0xa1, 0x00, 0x00, 0x00, 0x00,
'+', '*', '/', 0x1b, 0x01, '=', 0x09, 0x00,
'+', '*', '/', 0x1b, 0x01, '=', '\t', 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
@ -98,13 +98,13 @@ static const uint8_t map_ctrl[] = {
0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', ' ', ',', 0x00, 0x00, 0x00, 0x00,
0x0d, 0x0d, 0x00, 0x00, 0x0d, 0x00, '-', '.',
'\r', '\r', 0x00, 0x00, '\r', 0x00, '-', '.',
0xa3, 0xa2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x08, 0x00, 0x00, 0x7f, 0x12, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0xa0, 0xa1, 0x00, 0x00, 0x00, 0x00,
'+', '*', '/', 0x1b, 0x01, '=', 0x09, 0x00,
'+', '*', '/', 0x1b, 0x01, '=', '\t', 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
@ -117,13 +117,13 @@ static const uint8_t map_capslock[] = {
'X', 'Y', 'Z', '[', ',', ']', ';', 0x00,
'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', ' ', ',', 0x00, 0x00, 0x00, 0x00,
0x0d, 0x0d, 0x00, 0x00, 0x0d, 0x00, '-', '.',
'\r', '\r', 0x00, 0x00, '\r', 0x00, '-', '.',
0xa3, 0xa2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x08, 0x00, 0x0c, 0x7f, 0x12, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0xa0, 0xa1, 0x00, 0x00, 0x00, 0x00,
'+', '*', '/', 0x1b, 0x01, '=', 0x09, 0x00,
'+', '*', '/', 0x1b, 0x01, '=', '\t', 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};