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

Functions

void freerdp_keyboard_layouts_free (RDP_KEYBOARD_LAYOUT *layouts)
 
RDP_KEYBOARD_LAYOUT * freerdp_keyboard_get_layouts (DWORD types)
 
const char * freerdp_keyboard_get_layout_name_from_id (DWORD keyboardLayoutID)
 
DWORD freerdp_keyboard_get_layout_id_from_name (const char *name)
 

Variables

static const RDP_KEYBOARD_LAYOUT RDP_KEYBOARD_LAYOUT_TABLE []
 
static const RDP_KEYBOARD_LAYOUT_VARIANT RDP_KEYBOARD_LAYOUT_VARIANT_TABLE []
 
static const RDP_KEYBOARD_IME RDP_KEYBOARD_IME_TABLE []
 

Function Documentation

DWORD freerdp_keyboard_get_layout_id_from_name ( const char *  name)
const char* freerdp_keyboard_get_layout_name_from_id ( DWORD  keyboardLayoutID)
RDP_KEYBOARD_LAYOUT* freerdp_keyboard_get_layouts ( DWORD  types)

Here is the call graph for this function:

Here is the caller graph for this function:

void freerdp_keyboard_layouts_free ( RDP_KEYBOARD_LAYOUT *  layouts)

Here is the caller graph for this function:

Variable Documentation

const RDP_KEYBOARD_IME RDP_KEYBOARD_IME_TABLE[]
static
Initial value:
=
{
{ KBD_CHINESE_TRADITIONAL_PHONETIC, "phon.ime", "Chinese (Traditional) - Phonetic" },
{ KBD_JAPANESE_INPUT_SYSTEM_MS_IME2002, "imjp81.ime", "Japanese Input System (MS-IME2002)" },
{ KBD_KOREAN_INPUT_SYSTEM_IME_2000, "imekr61.ime", "Korean Input System (IME 2000)" },
{ KBD_CHINESE_SIMPLIFIED_QUANPIN, "winpy.ime", "Chinese (Simplified) - QuanPin" },
{ KBD_CHINESE_TRADITIONAL_CHANGJIE, "chajei.ime", "Chinese (Traditional) - ChangJie" },
{ KBD_CHINESE_SIMPLIFIED_SHUANGPIN, "winsp.ime", "Chinese (Simplified) - ShuangPin" },
{ KBD_CHINESE_TRADITIONAL_QUICK, "quick.ime", "Chinese (Traditional) - Quick" },
{ KBD_CHINESE_SIMPLIFIED_ZHENGMA, "winzm.ime", "Chinese (Simplified) - ZhengMa" },
{ KBD_CHINESE_TRADITIONAL_BIG5_CODE, "winime.ime", "Chinese (Traditional) - Big5 Code" },
{ KBD_CHINESE_TRADITIONAL_ARRAY, "winar30.ime", "Chinese (Traditional) - Array" },
{ KBD_CHINESE_SIMPLIFIED_NEIMA, "wingb.ime", "Chinese (Simplified) - NeiMa" },
{ KBD_CHINESE_TRADITIONAL_DAYI, "dayi.ime", "Chinese (Traditional) - DaYi" },
{ KBD_CHINESE_TRADITIONAL_UNICODE, "unicdime.ime", "Chinese (Traditional) - Unicode" },
{ KBD_CHINESE_TRADITIONAL_NEW_PHONETIC, "TINTLGNT.IME", "Chinese (Traditional) - New Phonetic" },
{ KBD_CHINESE_TRADITIONAL_NEW_CHANGJIE, "CINTLGNT.IME", "Chinese (Traditional) - New ChangJie" },
{ KBD_CHINESE_TRADITIONAL_MICROSOFT_PINYIN_IME_3, "pintlgnt.ime", "Chinese (Traditional) - Microsoft Pinyin IME 3.0" },
{ KBD_CHINESE_TRADITIONAL_ALPHANUMERIC, "romanime.ime", "Chinese (Traditional) - Alphanumeric" }
}
#define KBD_CHINESE_TRADITIONAL_UNICODE
Definition: keyboard.h:190
#define KBD_CHINESE_TRADITIONAL_NEW_PHONETIC
Definition: keyboard.h:191
#define KBD_CHINESE_TRADITIONAL_MICROSOFT_PINYIN_IME_3
Definition: keyboard.h:193
#define KBD_CHINESE_TRADITIONAL_NEW_CHANGJIE
Definition: keyboard.h:192
#define KBD_KOREAN_INPUT_SYSTEM_IME_2000
Definition: keyboard.h:180
#define KBD_JAPANESE_INPUT_SYSTEM_MS_IME2002
Definition: keyboard.h:179
#define KBD_CHINESE_TRADITIONAL_PHONETIC
Definition: keyboard.h:178
#define KBD_CHINESE_SIMPLIFIED_QUANPIN
Definition: keyboard.h:181
#define KBD_CHINESE_TRADITIONAL_ALPHANUMERIC
Definition: keyboard.h:194
#define KBD_CHINESE_TRADITIONAL_BIG5_CODE
Definition: keyboard.h:186
#define KBD_CHINESE_TRADITIONAL_ARRAY
Definition: keyboard.h:187
#define KBD_CHINESE_SIMPLIFIED_SHUANGPIN
Definition: keyboard.h:183
#define KBD_CHINESE_SIMPLIFIED_ZHENGMA
Definition: keyboard.h:185
#define KBD_CHINESE_TRADITIONAL_DAYI
Definition: keyboard.h:189
#define KBD_CHINESE_TRADITIONAL_CHANGJIE
Definition: keyboard.h:182
#define KBD_CHINESE_SIMPLIFIED_NEIMA
Definition: keyboard.h:188
#define KBD_CHINESE_TRADITIONAL_QUICK
Definition: keyboard.h:184
const RDP_KEYBOARD_LAYOUT RDP_KEYBOARD_LAYOUT_TABLE[]
static

FreeRDP: A Remote Desktop Protocol Implementation Keyboard Layouts

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.

const RDP_KEYBOARD_LAYOUT_VARIANT RDP_KEYBOARD_LAYOUT_VARIANT_TABLE[]
static