XkbLockModifiers man page on aLinux

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
aLinux logo
[printable version]

XkbLockModifiers(3)		 XKB FUNCTIONS		   XkbLockModifiers(3)

NAME
       XkbLockModifiers	 -   Locks  and unlocks any of the eight real keyboard
       modifiers

SYNOPSIS
       Bool XkbLockModifiers ( 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
       XkbLockModifiers sends a request to the server to lock the  real	 modi‐
       fiers  selected	by both affect and values and to unlock the real modi‐
       fiers selected by affect, but not selected by values.  XkbLockModifiers
       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
       ────────────────────────────
       ShiftMask
       LockMask
       ControlMask
       Mod1Mask
       Mod2Mask
       Mod3Mask
       Mod4Mask
       Mod5Mask

RETURN VALUES
       True	      The XkbLockModifiers function returns True if a  request
		      is  sent	to  the	 server	 to  lock  the	real modifiers
		      selected by both affect and values  and  to  unlock  the
		      real  modifiers  selected by affect, but not selected by
		      values.

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

X Version 11			  libX11 1.2		   XkbLockModifiers(3)
[top]

List of man pages available for aLinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net