Library
Definition (incomplete) of the X library.
Verschachtelte Klassen
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static interface
static class
DEFINITIONS OF SPECIFIC EVENTS
static interface
Definition of the Xevie library.
static class
static interface
Definition (incomplete) of the Xext library.
static class
static class
static class
static class
static class
This event is the standard event for all newer extensions.
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
The modifiermap member of the XModifierKeymap structure contains 8 sets of max_keypermod KeyCodes, one for each modifier in the order Shift, Lock, Control, Mod1, Mod2, Mod3, Mod4, and Mod5.
static class
static class
static class
static class
static class
static class
static interface
Definition (incomplete) of the Xrender library.
static class
static class
static class
static class
static class
static class
static class
static interface
Definition of the XTest library.
static class
static class
static class
static class
static class
static class
Felder
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
RESERVED RESOURCE AND CONSTANT DEFINITIONS
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
int
int
Turns off auto-repeat for the keyboard on the specified display.
int
Turns on auto-repeat for the keyboard on the specified display.
int
Rings the bell on the keyboard on the specified display, if possible.
int
Changes the keyboard control state.
int
Defines the symbols for the specified number of KeyCodes starting with first_keycode.
int
int
boolean
boolean
boolean
boolean
int
int
int
int
int
Deletes the specified KeyCode from the set that controls the specified modifier and returns a pointer to the resulting XModifierKeymap structure.
int
int
int
int
int
Returns the min-keycodes and max-keycodes supported by the specified display.
int
int
int
int
If mode is QueuedAlready, XEventsQueued returns the number of events already in the event queue (and never performs a system call).
int
The XFetchName() function returns the name of the specified window.
int
int
int
int
int
Flushes the output buffer.
int
void
int
int
Frees the specified XModifierKeymap structure.
int
int
boolean
int
int
Returns the current control values for the keyboard to the XKeyboardState structure.
Returns the symbols for the specified number of KeyCodes starting with first_keycode.
The XGetModifierMapping function returns a pointer to a newly created XModifierKeymap structure that contains the keys being used as modifiers.
int
int
XGetWindowProperty(X11.Display display, X11.Window w, X11.Atom property, NativeLong long_offset, NativeLong long_length, boolean delete, X11.Atom reg_type, X11.AtomByReference actual_type_return, IntByReference actual_format_return, NativeLongByReference nitems_return, NativeLongByReference bytes_after_return, PointerByReference prop_return)
int
int
int
Establishes a passive grab on the keyboard
int
Actively grabs control of the keyboard and generates FocusIn and FocusOut events
Adds the specified KeyCode to the set that controls the specified modifier and returns the resulting XModifierKeymap structure (expanded as needed).
byte
int
int
int
int
int
int
int
Returns a pointer to XModifierKeymap structure for later use.
int
int
int
Returns the number of events that have been received from the X server but have not been removed from the event queue.
int
boolean
The XQueryExtension function determines if the named extension is present.
int
Returns a bit vector for the logical state of the keyboard, where each bit set to 1 indicates that the corresponding key is currently pressed down.
boolean
int
int
int
int
int
int
Installs an error handler
int
int
int
Specifies the KeyCodes of the keys (if any) that are to be used as modifiers.
void
int
int
Flushes the output buffer and then waits until all requests have been received and processed by the X server.
boolean
int
The XUngrabKey() function releases the key combination on the specified window if it was grabbed by this client.
int
Releases the keyboard and any queued events if this client has it actively grabbed from either XGrabKeyboard() or XGrabKey().
int
int
static final int XK_0
static final int XK_9
static final int XK_A
static final int XK_Z
static final int XK_a
static final int XK_z
static final int XK_Shift_L
static final int XK_Shift_R
static final int XK_Control_L
static final int XK_Control_R
static final int XK_CapsLock
static final int XK_ShiftLock
static final int XK_Meta_L
static final int XK_Meta_R
static final int XK_Alt_L
static final int XK_Alt_R
static final int VisualNoMask
static final int VisualIDMask
static final int VisualScreenMask
static final int VisualDepthMask
static final int VisualClassMask
static final int VisualRedMaskMask
static final int VisualGreenMaskMask
static final int VisualBlueMaskMask
static final int VisualColormapSizeMask
static final int VisualBitsPerRGBMask
static final int VisualAllMask
static final int None
RESERVED RESOURCE AND CONSTANT DEFINITIONS
static final int ParentRelative
static final int CopyFromParent
static final int PointerWindow
static final int InputFocus
static final int PointerRoot
static final int AnyPropertyType
static final int AnyKey
static final int AnyButton
static final int AllTemporary
static final int CurrentTime
static final int NoSymbol
static final int NoEventMask
EVENT DEFINITIONS
static final int KeyPressMask
static final int KeyReleaseMask
static final int ButtonPressMask
static final int ButtonReleaseMask
static final int EnterWindowMask
static final int LeaveWindowMask
static final int PointerMotionMask
static final int PointerMotionHintMask
static final int Button1MotionMask
static final int Button2MotionMask
static final int Button3MotionMask
static final int Button4MotionMask
static final int Button5MotionMask
static final int ButtonMotionMask
static final int KeymapStateMask
static final int ExposureMask
static final int VisibilityChangeMask
static final int StructureNotifyMask
static final int ResizeRedirectMask
static final int SubstructureNotifyMask
static final int SubstructureRedirectMask
static final int FocusChangeMask
static final int PropertyChangeMask
static final int ColormapChangeMask
static final int OwnerGrabButtonMask
static final int KeyPress
static final int KeyRelease
static final int ButtonPress
static final int ButtonRelease
static final int MotionNotify
static final int EnterNotify
static final int LeaveNotify
static final int FocusIn
static final int FocusOut
static final int KeymapNotify
static final int Expose
static final int GraphicsExpose
static final int NoExpose
static final int VisibilityNotify
static final int CreateNotify
static final int DestroyNotify
static final int UnmapNotify
static final int MapNotify
static final int MapRequest
static final int ReparentNotify
static final int ConfigureNotify
static final int ConfigureRequest
static final int GravityNotify
static final int ResizeRequest
static final int CirculateNotify
static final int CirculateRequest
static final int PropertyNotify
static final int SelectionClear
static final int SelectionRequest
static final int SelectionNotify
static final int ColormapNotify
static final int ClientMessage
static final int MappingNotify
static final int GenericEvent
static final int LASTEvent
static final int ShiftMask
static final int LockMask
static final int ControlMask
static final int Mod1Mask
static final int Mod2Mask
static final int Mod3Mask
static final int Mod4Mask
static final int Mod5Mask
static final int ShiftMapIndex
static final int LockMapIndex
static final int ControlMapIndex
static final int Mod1MapIndex
static final int Mod2MapIndex
static final int Mod3MapIndex
static final int Mod4MapIndex
static final int Mod5MapIndex
static final int Button1Mask
static final int Button2Mask
static final int Button3Mask
static final int Button4Mask
static final int Button5Mask
static final int AnyModifier
static final int Button1
static final int Button2
static final int Button3
static final int Button4
static final int Button5
static final int NotifyNormal
static final int NotifyGrab
static final int NotifyUngrab
static final int NotifyWhileGrabbed
static final int NotifyHint
static final int NotifyAncestor
static final int NotifyVirtual
static final int NotifyInferior
static final int NotifyNonlinear
static final int NotifyNonlinearVirtual
static final int NotifyPointer
static final int NotifyPointerRoot
static final int NotifyDetailNone
static final int VisibilityUnobscured
static final int VisibilityPartiallyObscured
static final int VisibilityFullyObscured
static final int PlaceOnTop
static final int PlaceOnBottom
static final int FamilyInternet
static final int FamilyDECnet
static final int FamilyChaos
static final int FamilyInternet6
static final int FamilyServerInterpreted
static final int PropertyNewValue
static final int PropertyDelete
static final int ColormapUninstalled
static final int ColormapInstalled
static final int GrabModeSync
static final int GrabModeAsync
static final int GrabSuccess
static final int AlreadyGrabbed
static final int GrabInvalidTime
static final int GrabNotViewable
static final int GrabFrozen
static final int AsyncPointer
static final int SyncPointer
static final int ReplayPointer
static final int AsyncKeyboard
static final int SyncKeyboard
static final int ReplayKeyboard
static final int AsyncBoth
static final int SyncBoth
static final int RevertToNone
static final int RevertToPointerRoot
static final int RevertToParent
static final int Success
ERROR CODES
static final int BadRequest
static final int BadValue
static final int BadWindow
static final int BadPixmap
static final int BadAtom
static final int BadCursor
static final int BadFont
static final int BadMatch
static final int BadDrawable
static final int BadAccess
static final int BadAlloc
static final int BadColor
static final int BadGC
static final int BadIDChoice
static final int BadName
static final int BadLength
static final int BadImplementation
static final int FirstExtensionError
static final int LastExtensionError
static final int InputOutput
WINDOW DEFINITIONS
static final int InputOnly
static final int CWBackPixmap
static final int CWBackPixel
static final int CWBorderPixmap
static final int CWBorderPixel
static final int CWBitGravity
static final int CWWinGravity
static final int CWBackingStore
static final int CWBackingPlanes
static final int CWBackingPixel
static final int CWOverrideRedirect
static final int CWSaveUnder
static final int CWEventMask
static final int CWDontPropagate
static final int CWColormap
static final int CWCursor
static final int CWX
static final int CWY
static final int CWWidth
static final int CWHeight
static final int CWBorderWidth
static final int CWSibling
static final int CWStackMode
static final int ForgetGravity
static final int NorthWestGravity
static final int NorthGravity
static final int NorthEastGravity
static final int WestGravity
static final int CenterGravity
static final int EastGravity
static final int SouthWestGravity
static final int SouthGravity
static final int SouthEastGravity
static final int StaticGravity
static final int UnmapGravity
static final int NotUseful
static final int WhenMapped
static final int Always
static final int IsUnmapped
static final int IsUnviewable
static final int IsViewable
static final int SetModeInsert
static final int SetModeDelete
static final int DestroyAll
static final int RetainPermanent
static final int RetainTemporary
static final int Above
static final int Below
static final int TopIf
static final int BottomIf
static final int Opposite
static final int RaiseLowest
static final int LowerHighest
static final int PropModeReplace
static final int PropModePrepend
static final int PropModeAppend
static final int GXclear
GRAPHICS DEFINITIONS
static final int GXand
static final int GXandReverse
static final int GXcopy
static final int GXandInverted
static final int GXnoop
static final int GXxor
static final int GXor
static final int GXnor
static final int GXequiv
static final int GXinvert
static final int GXorReverse
static final int GXcopyInverted
static final int GXorInverted
static final int GXnand
static final int GXset
static final int LineSolid
static final int LineOnOffDash
static final int LineDoubleDash
static final int CapNotLast
static final int CapButt
static final int CapRound
static final int CapProjecting
static final int JoinMiter
static final int JoinRound
static final int JoinBevel
static final int FillSolid
static final int FillTiled
static final int FillStippled
static final int FillOpaqueStippled
static final int EvenOddRule
static final int WindingRule
static final int ClipByChildren
static final int IncludeInferiors
static final int Unsorted
static final int YSorted
static final int YXSorted
static final int YXBanded
static final int CoordModeOrigin
static final int CoordModePrevious
static final int Complex
static final int Nonconvex
static final int Convex
static final int ArcChord
static final int ArcPieSlice
static final int GCFunction
static final int GCPlaneMask
static final int GCForeground
static final int GCBackground
static final int GCLineWidth
static final int GCLineStyle
static final int GCCapStyle
static final int GCJoinStyle
static final int GCFillStyle
static final int GCFillRule
static final int GCTile
static final int GCStipple
static final int GCTileStipXOrigin
static final int GCTileStipYOrigin
static final int GCFont
static final int GCSubwindowMode
static final int GCGraphicsExposures
static final int GCClipXOrigin
static final int GCClipYOrigin
static final int GCClipMask
static final int GCDashOffset
static final int GCDashList
static final int GCArcMode
static final int GCLastBit
static final int FontLeftToRight
FONTS
static final int FontRightToLeft
static final int FontChange
static final int XYBitmap
IMAGING
static final int XYPixmap
static final int ZPixmap
static final int AllocNone
COLOR MAP STUFF
static final int AllocAll
static final int DoRed
static final int DoGreen
static final int DoBlue
static final int CursorShape
CURSOR STUFF
static final int TileShape
static final int StippleShape
static final int AutoRepeatModeOff
KEYBOARD/POINTER STUFF
static final int AutoRepeatModeOn
static final int AutoRepeatModeDefault
static final int LedModeOff
static final int LedModeOn
static final int KBKeyClickPercent
static final int KBBellPercent
static final int KBBellPitch
static final int KBBellDuration
static final int KBLed
static final int KBLedMode
static final int KBKey
static final int KBAutoRepeatMode
static final int MappingSuccess
static final int MappingBusy
static final int MappingFailed
static final int MappingModifier
static final int MappingKeyboard
static final int MappingPointer
static final int DontPreferBlanking
SCREEN SAVER STUFF
static final int PreferBlanking
static final int DefaultBlanking
static final int DisableScreenSaver
static final int DisableScreenInterval
static final int DontAllowExposures
static final int AllowExposures
static final int DefaultExposures
static final int ScreenSaverReset
static final int ScreenSaverActive
static final int HostInsert
HOSTS AND CONNECTIONS
static final int HostDelete
static final int EnableAccess
static final int DisableAccess
static final int StaticGray
static final int GrayScale
static final int StaticColor
static final int PseudoColor
static final int TrueColor
static final int DirectColor
static final int LSBFirst
static final int MSBFirst
The XQueryExtension function determines if the named extension is present.
display
- Specifies the connection to the X server.
name
- Specifies the extension name.
major_opcode_return
- Returns the major opcode.
first_event_return
- Returns the first event code, if any.
first_error_return
- Returns the first error code, if any.
Flushes the output buffer. Most client applications need not use this function because the output buffer is automatically flushed as needed by calls to XPending, XNextEvent, and XWindowEvent. Events generated by the server may be enqueued into the library's event queue.
display
- target Display
Flushes the output buffer and then waits until all requests have been received and processed by the X server. Any errors generated must be handled by the error handler. For each protocol error received by Xlib, XSync calls the client application's error handling routine (see section 11.8.2). Any events generated by the server are enqueued into the library's event queue.
Finally, if you passed False, XSync does not discard the events in the queue. If you passed True, XSync discards all events in the queue, including those events that were on the queue before XSync was called. Client applications seldom need to call XSync.
display
- target Display
discard
- whether to discard events
If mode is QueuedAlready, XEventsQueued returns the number of events already in the event queue (and never performs a system call). If mode is QueuedAfterFlush, XEventsQueued returns the number of events already in the queue if the number is nonzero. If there are no events in the queue, XEventsQueued flushes the output buffer, attempts to read more events out of the application's connection, and returns the number read. If mode is QueuedAfterReading, XEventsQueued returns the number of events already in the queue if the number is nonzero. If there are no events in the queue, XEventsQueued attempts to read more events out of the application's connection without flushing the output buffer and returns the number read.
XEventsQueued always returns immediately without I/O if there are events already in the queue. XEventsQueued with mode QueuedAfterFlush is identical in behavior to XPending. XEventsQueued with mode QueuedAlready is identical to the XQLength function.
display
- target Display
mode
- QueuedAlready, QueuedAfterFlush, or QueuedAfterReading
Returns the number of events that have been received from the X server but have not been removed from the event queue. XPending is identical to XEventsQueued with the mode QueuedAfterFlush specified.
display
- target Display
display
- target Display
window
- target Window
display
- target Display
vinfo_mask
- mask of data to retrieve
vinfo_template
- template struct to use as basis for returned data
nitems_return
- number size of returned array
Installs an error handler
handler
- Specifies the program's supplied error handler
Establishes a passive grab on the keyboard
display
- Specifies the connection to the X server.
keyCode
- Specifies the KeyCode or AnyKey
.
modifiers
- Specifies the set of keymasks or AnyModifier
. The mask is the bitwise inclusive OR of the valid keymask bits.
grab_window
- Specifies the grab window.
ownerEvents
- Specifies a Boolean value that indicates whether the keyboard events are to be reported as usual.
pointerMode
- Specifies further processing of pointer events. You can pass GrabModeSync
or GrabModeAsync
.
keyBoardMode
- Specifies further processing of keyboard events. You can pass GrabModeSync
or GrabModeAsync
.
The XUngrabKey() function releases the key combination on the specified window if it was grabbed by this client.
display
- Specifies the connection to the X server.
keyCode
- Specifies the KeyCode or AnyKey
.
modifiers
- Specifies the set of keymasks or AnyModifier
. The mask is the bitwise inclusive OR of the valid keymask bits
grab_window
- Specifies the grab window.
Actively grabs control of the keyboard and generates FocusIn and FocusOut events
display
- Specifies the connection to the X server.
grab_window
- Specifies the grab window.
owner_events
- Specifies a Boolean value that indicates whether the keyboard events are to be reported as usual.
pointer_mode
- Specifies further processing of pointer events. You can pass GrabModeSync or GrabModeAsync.
keyboard_mode
- Specifies further processing of keyboard events. You can pass GrabModeSync or GrabModeAsync.
time
- Specifies the time. You can pass either a timestamp or CurrentTime.
Releases the keyboard and any queued events if this client has it actively grabbed from either XGrabKeyboard() or XGrabKey().
display
- Specifies the connection to the X server.
time
- Specifies the time. You can pass either a timestamp or CurrentTime.
The XFetchName() function returns the name of the specified window. If it succeeds, it returns a nonzero status; otherwise, no name has been set for the window, and it returns zero. If the WM_NAME property has not been set for this window, XFetchName() sets window_name_return to NULL. If the data returned by the server is in the Latin Portable Character Encoding, then the returned string is in the Host Portable Character Encoding. Otherwise, the result is implementation dependent. When finished with it, a client must free the window name string using XFree().
display
- Specifies the connection to the X server.
window
- Specifies the window.
window_name_return
- Returns the window name, which is a null-terminated string.
Defines the symbols for the specified number of KeyCodes starting with first_keycode. The symbols for KeyCodes outside this range remain unchanged. The number of elements in keysyms must be: num_codes * keysyms_per_keycode. The specified first_keycode must be greater than or equal to min_keycode returned by XDisplayKeycodes, or a BadValue error results. In addition, the following expression must be less than or equal to max_keycode as returned by XDisplayKeycodes, or a BadValue error results: first_keycode + num_codes - 1.
display
- target Display
first_keycode
- first keycode
keysyms_per_keycode
- number of syms per keycode
keysyms
- array of KeySym
num_codes
- number of keycodes to be changed
Returns the symbols for the specified number of KeyCodes starting with first_keycode. The value specified in first_keycode must be greater than or equal to min_keycode as returned by XDisplayKeycodes, or a BadValue error results. In addition, the following expression must be less than or equal to max_keycode as returned by XDisplayKeycodes: first_keycode + keycode_count - 1. If this is not the case, a BadValue error results. The number of elements in the KeySyms list is: keycode_count * keysyms_per_keycode_return. KeySym number N, counting from zero, for KeyCode K has the following index in the list, counting from zero: (K - first_code) * keysyms_per_code_return + N. The X server arbitrarily chooses the keysyms_per_keycode_return value to be large enough to report all requested symbols. A special KeySym value of NoSymbol is used to fill in unused elements for individual KeyCodes. To free the storage returned by XGetKeyboardMapping, use XFree.
display
- target Display
first_keycode
- first keycode to be changed or returned
keycode_count
- how many
keysyms_per_keycode_return
- number of syms per keycode
Returns the min-keycodes and max-keycodes supported by the specified display. The minimum number of KeyCodes returned is never less than 8, and the maximum number of KeyCodes returned is never greater than 255. Not all KeyCodes in this range are required to have corresponding keys.
display
- target Display
min_keycodes_return
- smallest keycode
max_keycodes_return
- largest keycode
Specifies the KeyCodes of the keys (if any) that are to be used as modifiers. If it succeeds, the X server generates a MappingNotify event, and XSetModifierMapping returns MappingSuccess. X permits at most 8 modifier keys. If more than 8 are specified in the XModifierKeymap structure, a BadLength error results.
display
- target Display
modmap
- modifier specification
The XGetModifierMapping function returns a pointer to a newly created XModifierKeymap structure that contains the keys being used as modifiers. The structure should be freed after use by calling XFreeModifiermap. If only zero values appear in the set for any modifier, that modifier is disabled.
display
- target Display
Returns a pointer to XModifierKeymap structure for later use.
max_keys_per_mod
- number of keys to include in the mapping
Adds the specified KeyCode to the set that controls the specified modifier and returns the resulting XModifierKeymap structure (expanded as needed).
modmap
- modifier map
keycode_entry
- keycode entry
modifier
- modifier
Deletes the specified KeyCode from the set that controls the specified modifier and returns a pointer to the resulting XModifierKeymap structure.
modmap
- modifier map
keycode_entry
- keycode entry
modifier
- modifier
Frees the specified XModifierKeymap structure.
modmap
- modifier map to be freed
Changes the keyboard control state.
display
- display
value_mask
- disjunction of KBKeyClickPercent, KBBellPercent, KBBellPitch, KBBellDuration, KBLed, KBLedMode, KBKey, KBAutoRepeatMode
values
- control ref values
Returns the current control values for the keyboard to the XKeyboardState structure.
display
- display
values_return
- keyboard state structure
Turns on auto-repeat for the keyboard on the specified display.
display
- display
Turns off auto-repeat for the keyboard on the specified display.
display
- display
Rings the bell on the keyboard on the specified display, if possible. The specified volume is relative to the base volume for the keyboard. If the value for the percent argument is not in the range -100 to 100 inclusive, a BadValue error results. The volume at which the bell rings when the percent argument is nonnegative is: base - [(base * percent) / 100] + percent. The volume at which the bell rings when the percent argument is negative is: base + [(base * percent) / 100]. To change the base volume of the bell, use XChangeKeyboardControl.
display
- display
percent
- value to set
Returns a bit vector for the logical state of the keyboard, where each bit set to 1 indicates that the corresponding key is currently pressed down. The vector is represented as 32 bytes. Byte N (from 0) contains the bits for keys 8N to 8N + 7 with the least significant bit in the byte representing key 8N. Note that the logical state of a device (as seen by client applications) may lag the physical state if device event processing is frozen.
display
- display
keys_return
- keymap
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4