#include <odin.h>
#include <odinwrap.h>
#include <os2sel.h>
#include <os2win.h>
#include <string.h>
#include <stdio.h>
#include <winkeyboard.h>
#include "oslibwin.h"
#include <heapstring.h>
#include <pmscan.h>
#include <winscan.h>
#include <winuser32.h>
#include "initterm.h"
#include "dbglocal.h"
Include dependency graph for winkeyboard.cpp:
Go to the source code of this file.
Compounds | |
struct | tagWinVKeyToPMScan |
Defines | |
#define | DBG_LOCALLOG DBG_winkeyboard |
Typedefs | |
typedef tagWinVKeyToPMScan | WINVKEYTOPMSCAN |
typedef tagWinVKeyToPMScan * | PWINVKEYTOPMSCAN |
Functions | |
BOOL _System | _O32_GetKeyboardState (PBYTE lpKeyState) |
BOOL | O32_GetKeyboardState (PBYTE lpKeyState) |
void WINAPI | KeyTranslatePMToWinBuf (BYTE *pmkey, BYTE *winkey, int nrkeys) |
BYTE | KeyTranslateWinVKeyToPMScan (BYTE bWinVKey, BOOL fExtended) |
void | KeyTranslatePMScanToWinVKey (BYTE bPMScan, BOOL bNumLock, PBYTE pbWinVKey, WORD *pwWinScan, PBOOL pfExtended) |
BYTE | KeyTranslateWinScanToPMScan (BYTE bWinScan, BOOL fExtended) |
int WINAPI | GetKeyboardType (int nTypeFlag) |
BOOL WINAPI | GetKeyboardState (PBYTE lpKeyState) |
BOOL WINAPI | SetKeyboardState (PBYTE lpKeyState) |
HKL WINAPI | GetKeyboardLayout (DWORD dwLayout) |
INT WINAPI | GetKeyboardLayoutNameA (LPSTR pwszKLID) |
INT WINAPI | GetKeyboardLayoutNameW (LPWSTR pwszKLID) |
INT WINAPI | GetKeyboardLayoutList (INT nBuff, HKL *layouts) |
int WINAPI | ToAscii (UINT uVirtKey, UINT uScanCode, PBYTE lpbKeyState, LPWORD lpwTransKey, UINT fuState) |
int WINAPI | ToAsciiEx (UINT uVirtKey, UINT uScanCode, PBYTE lpbKeyState, LPWORD lpwTransKey, UINT fuState, HKL hkl) |
int WINAPI | ToUnicode (UINT uVirtKey, UINT uScanCode, PBYTE lpKeyState, LPWSTR pwszBuff, int cchBuff, UINT wFlags) |
UINT WINAPI | GetKBCodePage (void) |
int WINAPI | GetKeyNameTextA (LPARAM lParam, LPSTR lpString, int nSize) |
int WINAPI | GetKeyNameTextW (LPARAM lParam, LPWSTR lpString, int nSize) |
SHORT WINAPI | GetKeyState (int nVirtKey) |
WORD WINAPI | GetAsyncKeyState (INT nVirtKey) |
UINT WINAPI | MapVirtualKeyA (UINT uCode, UINT uMapType) |
UINT WINAPI | MapVirtualKeyW (UINT uCode, UINT uMapType) |
UINT WINAPI | MapVirtualKeyExA (UINT uCode, UINT uMapType, HKL dwhkl) |
UINT WINAPI | MapVirtualKeyExW (UINT uCode, UINT uMapType, HKL dwhkl) |
DWORD WINAPI | OemKeyScan (WORD wOemChar) |
BOOL WINAPI | RegisterHotKey (HWND hwnd, int idHotKey, UINT fuModifiers, UINT uVirtKey) |
BOOL WINAPI | UnregisterHotKey (HWND hwnd, int idHotKey) |
WORD WINAPI | VkKeyScanA (char ch) |
WORD WINAPI | VkKeyScanW (WCHAR wch) |
WORD WINAPI | VkKeyScanExW (WCHAR uChar, HKL hkl) |
WORD WINAPI | VkKeyScanExA (CHAR uChar, HKL hkl) |
void WINAPI | keybd_event (BYTE bVk, BYTE bScan, DWORD dwFlags, DWORD dwExtraInfo) |
HKL WINAPI | LoadKeyboardLayoutA (LPCSTR pwszKLID, UINT Flags) |
HKL WINAPI | LoadKeyboardLayoutW (LPCWSTR pwszKLID, UINT Flags) |
BOOL WINAPI | ActivateKeyboardLayout (HKL hkl, UINT fuFlags) |
BOOL WINAPI | UnloadKeyboardLayout (HKL hkl) |
void WINAPI | KeySetOverlayKeyState (int nVirtKey, char nState) |
Variables | |
char | arrchOverlayKeyState [256] = {0} |
BYTE | abPMScanToWinVKey [256][2] |
WINVKEYTOPMSCAN | abWinVKeyToPMScan [256] |
BYTE | abPMScanToWinScan [256][2] |
|
Definition at line 26 of file winkeyboard.cpp. |
|
|
|
|
|
Referenced by O32_GetKeyboardState().
|
|
Definition at line 50 of file winkeyboard.cpp. |
|
Definition at line 866 of file winkeyboard.cpp. Referenced by GetKeyboardState().
|
|
Definition at line 879 of file winkeyboard.cpp. |
|
Definition at line 915 of file winkeyboard.cpp. Referenced by OS2ToWinMsgTranslate().
|
|
Definition at line 933 of file winkeyboard.cpp. Referenced by GetKeyNameTextA(), and MapVirtualKeyA().
|
|
Definition at line 970 of file winkeyboard.cpp. |
|
Definition at line 977 of file winkeyboard.cpp. |
|
Definition at line 1012 of file winkeyboard.cpp. |
|
Definition at line 1026 of file winkeyboard.cpp. Referenced by GetKeyboardLayoutList(), and GetKeyboardLayoutNameA().
|
|
Definition at line 1049 of file winkeyboard.cpp. Referenced by GetKeyboardLayoutNameW().
|
|
Definition at line 1073 of file winkeyboard.cpp. |
|
Definition at line 1095 of file winkeyboard.cpp. |
|
Definition at line 1135 of file winkeyboard.cpp. Referenced by ToAsciiEx().
|
|
Definition at line 1243 of file winkeyboard.cpp. |
|
Definition at line 1289 of file winkeyboard.cpp. |
|
Definition at line 1312 of file winkeyboard.cpp. |
|
Definition at line 1321 of file winkeyboard.cpp. |
|
Definition at line 1396 of file winkeyboard.cpp. |
|
Definition at line 1406 of file winkeyboard.cpp. Referenced by DIALOG_IsDialogMessage(), EDIT_WM_Char(), EDIT_WM_KeyDown(), KBD_translate_accelerator(), LISTBOX_HandleKeyDown(), and TranslateMDISysAccel().
|
|
Definition at line 1428 of file winkeyboard.cpp. |
|
Definition at line 1451 of file winkeyboard.cpp. Referenced by MapVirtualKeyExA(), OemKeyScan(), and SendInput().
|
|
Definition at line 1478 of file winkeyboard.cpp. Referenced by MapVirtualKeyExW(), and SendInput().
|
|
Definition at line 1505 of file winkeyboard.cpp. |
|
Definition at line 1531 of file winkeyboard.cpp. |
|
Definition at line 1552 of file winkeyboard.cpp. |
|
Definition at line 1579 of file winkeyboard.cpp. |
|
Definition at line 1590 of file winkeyboard.cpp. |
|
Definition at line 1603 of file winkeyboard.cpp. Referenced by OemKeyScan(), and VkKeyScanExA().
|
|
Definition at line 1610 of file winkeyboard.cpp. Referenced by VkKeyScanExW().
|
|
Definition at line 1633 of file winkeyboard.cpp. |
|
Definition at line 1656 of file winkeyboard.cpp. |
|
Definition at line 1684 of file winkeyboard.cpp. |
|
Definition at line 1717 of file winkeyboard.cpp. |
|
Definition at line 1744 of file winkeyboard.cpp. |
|
Definition at line 1756 of file winkeyboard.cpp. |
|
Definition at line 1775 of file winkeyboard.cpp. |
|
Definition at line 1787 of file winkeyboard.cpp. Referenced by OS2ToWinMsgTranslate().
|
|
Definition at line 39 of file winkeyboard.cpp. |
|
Definition at line 62 of file winkeyboard.cpp. |
|
Definition at line 331 of file winkeyboard.cpp. |
|
Definition at line 597 of file winkeyboard.cpp. |