FreeRDP
keyboard_xkbfile.c File Reference
#include "keyboard_xkbfile.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/input.h>
#include <freerdp/locale/keyboard.h>
#include "keyboard_x11.h"
#include "xkb_layout_ids.h"
#include "liblocale.h"
#include <X11/Xlib.h>
#include <X11/XKBlib.h>
#include <X11/extensions/XKBfile.h>
#include <X11/extensions/XKBrules.h>

Functions

voidfreerdp_keyboard_xkb_init ()
 
int freerdp_keyboard_init_xkbfile (DWORD *keyboardLayoutId, DWORD x11_keycode_to_rdp_scancode[256])
 
static char * comma_substring (char *s, int n)
 
int detect_keyboard_layout_from_xkbfile (void *display, DWORD *keyboardLayoutId)
 
int freerdp_keyboard_load_map_from_xkbfile (void *display, DWORD x11_keycode_to_rdp_scancode[256])
 

Variables

XKB_KEY_NAME_SCANCODE XKB_KEY_NAME_SCANCODE_TABLE []
 

Function Documentation

static char* comma_substring ( char *  s,
int  n 
)
static

Here is the caller graph for this function:

int detect_keyboard_layout_from_xkbfile ( void display,
DWORD *  keyboardLayoutId 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int freerdp_keyboard_init_xkbfile ( DWORD *  keyboardLayoutId,
DWORD  x11_keycode_to_rdp_scancode[256] 
)

FreeRDP: A Remote Desktop Protocol Implementation XKB 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:

int freerdp_keyboard_load_map_from_xkbfile ( void display,
DWORD  x11_keycode_to_rdp_scancode[256] 
)

Here is the caller graph for this function:

void* freerdp_keyboard_xkb_init ( )

Here is the caller graph for this function:

Variable Documentation

XKB_KEY_NAME_SCANCODE XKB_KEY_NAME_SCANCODE_TABLE[]