summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2005-01-18 22:18:12 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2005-01-18 22:18:12 +0000
commite2ce96546d0bd4f516346dcefcd8d8ba46d78e18 (patch)
tree501c59014faa0a126a666855eab40421a35b6ef7 /sys/arch
parent67505306b1c19f13338224ae8a05aec14bdd5b7d (diff)
Better keys, now uses the wskbdraw.h header files defines.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/zaurus/dev/zaurus_kbdmap.h191
1 files changed, 96 insertions, 95 deletions
diff --git a/sys/arch/zaurus/dev/zaurus_kbdmap.h b/sys/arch/zaurus/dev/zaurus_kbdmap.h
index 80a9fe0d76c..cb6c8c483aa 100644
--- a/sys/arch/zaurus/dev/zaurus_kbdmap.h
+++ b/sys/arch/zaurus/dev/zaurus_kbdmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: zaurus_kbdmap.h,v 1.14 2005/01/18 01:03:15 drahn Exp $ */
+/* $OpenBSD: zaurus_kbdmap.h,v 1.15 2005/01/18 22:18:11 drahn Exp $ */
/*
* Copyright (c) 2005 Dale Rahn <drahn@openbsd.org>
@@ -17,6 +17,7 @@
*/
#define KC(n) KS_KEYCODE(n)
+#include <dev/wscons/wskbdraw.h>
static const keysym_t zkbd_keydesc_us[] = {
KC(0), KS_Control_L,
@@ -87,100 +88,100 @@ static const keysym_t zkbd_keydesc_us[] = {
#ifdef WSDISPLAY_COMPAT_RAWKBD
static const char xt_keymap[] = {
- /* KC(0), */ 86,/* KS_Control_L, */
- /* KC(1), */ 0, /* NC */
- /* KC(2), */ 15, /* KS_Tab, KS_Tab, KS_Caps_Lock, */
- /* KC(3), */ 60, /* KS_Cmd_Screen1, KS_f2, Addr, */
- /* KC(4), */ 59, /* KS_Cmd_Screen0, KS_f1, Cal, */
- /* KC(5), */ 61, /* KS_Cmd_Screen2, KS_f3, Mail, */
- /* KC(6), */ 62, /* KS_Cmd_Screen3, KS_f4, Home, */
- /* KC(7), */ 0, /* NC */
- /* KC(8), */ 2, /* KS_1, KS_exclam, */
- /* KC(9), */ 3, /* KS_2, KS_quotedbl, */
- /* KC(10), */ 16, /* KS_q, */
- /* KC(11), */ 17, /* KS_w, KS_W, KS_asciicircum, */
- /* KC(12), */ 30, /* KS_a, */
- /* KC(13), */ 44, /* KS_z, */
- /* KC(14), */ 56, /* KS_Cmd, KS_Alt_L, */
- /* KC(15), */ 0, /* NC */
- /* KC(16), */ 4, /* KS_3, KS_numbersign, */
- /* KC(17), */ 5, /* KS_4, KS_dollar, */
- /* KC(18), */ 18, /* KS_e, KS_E, KS_equal, */
- /* KC(19), */ 31, /* KS_s, */
- /* KC(20), */ 32, /* KS_d, KS_D, KS_grave, */
- /* KC(21), */ 45, /* KS_x, */
- /* KC(22), */ 0, /* ^/t (right japanese) */
- /* KC(23), */ 0, /* NC */
- /* KC(24), */ 6, /* KS_5, KS_percent, */
- /* KC(25), */ 19, /* KS_r, KS_R, KS_plus, */
- /* KC(26), */ 20, /* KS_t, KS_T, KS_bracketleft, */
- /* KC(27), */ 33, /* KS_f, KS_F, KS_backslash, */
- /* KC(28), */ 46, /* KS_c, */
- /* KC(29), */ 74, /* KS_minus, KS_minus, KS_at, */
- /* KC(30), */ 1, /* KS_Escape, Cancel */
- /* KC(31), */ 0, /* NC */
- /* KC(32), */ 7, /* KS_6, KS_ampersand, */
- /* KC(33), */ 21, /* KS_y, KS_Y, KS_bracketright, */
- /* KC(34), */ 34, /* KS_g, KS_G, KS_semicolon, */
- /* KC(35), */ 47, /* KS_v, */
- /* KC(36), */ 48, /* KS_b, KS_B, KS_underscore, */
- /* KC(37), */ 57, /* KS_space, */
- /* KC(38), */ 0, /* KS_KP_Enter, ok */
- /* KC(39), */ 0, /* NC */
- /* KC(40), */ 8, /* KS_7, KS_apostrophe, */
- /* KC(41), */ 9, /* KS_8, KS_parenleft, */
- /* KC(42), */ 22, /* KS_u, KS_U, KS_braceleft, */
- /* KC(43), */ 35, /* KS_h, KS_H, KS_colon, */
- /* KC(44), */ 49, /* KS_n, */
- /* KC(45), */ 51, /* KS_comma, KS_slash, KS_less, */
- /* KC(46), */ 63, /* KS_Cmd_Screen4, KS_f5, Menu, */
- /* KC(47), */ 0, /* NC */
- /* KC(48), */ 10, /* KS_9, KS_parenright, */
- /* KC(49), */ 23, /* KS_i, KS_I, KS_braceright, */
- /* KC(50), */ 36, /* KS_j, KS_J, KS_asterisk, */
- /* KC(51), */ 50, /* KS_m, */
- /* KC(52), */ 52, /* KS_period, KS_question, KS_greater, */
- /* KC(53), */ 0, /* NC */
- /* KC(54), */ 203, /* KS_KP_Left, left, */
- /* KC(55), */ 0, /* NC */
- /* KC(56), */ 11, /* KS_0, KS_asciitilde, */
- /* KC(57), */ 24, /* KS_o, */
- /* KC(58), */ 37, /* KS_k, */
- /* KC(59), */ 38, /* KS_l, KS_L, KS_bar, */
- /* KC(60), */ 0, /* NC */
- /* KC(61), */ 200, /* KS_KP_Up, up, */
- /* KC(62), */ 208, /* KS_KP_Down, down, */
- /* KC(63), */ 0, /* NC */
- /* KC(64), */ 221, /* KS_Delete, KS_BackSpace, */
- /* KC(65), */ 255, /* KS_p, */
- /* KC(66), */ 0, /* NC */
- /* KC(67), */ 0, /* NC */
- /* KC(68), */ 156, /* KS_Return, */
- /* KC(69), */ 0, /* NC */
- /* KC(70), */ 205, /* KS_KP_Right, right, */
- /* KC(71), */ 0, /* NC */
- /* KC(72), */ 0, /* NC */
- /* KC(73), */ 0, /* NC */
- /* KC(74), */ 0, /* NC */
- /* KC(75), */ 0, /* NC */
- /* KC(76), */ 0, /* NC */
- /* KC(77), */ 0, /* NC */
- /* KC(78), */ 0, /* NC */
- /* KC(79), */ 0, /* NC */
- /* KC(80), */ 205, /* KS_KP_Right, OK, (ext) */
- /* KC(81), */ 208, /* KS_KP_Down, tog left, */
- /* KC(82), */ 0, /* NC */
- /* KC(83), */ 0, /* KS_Shift_R, */
- /* KC(84), */ 0, /* KS_Shift_L, */
- /* KC(85), */ 0, /* NC */
- /* KC(86), */ 0, /* NC */
- /* KC(87), */ 0, /* NC */
- /* KC(88), */ 203, /* KS_KP_Left, cancel (ext), */
- /* KC(89), */ 200, /* KS_KP_Up, tog right, */
- /* KC(90), */ 0, /* NC */
- /* KC(91), */ 0, /* NC */
- /* KC(92), */ 0, /* NC */
- /* KC(93), */ 56, /* KS_Mode_switch Fn */
+ /* KC(0), */ RAWKEY_Control_L,/* KS_Control_L, */
+ /* KC(1), */ RAWKEY_Null, /* NC */
+ /* KC(2), */ RAWKEY_Tab, /* KS_Tab, KS_Tab, KS_Caps_Lock, */
+ /* KC(3), */ RAWKEY_f2, /* KS_Cmd_Screen1, KS_f2, Addr, */
+ /* KC(4), */ RAWKEY_f1, /* KS_Cmd_Screen0, KS_f1, Cal, */
+ /* KC(5), */ RAWKEY_f3, /* KS_Cmd_Screen2, KS_f3, Mail, */
+ /* KC(6), */ RAWKEY_f4, /* KS_Cmd_Screen3, KS_f4, Home, */
+ /* KC(7), */ RAWKEY_Null, /* NC */
+ /* KC(8), */ RAWKEY_1, /* KS_1, KS_exclam, */
+ /* KC(9), */ RAWKEY_2, /* KS_2, KS_quotedbl, */
+ /* KC(10), */ RAWKEY_q, /* KS_q, */
+ /* KC(11), */ RAWKEY_w, /* KS_w, KS_W, KS_asciicircum, */
+ /* KC(12), */ RAWKEY_a, /* KS_a, */
+ /* KC(13), */ RAWKEY_z, /* KS_z, */
+ /* KC(14), */ RAWKEY_Alt_L, /* KS_Cmd, KS_Alt_L, */
+ /* KC(15), */ RAWKEY_Null, /* NC */
+ /* KC(16), */ RAWKEY_3, /* KS_3, KS_numbersign, */
+ /* KC(17), */ RAWKEY_4, /* KS_4, KS_dollar, */
+ /* KC(18), */ RAWKEY_e, /* KS_e, KS_E, KS_equal, */
+ /* KC(19), */ RAWKEY_s, /* KS_s, */
+ /* KC(20), */ RAWKEY_d, /* KS_d, KS_D, KS_grave, */
+ /* KC(21), */ RAWKEY_x, /* KS_x, */
+ /* KC(22), */ RAWKEY_Null, /* ^/t (right japanese) */
+ /* KC(23), */ RAWKEY_Null, /* NC */
+ /* KC(24), */ RAWKEY_5, /* KS_5, KS_percent, */
+ /* KC(25), */ RAWKEY_r, /* KS_r, KS_R, KS_plus, */
+ /* KC(26), */ RAWKEY_t, /* KS_t, KS_T, KS_bracketleft, */
+ /* KC(27), */ RAWKEY_f, /* KS_f, KS_F, KS_backslash, */
+ /* KC(28), */ RAWKEY_c, /* KS_c, */
+ /* KC(29), */ RAWKEY_minus, /* KS_minus, KS_minus, KS_at, */
+ /* KC(30), */ RAWKEY_Escape, /* KS_Escape, Cancel */
+ /* KC(31), */ RAWKEY_Null, /* NC */
+ /* KC(32), */ RAWKEY_6, /* KS_6, KS_ampersand, */
+ /* KC(33), */ RAWKEY_y, /* KS_y, KS_Y, KS_bracketright, */
+ /* KC(34), */ RAWKEY_g, /* KS_g, KS_G, KS_semicolon, */
+ /* KC(35), */ RAWKEY_v, /* KS_v, */
+ /* KC(36), */ RAWKEY_b, /* KS_b, KS_B, KS_underscore, */
+ /* KC(37), */ RAWKEY_space, /* KS_space, */
+ /* KC(38), */ RAWKEY_KP_Enter, /* KS_KP_Enter, ok */
+ /* KC(39), */ RAWKEY_Null, /* NC */
+ /* KC(40), */ RAWKEY_7, /* KS_7, KS_apostrophe, */
+ /* KC(41), */ RAWKEY_8, /* KS_8, KS_parenleft, */
+ /* KC(42), */ RAWKEY_u, /* KS_u, KS_U, KS_braceleft, */
+ /* KC(43), */ RAWKEY_h, /* KS_h, KS_H, KS_colon, */
+ /* KC(44), */ RAWKEY_n, /* KS_n, */
+ /* KC(45), */ RAWKEY_comma, /* KS_comma, KS_slash, KS_less, */
+ /* KC(46), */ RAWKEY_f5, /* KS_Cmd_Screen4, KS_f5, Menu, */
+ /* KC(47), */ RAWKEY_Null, /* NC */
+ /* KC(48), */ RAWKEY_9, /* KS_9, KS_parenright, */
+ /* KC(49), */ RAWKEY_i, /* KS_i, KS_I, KS_braceright, */
+ /* KC(50), */ RAWKEY_j, /* KS_j, KS_J, KS_asterisk, */
+ /* KC(51), */ RAWKEY_m, /* KS_m, */
+ /* KC(52), */ RAWKEY_period, /* KS_period, KS_question, KS_greater, */
+ /* KC(53), */ RAWKEY_Null, /* NC */
+ /* KC(54), */ RAWKEY_Left, /* KS_KP_Left, left, */
+ /* KC(55), */ RAWKEY_Null, /* NC */
+ /* KC(56), */ RAWKEY_0, /* KS_0, KS_asciitilde, */
+ /* KC(57), */ RAWKEY_o, /* KS_o, */
+ /* KC(58), */ RAWKEY_k, /* KS_k, */
+ /* KC(59), */ RAWKEY_l, /* KS_l, KS_L, KS_bar, */
+ /* KC(60), */ RAWKEY_Null, /* NC */
+ /* KC(61), */ RAWKEY_Up, /* KS_KP_Up, up, */
+ /* KC(62), */ RAWKEY_Down, /* KS_KP_Down, down, */
+ /* KC(63), */ RAWKEY_Null, /* NC */
+ /* KC(64), */ RAWKEY_BackSpace, /* KS_Delete, KS_BackSpace, */
+ /* KC(65), */ RAWKEY_p, /* KS_p, */
+ /* KC(66), */ RAWKEY_Null, /* NC */
+ /* KC(67), */ RAWKEY_Null, /* NC */
+ /* KC(68), */ RAWKEY_Return, /* KS_Return, */
+ /* KC(69), */ RAWKEY_Null, /* NC */
+ /* KC(70), */ RAWKEY_Right, /* KS_KP_Right, right, */
+ /* KC(71), */ RAWKEY_Null, /* NC */
+ /* KC(72), */ RAWKEY_Null, /* NC */
+ /* KC(73), */ RAWKEY_Null, /* NC */
+ /* KC(74), */ RAWKEY_Null, /* NC */
+ /* KC(75), */ RAWKEY_Null, /* NC */
+ /* KC(76), */ RAWKEY_Null, /* NC */
+ /* KC(77), */ RAWKEY_Null, /* NC */
+ /* KC(78), */ RAWKEY_Null, /* NC */
+ /* KC(79), */ RAWKEY_Null, /* NC */
+ /* KC(80), */ RAWKEY_Right, /* KS_KP_Right, OK, (ext) */
+ /* KC(81), */ RAWKEY_Down, /* KS_KP_Down, tog left, */
+ /* KC(82), */ RAWKEY_Null, /* NC */
+ /* KC(83), */ RAWKEY_Shift_R, /* KS_Shift_R, */
+ /* KC(84), */ RAWKEY_Shift_L, /* KS_Shift_L, */
+ /* KC(85), */ RAWKEY_Null, /* NC */
+ /* KC(86), */ RAWKEY_Null, /* NC */
+ /* KC(87), */ RAWKEY_Null, /* NC */
+ /* KC(88), */ RAWKEY_Left, /* KS_KP_Left, cancel (ext), */
+ /* KC(89), */ RAWKEY_Up, /* KS_KP_Up, tog right, */
+ /* KC(90), */ RAWKEY_Null, /* NC */
+ /* KC(91), */ RAWKEY_Null, /* NC */
+ /* KC(92), */ RAWKEY_Null, /* NC */
+ /* KC(93), */ RAWKEY_Begin, /* KS_Mode_switch Fn */
};
#endif