FreeRDP
keycode.c File Reference
#include <winpr/config.h>
#include <winpr/crt.h>
#include <winpr/input.h>

Functions

DWORD GetVirtualKeyCodeFromKeycode (DWORD keycode, WINPR_KEYCODE_TYPE type)
 
DWORD GetKeycodeFromVirtualKeyCode (DWORD vkcode, WINPR_KEYCODE_TYPE type)
 

Variables

static DWORD KEYCODE_TO_VKCODE_APPLE [256]
 
static DWORD KEYCODE_TO_VKCODE_EVDEV [256]
 
static DWORD KEYCODE_TO_VKCODE_XKB [256]
 

Function Documentation

◆ GetKeycodeFromVirtualKeyCode()

DWORD GetKeycodeFromVirtualKeyCode ( DWORD  vkcode,
WINPR_KEYCODE_TYPE  type 
)
Here is the caller graph for this function:

◆ GetVirtualKeyCodeFromKeycode()

DWORD GetVirtualKeyCodeFromKeycode ( DWORD  keycode,
WINPR_KEYCODE_TYPE  type 
)
Here is the caller graph for this function:

Variable Documentation

◆ KEYCODE_TO_VKCODE_APPLE

DWORD KEYCODE_TO_VKCODE_APPLE[256]
static

WinPR: Windows Portable Runtime Keyboard Input

Copyright 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. X11 Keycodes Mac OS X

◆ KEYCODE_TO_VKCODE_EVDEV

DWORD KEYCODE_TO_VKCODE_EVDEV[256]
static

evdev (Linux)

Refer to linux/input-event-codes.h

◆ KEYCODE_TO_VKCODE_XKB

DWORD KEYCODE_TO_VKCODE_XKB[256]
static

XKB

Refer to X Keyboard Configuration Database: http://www.freedesktop.org/wiki/Software/XKeyboardConfig