This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



XkbLatchModifiers(3)                            XKB FUNCTIONS                           XkbLatchModifiers(3)



NAME
       XkbLatchModifiers -  Latches and unlatches any of the eight real keyboard modifiers

SYNOPSIS
       Bool XkbLatchModifiers ( display, device_spec, affect, values )
             Display *display;
             unsigned int device_spec;
             unsigned int affect;
             unsigned int values;

ARGUMENTS
       display
              connection to the X server

       device_spec
              device ID, or XkbUseCoreKbd

       affect mask of real modifiers whose lock state is to change

       values 1 => lock, 0 => unlock; only for modifiers selected by affect

DESCRIPTION
       XkbLatchModifiers  sends  a request to the server to latch the real modifiers selected by both affect
       and values and to unlatch the real modifiers selected by affect , but not selected by values.

       XkbLatchModifiers does not wait for a reply from the server. It returns True if the request was sent,
       and False otherwise.

       The functions in this section that change the use of modifiers use a mask in the parameter affect. It
       is a bitwise inclusive OR of the legal modifier masks:


       Table 1 Real Modifier Masks
       ----------------------------Mask ---------------------------Mask
       Mask
       ----------------------------ShiftMask ---------------------------ShiftMask
       ShiftMask
       LockMask
       ControlMask
       Mod1Mask
       Mod2Mask
       Mod3Mask
       Mod4Mask
       Mod5Mask

RETURN VALUES
       True           The XkbLatchModifiers function returns True if a request was sent  to  the  server  to
                      latch  the  real  modifiers selected by both affect and values and to unlatch the real
                      modifiers selected by affect , but not selected by values.

       False          The XkbLatchModifiers function returns False if the request was not sent.




X Version 11                                    libX11 1.2.1                            XkbLatchModifiers(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...