mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-10 13:29:56 +00:00
6ed354714e
. When Alt Gr is pressed, then manually post WM_CHAR message on receiving a WM_KEYDOWN (manually translate and account for shift/control/caps-lock) . Hook filter: suppress Alt Gr's (ie. RMENU's) fake LCONTROL messages Also: . Hook filter: allow Ctrl+Shift+Esc (for Task Manager) . Keyboard: refactor only use accessor functions to get the Alt/Control/Shift state
24 lines
750 B
C
24 lines
750 B
C
#pragma once
|
|
|
|
enum Keystroke_e {NOT_ASCII=0, ASCII};
|
|
|
|
void ClipboardInitiatePaste();
|
|
|
|
void KeybReset();
|
|
bool KeybGetCapsStatus();
|
|
bool KeybGetP8CapsStatus();
|
|
bool KeybGetAltStatus();
|
|
bool KeybGetCtrlStatus();
|
|
bool KeybGetShiftStatus();
|
|
void KeybUpdateCtrlShiftStatus();
|
|
BYTE KeybGetKeycode ();
|
|
void KeybQueueKeypress(WPARAM key, Keystroke_e bASCII);
|
|
void KeybToggleCapsLock ();
|
|
void KeybToggleP8ACapsLock ();
|
|
void KeybAnyKeyDown(UINT message, WPARAM wparam, bool bIsExtended);
|
|
BYTE KeybReadData (void);
|
|
BYTE KeybReadFlag (void);
|
|
void KeybSetSnapshot_v1(const BYTE LastKey);
|
|
void KeybSaveSnapshot(class YamlSaveHelper& yamlSaveHelper);
|
|
void KeybLoadSnapshot(class YamlLoadHelper& yamlLoadHelper);
|