1XkbSetPtrActionY(3)              XKB FUNCTIONS             XkbSetPtrActionY(3)
2
3
4

NAME

6       XkbSetPtrActionY - Sets the high_YYY and low_YYY fields of act from the
7       signed integer value y
8

SYNOPSIS

10       void XkbSetPtrActionY (XkbPtrAction act, int y);
11

ARGUMENTS

13       - act  action in which to set Y
14
15       - y    new value to set
16

DESCRIPTION

18       Actions associated with the XkbPtrAction  structure  move  the  pointer
19       when keys are pressed and released.
20
21       If the MouseKeys control is not enabled, KeyPress and KeyRelease events
22       are treated as though the action is XkbSA_NoAction.
23
24       If  the  MouseKeys  control  is  enabled,  a  server  action  of   type
25       XkbSA_MovePtr  instructs  the server to generate core pointer MotionNo‐
26       tify events rather than the usual KeyPress event, and the corresponding
27       KeyRelease  event disables any mouse keys timers that were created as a
28       result of handling the XkbSA_MovePtr action.
29
30       The type field of the XkbPtrAction structure is always XkbSA_MovePtr.
31
32       The flags field is a bitwise inclusive OR of the masks shown  in  Table
33       1.
34
35
36                        Table 1 Pointer Action Types
37       ────────────────────────────────────────────────────────────────
38       Action Type            Meaning
39       ────────────────────────────────────────────────────────────────
40       XkbSA_NoAcceleration   If  not set, and the MouseKeysAccel con‐
41                              trol is enabled, the KeyPress  initiates
42                              a  mouse  keys timer for this key; every
43                              time  the  timer  expires,  the   cursor
44                              moves.
45       XkbSA_MoveAbsoluteX    If  set,  the X portion of the structure
46                              specifies the new pointer X  coordinate.
47                              Otherwise, the X portion is added to the
48                              current pointer X coordinate  to  deter‐
49                              mine the new pointer X coordinate.
50       XkbSA_MoveAbsoluteY    If  set,  the Y portion of the structure
51                              specifies the new pointer Y  coordinate.
52                              Otherwise, the Y portion is added to the
53                              current pointer Y coordinate  to  deter‐
54                              mine the new pointer Y coordinate.
55
56       Each  of  the X and Y coordinates of the XkbPtrAction structure is com‐
57       posed of two signed 16-bit values, that is, the X  coordinate  is  com‐
58       posed  of high_XXX and low_XXX, and similarly for the Y coordinate. Xkb
59       provides the following macros, to convert between a signed integer  and
60       two signed 16-bit values in XkbPtrAction structures.
61

STRUCTURES

63           typedef struct _XkbPtrAction {
64               unsigned char    type;         /∗ XkbSA_MovePtr */
65               unsigned char    flags;        /∗ determines type of pointer motion */
66               unsigned char    high_XXX;     /∗ x coordinate, high bits*/
67               unsigned char    low_XXX;      /∗ y coordinate, low bits */
68               unsigned char    high_YYY;     /∗ x coordinate, high bits */
69               unsigned char    low_YYY;      /∗ y coordinate, low bits */
70           } XkbPtrAction;
71
72
73
74
75X Version 11                     libX11 1.6.12             XkbSetPtrActionY(3)
Impressum