x.rst
changeset 1295 47adf5860e73
parent 1267 d2a8da11f9d7
child 1324 05861a2b18d8
equal deleted inserted replaced
1294:571618059000 1295:47adf5860e73
    86                 Codes sent by the X server to the client indicating which key
    86                 Codes sent by the X server to the client indicating which key
    87                 was pressed. Keycodes by themselves do not indicate what the
    87                 was pressed. Keycodes by themselves do not indicate what the
    88                 keystroke means; the client must request that information from
    88                 keystroke means; the client must request that information from
    89                 the X server.
    89                 the X server.
    90   modifiers
    90   modifiers
    91                 Flags, such as ``shift'' and ``control,'' that the server sends
    91                 Flags, such as ``shift`` and ``control``, that the server sends
    92                 with each keycode to the client. The client's interpretation of
    92                 with each keycode to the client. The client's interpretation of
    93                 the keycode may depend on the state of the modifiers. For
    93                 the keycode may depend on the state of the modifiers. For
    94                 example, the state of the shift modifier determines whether an
    94                 example, the state of the shift modifier determines whether an
    95                 alphabetic character should be lowercase or uppercase. Because
    95                 alphabetic character should be lowercase or uppercase. Because
    96                 the X server encodes the states of the eight modifiers (shift,
    96                 the X server encodes the states of the eight modifiers (shift,
    97                 lock, control, mod1, mod2, mod3, mod4, and mod5) in a single
    97                 lock, control, mod1, mod2, mod3, mod4, and mod5) in a single
    98                 byte of data, modifiers are often referred to as ``modifier
    98                 byte of data, modifiers are often referred to as ``modifier
    99                 bits.''
    99                 bits``.
   100   keysyms
   100   keysyms
   101                 codes that specify the glyphs appearing on the keys. The X
   101                 codes that specify the glyphs appearing on the keys. The X
   102                 server also maintains a list of strings that describe the
   102                 server also maintains a list of strings that describe the
   103                 keysyms, such as ``a'', ``B'', and ``Control.''
   103                 keysyms, such as ``a``, ``B``, and ``Control``.
   104 
   104 
   105 Find the keycode.
   105 Find the keycode.
   106 =================
   106 =================
   107 
   107 
   108 ::
   108 ::