FreeRDP
keyboard.c File Reference
#include <stdio.h>
#include <string.h>
#include <winpr/crt.h>
#include <freerdp/types.h>
#include <freerdp/locale/keyboard.h>
#include <freerdp/locale/locale.h>
#include "liblocale.h"

Functions

int freerdp_detect_keyboard (DWORD *keyboardLayoutId)
 
int freerdp_keyboard_init_apple (DWORD *keyboardLayoutId, DWORD x11_keycode_to_rdp_scancode[256])
 
int freerdp_keyboard_init_x11_evdev (DWORD *keyboardLayoutId, DWORD x11_keycode_to_rdp_scancode[256])
 
DWORD freerdp_keyboard_init (DWORD keyboardLayoutId)
 
DWORD freerdp_keyboard_get_rdp_scancode_from_x11_keycode (DWORD keycode)
 
DWORD freerdp_keyboard_get_x11_keycode_from_rdp_scancode (DWORD scancode, BOOL extended)
 

Variables

DWORD VIRTUAL_SCANCODE_TO_X11_KEYCODE [256][2]
 
DWORD X11_KEYCODE_TO_VIRTUAL_SCANCODE [256]
 

Function Documentation

int freerdp_detect_keyboard ( DWORD *  keyboardLayoutId)

Here is the call graph for this function:

Here is the caller graph for this function:

DWORD freerdp_keyboard_get_rdp_scancode_from_x11_keycode ( DWORD  keycode)

Here is the caller graph for this function:

DWORD freerdp_keyboard_get_x11_keycode_from_rdp_scancode ( DWORD  scancode,
BOOL  extended 
)
DWORD freerdp_keyboard_init ( DWORD  keyboardLayoutId)

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

DWORD VIRTUAL_SCANCODE_TO_X11_KEYCODE[256][2]

FreeRDP: A Remote Desktop Protocol Implementation Keyboard Localization

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.

DWORD X11_KEYCODE_TO_VIRTUAL_SCANCODE[256]