/*
 * Copyright 1994-1995 TriloBYTE Software Solutions.
 *
 * Author: Amen Zwa, TriloBYTE.
 */



// static char* sccsid = "XmWidget: %W%\t%G%\tAmen Zwa, TriloBYTE.";



// WKeySym.h: keyboard symbol definitions



#if !defined(WKEYSYM_H)
#define WKEYSYM_H

#include <X11/keysym.h>



// key codes for Sun Type 5 keyboard
enum {
    // top row
    WK_esc = XK_Escape,
    WK_F1 = XK_F1,
    WK_F2 = XK_F2,
    WK_F3 = XK_F3,
    WK_F4 = XK_F4,
    WK_F5 = XK_F5,
    WK_F6 = XK_F6,
    WK_F7 = XK_F7,
    WK_F8 = XK_F8,
    WK_F9 = XK_F9,
    WK_F10 = XK_F10,
    WK_F11 = XK_F11,
    WK_F12 = XK_F12,
    // main keyboard
    WK_tab = XK_Tab,
    WK_delete = XK_BackSpace,
    WK_return = XK_Return,
    WK_space = XK_space,
    WK_period = XK_period,
    // modifier keys
    WK_capslock = XK_Caps_Lock,
    WK_leftshift = XK_Shift_L,
    WK_rightshift = XK_Shift_R,
    WK_leftcontrol = XK_Control_L,
    WK_rightcontrol = XK_Control_R,
    WK_leftoption = XK_Alt_L,		// left Alt key on Sun Type 5
    WK_rightoption = XK_Alt_R,		// right Alt key on Sun Type 5
    WK_leftcommand = XK_Meta_L,		// left diamond key on Sun Type 5
    WK_rightcommand = XK_Meta_R,	// right diamond key on Sun Type 5
    // navigation keys
    WK_scrolllock = XK_Scroll_Lock,
    WK_ins = XK_Insert,
    WK_del = XK_Delete,
    WK_home = XK_Home,
    WK_end = XK_End,
    WK_pageup = XK_Prior,
    WK_pagedown = XK_Next,
    WK_leftarrow = XK_Left,
    WK_rightarrow = XK_Right,
    WK_uparrow = XK_Up,
    WK_downarrow = XK_Down,
    // numeric keypad
    WK_numlock = XK_Num_Lock,
    WK_kp_0 = XK_KP_0,
    WK_kp_1 = XK_KP_1,
    WK_kp_2 = XK_KP_2,
    WK_kp_3 = XK_KP_3,
    WK_kp_4 = XK_KP_4,
    WK_kp_5 = XK_KP_5,
    WK_kp_6 = XK_KP_6,
    WK_kp_7 = XK_KP_7,
    WK_kp_8 = XK_KP_8,
    WK_kp_9 = XK_KP_9,
    WK_kp_decimal = XK_KP_Decimal,
    WK_add = XK_KP_Add,
    WK_subtract = XK_KP_Subtract,
    WK_muliply = XK_KP_Multiply,
    WK_divide = XK_KP_Divide,
    WK_enter = XK_KP_Enter,
    // miscellaneous
    WK_help = XK_Help
};

#endif	// WKEYSYM_H
