Difference between revisions of "Xmonad/Key codes"

From HaskellWiki
Jump to navigation Jump to search
m (Add link to EZConfig, clean up layout)
m (consistent indentation of keysyms)
Line 11: Line 11:
 
Following is the complete list of xK_ keysyms defined by (ancient) X11-1.4.2.
 
Following is the complete list of xK_ keysyms defined by (ancient) X11-1.4.2.
 
<haskell>
 
<haskell>
xK_VoidSymbol,
+
xK_VoidSymbol,
xK_BackSpace,
+
xK_BackSpace,
xK_Tab,
+
xK_Tab,
xK_Linefeed,
+
xK_Linefeed,
xK_Clear,
+
xK_Clear,
xK_Return,
+
xK_Return,
xK_Pause,
+
xK_Pause,
xK_Scroll_Lock,
+
xK_Scroll_Lock,
xK_Sys_Req,
+
xK_Sys_Req,
xK_Escape,
+
xK_Escape,
xK_Delete,
+
xK_Delete,
xK_Multi_key,
+
xK_Multi_key,
xK_Home,
+
xK_Home,
xK_Left,
+
xK_Left,
xK_Up,
+
xK_Up,
xK_Right,
+
xK_Right,
xK_Down,
+
xK_Down,
xK_Prior,
+
xK_Prior,
xK_Page_Up,
+
xK_Page_Up,
xK_Next,
+
xK_Next,
xK_Page_Down,
+
xK_Page_Down,
xK_End,
+
xK_End,
xK_Begin,
+
xK_Begin,
xK_Select,
+
xK_Select,
xK_Print,
+
xK_Print,
xK_Execute,
+
xK_Execute,
xK_Insert,
+
xK_Insert,
xK_Undo,
+
xK_Undo,
xK_Redo,
+
xK_Redo,
xK_Menu,
+
xK_Menu,
xK_Find,
+
xK_Find,
xK_Cancel,
+
xK_Cancel,
xK_Help,
+
xK_Help,
xK_Break,
+
xK_Break,
xK_Mode_switch,
+
xK_Mode_switch,
xK_script_switch,
+
xK_script_switch,
xK_Num_Lock,
+
xK_Num_Lock,
xK_KP_Space,
+
xK_KP_Space,
xK_KP_Tab,
+
xK_KP_Tab,
xK_KP_Enter,
+
xK_KP_Enter,
xK_KP_F1,
+
xK_KP_F1,
xK_KP_F2,
+
xK_KP_F2,
xK_KP_F3,
+
xK_KP_F3,
xK_KP_F4,
+
xK_KP_F4,
xK_KP_Home,
+
xK_KP_Home,
xK_KP_Left,
+
xK_KP_Left,
xK_KP_Up,
+
xK_KP_Up,
xK_KP_Right,
+
xK_KP_Right,
xK_KP_Down,
+
xK_KP_Down,
xK_KP_Prior,
+
xK_KP_Prior,
xK_KP_Page_Up,
+
xK_KP_Page_Up,
xK_KP_Next,
+
xK_KP_Next,
xK_KP_Page_Down,
+
xK_KP_Page_Down,
xK_KP_End,
+
xK_KP_End,
xK_KP_Begin,
+
xK_KP_Begin,
xK_KP_Insert,
+
xK_KP_Insert,
xK_KP_Delete,
+
xK_KP_Delete,
xK_KP_Equal,
+
xK_KP_Equal,
xK_KP_Multiply,
+
xK_KP_Multiply,
xK_KP_Add,
+
xK_KP_Add,
xK_KP_Separator,
+
xK_KP_Separator,
xK_KP_Subtract,
+
xK_KP_Subtract,
xK_KP_Decimal,
+
xK_KP_Decimal,
xK_KP_Divide,
+
xK_KP_Divide,
xK_KP_0,
+
xK_KP_0,
xK_KP_1,
+
xK_KP_1,
xK_KP_2,
+
xK_KP_2,
xK_KP_3,
+
xK_KP_3,
xK_KP_4,
+
xK_KP_4,
xK_KP_5,
+
xK_KP_5,
xK_KP_6,
+
xK_KP_6,
xK_KP_7,
+
xK_KP_7,
xK_KP_8,
+
xK_KP_8,
xK_KP_9,
+
xK_KP_9,
xK_F1,
+
xK_F1,
xK_F2,
+
xK_F2,
xK_F3,
+
xK_F3,
xK_F4,
+
xK_F4,
xK_F5,
+
xK_F5,
xK_F6,
+
xK_F6,
xK_F7,
+
xK_F7,
xK_F8,
+
xK_F8,
xK_F9,
+
xK_F9,
xK_F10,
+
xK_F10,
xK_F11,
+
xK_F11,
xK_L1,
+
xK_L1,
xK_F12,
+
xK_F12,
xK_L2,
+
xK_L2,
xK_F13,
+
xK_F13,
xK_L3,
+
xK_L3,
xK_F14,
+
xK_F14,
xK_L4,
+
xK_L4,
xK_F15,
+
xK_F15,
xK_L5,
+
xK_L5,
xK_F16,
+
xK_F16,
xK_L6,
+
xK_L6,
xK_F17,
+
xK_F17,
xK_L7,
+
xK_L7,
xK_F18,
+
xK_F18,
xK_L8,
+
xK_L8,
xK_F19,
+
xK_F19,
xK_L9,
+
xK_L9,
xK_F20,
+
xK_F20,
xK_L10,
+
xK_L10,
xK_F21,
+
xK_F21,
xK_R1,
+
xK_R1,
xK_F22,
+
xK_F22,
xK_R2,
+
xK_R2,
xK_F23,
+
xK_F23,
xK_R3,
+
xK_R3,
xK_F24,
+
xK_F24,
xK_R4,
+
xK_R4,
xK_F25,
+
xK_F25,
xK_R5,
+
xK_R5,
xK_F26,
+
xK_F26,
xK_R6,
+
xK_R6,
xK_F27,
+
xK_F27,
xK_R7,
+
xK_R7,
xK_F28,
+
xK_F28,
xK_R8,
+
xK_R8,
xK_F29,
+
xK_F29,
xK_R9,
+
xK_R9,
xK_F30,
+
xK_F30,
xK_R10,
+
xK_R10,
xK_F31,
+
xK_F31,
xK_R11,
+
xK_R11,
xK_F32,
+
xK_F32,
xK_R12,
+
xK_R12,
xK_F33,
+
xK_F33,
xK_R13,
+
xK_R13,
xK_F34,
+
xK_F34,
xK_R14,
+
xK_R14,
xK_F35,
+
xK_F35,
xK_R15,
+
xK_R15,
xK_Shift_L,
+
xK_Shift_L,
xK_Shift_R,
+
xK_Shift_R,
xK_Control_L,
+
xK_Control_L,
xK_Control_R,
+
xK_Control_R,
xK_Caps_Lock,
+
xK_Caps_Lock,
xK_Shift_Lock,
+
xK_Shift_Lock,
xK_Meta_L,
+
xK_Meta_L,
xK_Meta_R,
+
xK_Meta_R,
xK_Alt_L,
+
xK_Alt_L,
xK_Alt_R,
+
xK_Alt_R,
xK_Super_L,
+
xK_Super_L,
xK_Super_R,
+
xK_Super_R,
xK_Hyper_L,
+
xK_Hyper_L,
xK_Hyper_R,
+
xK_Hyper_R,
xK_space,
+
xK_space,
xK_exclam,
+
xK_exclam,
xK_quotedbl,
+
xK_quotedbl,
xK_numbersign,
+
xK_numbersign,
xK_dollar,
+
xK_dollar,
xK_percent,
+
xK_percent,
xK_ampersand,
+
xK_ampersand,
xK_apostrophe,
+
xK_apostrophe,
xK_quoteright,
+
xK_quoteright,
xK_parenleft,
+
xK_parenleft,
xK_parenright,
+
xK_parenright,
xK_asterisk,
+
xK_asterisk,
xK_plus,
+
xK_plus,
xK_comma,
+
xK_comma,
xK_minus,
+
xK_minus,
xK_period,
+
xK_period,
xK_slash,
+
xK_slash,
xK_0,
+
xK_0,
xK_1,
+
xK_1,
xK_2,
+
xK_2,
xK_3,
+
xK_3,
xK_4,
+
xK_4,
xK_5,
+
xK_5,
xK_6,
+
xK_6,
xK_7,
+
xK_7,
xK_8,
+
xK_8,
xK_9,
+
xK_9,
xK_colon,
+
xK_colon,
xK_semicolon,
+
xK_semicolon,
xK_less,
+
xK_less,
xK_equal,
+
xK_equal,
xK_greater,
+
xK_greater,
xK_question,
+
xK_question,
xK_at,
+
xK_at,
xK_A,
+
xK_A,
xK_B,
+
xK_B,
xK_C,
+
xK_C,
xK_D,
+
xK_D,
xK_E,
+
xK_E,
xK_F,
+
xK_F,
xK_G,
+
xK_G,
xK_H,
+
xK_H,
xK_I,
+
xK_I,
xK_J,
+
xK_J,
xK_K,
+
xK_K,
xK_L,
+
xK_L,
xK_M,
+
xK_M,
xK_N,
+
xK_N,
xK_O,
+
xK_O,
xK_P,
+
xK_P,
xK_Q,
+
xK_Q,
xK_R,
+
xK_R,
xK_S,
+
xK_S,
xK_T,
+
xK_T,
xK_U,
+
xK_U,
xK_V,
+
xK_V,
xK_W,
+
xK_W,
xK_X,
+
xK_X,
xK_Y,
+
xK_Y,
xK_Z,
+
xK_Z,
xK_bracketleft,
+
xK_bracketleft,
xK_backslash,
+
xK_backslash,
xK_bracketright,
+
xK_bracketright,
xK_asciicircum,
+
xK_asciicircum,
xK_underscore,
+
xK_underscore,
xK_grave,
+
xK_grave,
xK_quoteleft,
+
xK_quoteleft,
xK_a,
+
xK_a,
xK_b,
+
xK_b,
xK_c,
+
xK_c,
xK_d,
+
xK_d,
xK_e,
+
xK_e,
xK_f,
+
xK_f,
xK_g,
+
xK_g,
xK_h,
+
xK_h,
xK_i,
+
xK_i,
xK_j,
+
xK_j,
xK_k,
+
xK_k,
xK_l,
+
xK_l,
xK_m,
+
xK_m,
xK_n,
+
xK_n,
xK_o,
+
xK_o,
xK_p,
+
xK_p,
xK_q,
+
xK_q,
xK_r,
+
xK_r,
xK_s,
+
xK_s,
xK_t,
+
xK_t,
xK_u,
+
xK_u,
xK_v,
+
xK_v,
xK_w,
+
xK_w,
xK_x,
+
xK_x,
xK_y,
+
xK_y,
xK_z,
+
xK_z,
xK_braceleft,
+
xK_braceleft,
xK_bar,
+
xK_bar,
xK_braceright,
+
xK_braceright,
xK_asciitilde,
+
xK_asciitilde,
xK_nobreakspace,
+
xK_nobreakspace,
xK_exclamdown,
+
xK_exclamdown,
xK_cent,
+
xK_cent,
xK_sterling,
+
xK_sterling,
xK_currency,
+
xK_currency,
xK_yen,
+
xK_yen,
xK_brokenbar,
+
xK_brokenbar,
xK_section,
+
xK_section,
xK_diaeresis,
+
xK_diaeresis,
xK_copyright,
+
xK_copyright,
xK_ordfeminine,
+
xK_ordfeminine,
xK_guillemotleft,
+
xK_guillemotleft,
xK_notsign,
+
xK_notsign,
xK_hyphen,
+
xK_hyphen,
xK_registered,
+
xK_registered,
xK_macron,
+
xK_macron,
xK_degree,
+
xK_degree,
xK_plusminus,
+
xK_plusminus,
xK_twosuperior,
+
xK_twosuperior,
xK_threesuperior,
+
xK_threesuperior,
xK_acute,
+
xK_acute,
xK_mu,
+
xK_mu,
xK_paragraph,
+
xK_paragraph,
xK_periodcentered,
+
xK_periodcentered,
xK_cedilla,
+
xK_cedilla,
xK_onesuperior,
+
xK_onesuperior,
xK_masculine,
+
xK_masculine,
xK_guillemotright,
+
xK_guillemotright,
xK_onequarter,
+
xK_onequarter,
xK_onehalf,
+
xK_onehalf,
xK_threequarters,
+
xK_threequarters,
xK_questiondown,
+
xK_questiondown,
xK_Agrave,
+
xK_Agrave,
xK_Aacute,
+
xK_Aacute,
xK_Acircumflex,
+
xK_Acircumflex,
xK_Atilde,
+
xK_Atilde,
xK_Adiaeresis,
+
xK_Adiaeresis,
xK_Aring,
+
xK_Aring,
xK_AE,
+
xK_AE,
xK_Ccedilla,
+
xK_Ccedilla,
xK_Egrave,
+
xK_Egrave,
xK_Eacute,
+
xK_Eacute,
xK_Ecircumflex,
+
xK_Ecircumflex,
xK_Ediaeresis,
+
xK_Ediaeresis,
xK_Igrave,
+
xK_Igrave,
xK_Iacute,
+
xK_Iacute,
xK_Icircumflex,
+
xK_Icircumflex,
xK_Idiaeresis,
+
xK_Idiaeresis,
xK_ETH,
+
xK_ETH,
xK_Eth,
+
xK_Eth,
xK_Ntilde,
+
xK_Ntilde,
xK_Ograve,
+
xK_Ograve,
xK_Oacute,
+
xK_Oacute,
xK_Ocircumflex,
+
xK_Ocircumflex,
xK_Otilde,
+
xK_Otilde,
xK_Odiaeresis,
+
xK_Odiaeresis,
xK_multiply,
+
xK_multiply,
xK_Ooblique,
+
xK_Ooblique,
xK_Ugrave,
+
xK_Ugrave,
xK_Uacute,
+
xK_Uacute,
xK_Ucircumflex,
+
xK_Ucircumflex,
xK_Udiaeresis,
+
xK_Udiaeresis,
xK_Yacute,
+
xK_Yacute,
xK_THORN,
+
xK_THORN,
xK_Thorn,
+
xK_Thorn,
xK_ssharp,
+
xK_ssharp,
xK_agrave,
+
xK_agrave,
xK_aacute,
+
xK_aacute,
xK_acircumflex,
+
xK_acircumflex,
xK_atilde,
+
xK_atilde,
xK_adiaeresis,
+
xK_adiaeresis,
xK_aring,
+
xK_aring,
xK_ae,
+
xK_ae,
xK_ccedilla,
+
xK_ccedilla,
xK_egrave,
+
xK_egrave,
xK_eacute,
+
xK_eacute,
xK_ecircumflex,
+
xK_ecircumflex,
xK_ediaeresis,
+
xK_ediaeresis,
xK_igrave,
+
xK_igrave,
xK_iacute,
+
xK_iacute,
xK_icircumflex,
+
xK_icircumflex,
xK_idiaeresis,
+
xK_idiaeresis,
xK_eth,
+
xK_eth,
xK_ntilde,
+
xK_ntilde,
xK_ograve,
+
xK_ograve,
xK_oacute,
+
xK_oacute,
xK_ocircumflex,
+
xK_ocircumflex,
xK_otilde,
+
xK_otilde,
xK_odiaeresis,
+
xK_odiaeresis,
xK_division,
+
xK_division,
xK_oslash,
+
xK_oslash,
xK_ugrave,
+
xK_ugrave,
xK_uacute,
+
xK_uacute,
xK_ucircumflex,
+
xK_ucircumflex,
xK_udiaeresis,
+
xK_udiaeresis,
xK_yacute,
+
xK_yacute,
xK_thorn,
+
xK_thorn,
xK_ydiaeresis
+
xK_ydiaeresis
 
</haskell>
 
</haskell>

Revision as of 23:41, 7 June 2011

Haskell Graphics.X11 keysym definitions

The hackage X11 package page has links to the current Types and ExtraTypes modules where keysyms are defined.

See also the XMonad.Util.EZConfig module for a simpler way to bind commonly used keys.

You can also search in /usr/include/X11/keysymdef.h Your xmonad will support the intersection of what was defined there when xmonad was compiled and what is interfaced in your version of haskell-x11.

Following is the complete list of xK_ keysyms defined by (ancient) X11-1.4.2.

xK_VoidSymbol,
xK_BackSpace,
xK_Tab,
xK_Linefeed,
xK_Clear,
xK_Return,
xK_Pause,
xK_Scroll_Lock,
xK_Sys_Req,
xK_Escape,
xK_Delete,
xK_Multi_key,
xK_Home,
xK_Left,
xK_Up,
xK_Right,
xK_Down,
xK_Prior,
xK_Page_Up,
xK_Next,
xK_Page_Down,
xK_End,
xK_Begin,
xK_Select,
xK_Print,
xK_Execute,
xK_Insert,
xK_Undo,
xK_Redo,
xK_Menu,
xK_Find,
xK_Cancel,
xK_Help,
xK_Break,
xK_Mode_switch,
xK_script_switch,
xK_Num_Lock,
xK_KP_Space,
xK_KP_Tab,
xK_KP_Enter,
xK_KP_F1,
xK_KP_F2,
xK_KP_F3,
xK_KP_F4,
xK_KP_Home,
xK_KP_Left,
xK_KP_Up,
xK_KP_Right,
xK_KP_Down,
xK_KP_Prior,
xK_KP_Page_Up,
xK_KP_Next,
xK_KP_Page_Down,
xK_KP_End,
xK_KP_Begin,
xK_KP_Insert,
xK_KP_Delete,
xK_KP_Equal,
xK_KP_Multiply,
xK_KP_Add,
xK_KP_Separator,
xK_KP_Subtract,
xK_KP_Decimal,
xK_KP_Divide,
xK_KP_0,
xK_KP_1,
xK_KP_2,
xK_KP_3,
xK_KP_4,
xK_KP_5,
xK_KP_6,
xK_KP_7,
xK_KP_8,
xK_KP_9,
xK_F1,
xK_F2,
xK_F3,
xK_F4,
xK_F5,
xK_F6,
xK_F7,
xK_F8,
xK_F9,
xK_F10,
xK_F11,
xK_L1,
xK_F12,
xK_L2,
xK_F13,
xK_L3,
xK_F14,
xK_L4,
xK_F15,
xK_L5,
xK_F16,
xK_L6,
xK_F17,
xK_L7,
xK_F18,
xK_L8,
xK_F19,
xK_L9,
xK_F20,
xK_L10,
xK_F21,
xK_R1,
xK_F22,
xK_R2,
xK_F23,
xK_R3,
xK_F24,
xK_R4,
xK_F25,
xK_R5,
xK_F26,
xK_R6,
xK_F27,
xK_R7,
xK_F28,
xK_R8,
xK_F29,
xK_R9,
xK_F30,
xK_R10,
xK_F31,
xK_R11,
xK_F32,
xK_R12,
xK_F33,
xK_R13,
xK_F34,
xK_R14,
xK_F35,
xK_R15,
xK_Shift_L,
xK_Shift_R,
xK_Control_L,
xK_Control_R,
xK_Caps_Lock,
xK_Shift_Lock,
xK_Meta_L,
xK_Meta_R,
xK_Alt_L,
xK_Alt_R,
xK_Super_L,
xK_Super_R,
xK_Hyper_L,
xK_Hyper_R,
xK_space,
xK_exclam,
xK_quotedbl,
xK_numbersign,
xK_dollar,
xK_percent,
xK_ampersand,
xK_apostrophe,
xK_quoteright,
xK_parenleft,
xK_parenright,
xK_asterisk,
xK_plus,
xK_comma,
xK_minus,
xK_period,
xK_slash,
xK_0,
xK_1,
xK_2,
xK_3,
xK_4,
xK_5,
xK_6,
xK_7,
xK_8,
xK_9,
xK_colon,
xK_semicolon,
xK_less,
xK_equal,
xK_greater,
xK_question,
xK_at,
xK_A,
xK_B,
xK_C,
xK_D,
xK_E,
xK_F,
xK_G,
xK_H,
xK_I,
xK_J,
xK_K,
xK_L,
xK_M,
xK_N,
xK_O,
xK_P,
xK_Q,
xK_R,
xK_S,
xK_T,
xK_U,
xK_V,
xK_W,
xK_X,
xK_Y,
xK_Z,
xK_bracketleft,
xK_backslash,
xK_bracketright,
xK_asciicircum,
xK_underscore,
xK_grave,
xK_quoteleft,
xK_a,
xK_b,
xK_c,
xK_d,
xK_e,
xK_f,
xK_g,
xK_h,
xK_i,
xK_j,
xK_k,
xK_l,
xK_m,
xK_n,
xK_o,
xK_p,
xK_q,
xK_r,
xK_s,
xK_t,
xK_u,
xK_v,
xK_w,
xK_x,
xK_y,
xK_z,
xK_braceleft,
xK_bar,
xK_braceright,
xK_asciitilde,
xK_nobreakspace,
xK_exclamdown,
xK_cent,
xK_sterling,
xK_currency,
xK_yen,
xK_brokenbar,
xK_section,
xK_diaeresis,
xK_copyright,
xK_ordfeminine,
xK_guillemotleft,
xK_notsign,
xK_hyphen,
xK_registered,
xK_macron,
xK_degree,
xK_plusminus,
xK_twosuperior,
xK_threesuperior,
xK_acute,
xK_mu,
xK_paragraph,
xK_periodcentered,
xK_cedilla,
xK_onesuperior,
xK_masculine,
xK_guillemotright,
xK_onequarter,
xK_onehalf,
xK_threequarters,
xK_questiondown,
xK_Agrave,
xK_Aacute,
xK_Acircumflex,
xK_Atilde,
xK_Adiaeresis,
xK_Aring,
xK_AE,
xK_Ccedilla,
xK_Egrave,
xK_Eacute,
xK_Ecircumflex,
xK_Ediaeresis,
xK_Igrave,
xK_Iacute,
xK_Icircumflex,
xK_Idiaeresis,
xK_ETH,
xK_Eth,
xK_Ntilde,
xK_Ograve,
xK_Oacute,
xK_Ocircumflex,
xK_Otilde,
xK_Odiaeresis,
xK_multiply,
xK_Ooblique,
xK_Ugrave,
xK_Uacute,
xK_Ucircumflex,
xK_Udiaeresis,
xK_Yacute,
xK_THORN,
xK_Thorn,
xK_ssharp,
xK_agrave,
xK_aacute,
xK_acircumflex,
xK_atilde,
xK_adiaeresis,
xK_aring,
xK_ae,
xK_ccedilla,
xK_egrave,
xK_eacute,
xK_ecircumflex,
xK_ediaeresis,
xK_igrave,
xK_iacute,
xK_icircumflex,
xK_idiaeresis,
xK_eth,
xK_ntilde,
xK_ograve,
xK_oacute,
xK_ocircumflex,
xK_otilde,
xK_odiaeresis,
xK_division,
xK_oslash,
xK_ugrave,
xK_uacute,
xK_ucircumflex,
xK_udiaeresis,
xK_yacute,
xK_thorn,
xK_ydiaeresis