[hackers] [st] Adding support for XK_F35. || Christoph Lohmann

From: <hg_AT_suckless.org>
Date: Thu, 15 Nov 2012 20:02:50 +0100 (CET)

changeset: 416:a2b1ab4070b5
tag: tip
user: Christoph Lohmann <20h_AT_r-36.net>
date: Thu Nov 15 20:00:46 2012 +0100
files: config.def.h
description:
Adding support for XK_F35.


diff -r ae80eae7dd2a -r a2b1ab4070b5 config.def.h
--- a/config.def.h Thu Nov 15 19:01:16 2012 +0100
+++ b/config.def.h Thu Nov 15 20:00:46 2012 +0100
_AT_@ -54,6 +54,16 @@
 static unsigned int defaultcs = 256;
 static unsigned int defaultucs = 257;
 
+/* Internal shortcuts. */
+#define MODKEY Mod1Mask
+
+static Shortcut shortcuts[] = {
+ /* modifier key function argument */
+ { MODKEY|ShiftMask, XK_Prior, xzoom, {.i = +1} },
+ { MODKEY|ShiftMask, XK_Next, xzoom, {.i = -1} },
+ { ShiftMask, XK_Insert, selpaste, {.i = 0} },
+};
+
 /*
  * Special keys (change & recompile st.info accordingly)
  *
_AT_@ -224,15 +234,28 @@
         { XK_F12, /* F36 */ ControlMask, "\033[24;5~", 0, 0, 0},
         { XK_F12, /* F48 */ Mod2Mask, "\033[24;6~", 0, 0, 0},
         { XK_F12, /* F60 */ Mod1Mask, "\033[24;3~", 0, 0, 0},
+ { XK_F13, XK_NO_MOD, "\033[1;2P", 0, 0, 0},
+ { XK_F14, XK_NO_MOD, "\033[1;2Q", 0, 0, 0},
+ { XK_F15, XK_NO_MOD, "\033[1;2R", 0, 0, 0},
+ { XK_F16, XK_NO_MOD, "\033[1;2S", 0, 0, 0},
+ { XK_F17, XK_NO_MOD, "\033[15;2~", 0, 0, 0},
+ { XK_F18, XK_NO_MOD, "\033[17;2~", 0, 0, 0},
+ { XK_F19, XK_NO_MOD, "\033[18;2~", 0, 0, 0},
+ { XK_F20, XK_NO_MOD, "\033[19;2~", 0, 0, 0},
+ { XK_F21, XK_NO_MOD, "\033[20;2~", 0, 0, 0},
+ { XK_F22, XK_NO_MOD, "\033[21;2~", 0, 0, 0},
+ { XK_F23, XK_NO_MOD, "\033[23;2~", 0, 0, 0},
+ { XK_F24, XK_NO_MOD, "\033[24;2~", 0, 0, 0},
+ { XK_F25, XK_NO_MOD, "\033[1;5P", 0, 0, 0},
+ { XK_F26, XK_NO_MOD, "\033[1;5Q", 0, 0, 0},
+ { XK_F27, XK_NO_MOD, "\033[1;5R", 0, 0, 0},
+ { XK_F28, XK_NO_MOD, "\033[1;5S", 0, 0, 0},
+ { XK_F29, XK_NO_MOD, "\033[15;5~", 0, 0, 0},
+ { XK_F30, XK_NO_MOD, "\033[17;5~", 0, 0, 0},
+ { XK_F31, XK_NO_MOD, "\033[18;5~", 0, 0, 0},
+ { XK_F32, XK_NO_MOD, "\033[19;5~", 0, 0, 0},
+ { XK_F33, XK_NO_MOD, "\033[20;5~", 0, 0, 0},
+ { XK_F34, XK_NO_MOD, "\033[21;5~", 0, 0, 0},
+ { XK_F35, XK_NO_MOD, "\033[23;5~", 0, 0, 0},
 };
 
-/* Internal shortcuts. */
-#define MODKEY Mod1Mask
-
-static Shortcut shortcuts[] = {
- /* modifier key function argument */
- { MODKEY|ShiftMask, XK_Prior, xzoom, {.i = +1} },
- { MODKEY|ShiftMask, XK_Next, xzoom, {.i = -1} },
- { ShiftMask, XK_Insert, selpaste, {.i = 0} },
-};
-
Received on Thu Nov 15 2012 - 20:02:50 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 15 2012 - 20:12:06 CET