[Trac #663] Missing X keysyms
Zarro Boogs per Child
bugtracker at laptop.org
Tue Jan 9 10:02:11 EST 2007
#663: Missing X keysyms
-----------------------------+----------------------------------------------
Reporter: marco | Owner: walter
Type: defect | Status: new
Priority: blocker | Milestone: Untriaged
Component: x window system | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment (by walter):
Jim had previously added the following to XF86keysym.h I see no reason not
to use them. We do not need to define a language key--it is already there
as AB11, assigned to the proper action.
{{{
/*
+ * Additional function keys defined by the X.Org Foundation
+ * Note that the X.Org Foundation has adopted the XFree86 keysyms
+ * defined in the XF86keysym.h file.
+ *
+ * Byte 3 = 0xfc
+ *
+ * Sometimes funciton keys are "grouped" into sets in some
+ * visible or tactile fashion, and we'd like any key to
+ * be able to be treated the same for a simpler UI.
+ */
+
+#ifdef XK_MISCELLANY
+#define XK_FuncGroup0 0xfc00
+#define XK_FuncGroup1 0xfc01
+#define XK_FuncGroup2 0xfc02
+#define XK_FuncGroup3 0xfc03
+#define XK_FuncGroup4 0xfc04
+#define XK_FuncGroup5 0xfc05
+#define XK_FuncGroup6 0xfc06
+#define XK_FuncGroup7 0xfc07
+
+/* the next set define "views" of your environment */
+
+#define XK_ViewSource 0xfc10 /* view of source of the "activity" or
appl. */
+#define XK_ViewActivity 0xfc11 /* view of your current "activity" or
appl. */
+#define XK_ViewHome 0xfc12 /* view of your personal environment */
+#define XK_ViewFriends 0xfc13 /* view of friends */
+#define XK_ViewMesh 0xfc14 /* view of people "near" you in the mesh
*/
+
+
+/*
+ * These differ from the XKB keysyms, and we expect they will be used as
+ * modifier keys, allowing you to grab window contents and move them
around
+ * rather than simulating motion of the pointer when a button is
depressed.
+ *
+ */
+
+#define XK_Grab_L 0xfc20 /* pointer stays put while contents scroll
*/
+#define XK_Grab_R 0xfc21 /* pointer stays put while contents scroll
*/
+
+
+/*
+ * function keys "between" conventional function keys;
+ * note the mathematical relationship between XK_F1-XK_F35
+ * by the choice of initial values, to make it easier to
+ * compute values related to position of the function keys.
+ */
+#define XK_Fn 0xfcbc /* sometimes the Fn key also sends a code
*/
+#define XK_F0_1 0xfcbd
+#define XK_F1_2 0xfcbe
+#define XK_F2_3 0xfcbf
+#define XK_F3_4 0xfcc0
+#define XK_F4_5 0xfcc1
+#define XK_F5_6 0xfcc2
+#define XK_F6_7 0xfcc3
+#define XK_F7_8 0xfcc4
+#define XK_F8_9 0xfcc5
+#define XK_F9_10 0xfcc6
+#define XK_F10_11 0xfcc7
+#define XK_F11_12 0xfcc8
+#define XK_F12_13 0xfcc9
+#define XK_F13_14 0xfcca
+#define XK_F14_15 0xfccb
+#define XK_F15_16 0xfccc
+#define XK_F16_17 0xfccd
+#define XK_F17_18 0xfcce
+#define XK_F18_19 0xfccf
+#define XK_F19_20 0xfcd0
+#define XK_F20_21 0xfcd1
+#define XK_F21_22 0xfcd2
+#define XK_F22_23 0xfcd3
+#define XK_F23_24 0xfcd4
+#define XK_F24_25 0xfcd5
+#define XK_F25_26 0xfcd6
+#define XK_F26_27 0xfcd7
+#define XK_F27_28 0xfcd8
+#define XK_F28_29 0xfcd9
+#define XK_F29_30 0xfcda
+#define XK_F30_31 0xfcdb
+#define XK_F31_32 0xfcdc
+#define XK_F32_33 0xfcdd
+#define XK_F33_34 0xfcde
+#define XK_F34_35 0xfcdf
+#define XK_F35_36 0xfce0
+
+#endif /* XK_MISCELLANY */
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/663#comment:5>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list