Defines | |
| #define | XKLL_MANAGE_WINDOW_STATES 0x01 |
| #define | XKLL_TRACK_KEYBOARD_STATE 0x02 |
| #define | XKLL_MANAGE_LAYOUTS 0x04 |
Functions | |
| int | XklStartListen (int what) |
| int | XklStopListen (void) |
| int | XklPauseListen (void) |
| int | XklResumeListen (void) |
| Bool | XklGrabKey (int keycode, unsigned modifiers) |
| Bool | XklUngrabKey (int keycode, unsigned modifiers) |
| int | XklFilterEvents (XEvent *evt) |
| void | XklAllowOneSwitchToSecondaryGroup (void) |
| #define XKLL_MANAGE_LAYOUTS 0x04 |
The listener process should help backend to maintain the configuration (manually switch layouts etc).
| #define XKLL_MANAGE_WINDOW_STATES 0x01 |
The listener process should handle the per-window states and all the related activity
| #define XKLL_TRACK_KEYBOARD_STATE 0x02 |
Just track the state and pass it to the application above.
| void XklAllowOneSwitchToSecondaryGroup | ( | void | ) |
Allows to switch (once) to the secondary group
| int XklFilterEvents | ( | XEvent * | evt | ) |
Processes X events. Should be included into the main event cycle of an application. One of the most important functions.
| evt | is delivered X event |
| Bool XklGrabKey | ( | int | keycode, | |
| unsigned | modifiers | |||
| ) |
Grabs some key
| keycode | is a keycode | |
| modifiers | is a bitmask of modifiers |
| int XklPauseListen | ( | void | ) |
Temporary pauses listening for XKB-related events
| int XklResumeListen | ( | void | ) |
Resumes listening for XKB-related events
| int XklStartListen | ( | int | what | ) |
Starts listening for XKB-related events
| what | any combination of XKLL_* constants |
| int XklStopListen | ( | void | ) |
Stops listening for XKB-related events
| Bool XklUngrabKey | ( | int | keycode, | |
| unsigned | modifiers | |||
| ) |
Ungrabs some key
| keycode | is a keycode | |
| modifiers | is a bitmask of modifiers |
1.5.1