FreeRDP
keyboard_x11.c File Reference
#include <string.h>
#include <X11/X.h>
#include <X11/Xatom.h>
#include <X11/Xlib.h>
#include "liblocale.h"
#include "keyboard_x11.h"
#include "xkb_layout_ids.h"

Functions

static BOOL parse_xkb_rule_names (char *xkb_rule, unsigned long num_bytes, char **layout, char **variant)
 
static DWORD kbd_layout_id_from_x_property (Display *display, Window root, char *property_name)
 
int freerdp_detect_keyboard_layout_from_xkb (DWORD *keyboardLayoutId)
 

Function Documentation

◆ freerdp_detect_keyboard_layout_from_xkb()

int freerdp_detect_keyboard_layout_from_xkb ( DWORD *  keyboardLayoutId)

FreeRDP: A Remote Desktop Protocol Implementation X11 Keyboard Mapping

Copyright 2009-2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kbd_layout_id_from_x_property()

static DWORD kbd_layout_id_from_x_property ( Display *  display,
Window  root,
char *  property_name 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_xkb_rule_names()

static BOOL parse_xkb_rule_names ( char *  xkb_rule,
unsigned long  num_bytes,
char **  layout,
char **  variant 
)
static

FreeRDP: A Remote Desktop Protocol Implementation X11 Keyboard Mapping

Copyright 2009-2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2023 Bernhard Miklautz bernh.nosp@m.ard..nosp@m.mikla.nosp@m.utz@.nosp@m.thinc.nosp@m.ast..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the caller graph for this function: