AppleWin/source/Keyboard.h

25 lines
799 B
C
Raw Normal View History

2006-02-25 20:50:29 +00:00
#pragma once
2018-07-23 21:27:33 +00:00
enum Keystroke_e {NOT_ASCII=0, ASCII};
2006-02-25 20:50:29 +00:00
void ClipboardInitiatePaste();
void KeybReset();
void KeybSetAltGrSendsWM_CHAR(bool state);
void KeybSetCapsLock(bool state);
bool KeybGetCapsStatus();
bool KeybGetAltStatus();
2006-02-25 20:50:29 +00:00
bool KeybGetCtrlStatus();
bool KeybGetShiftStatus();
2006-02-25 20:50:29 +00:00
void KeybUpdateCtrlShiftStatus();
BYTE KeybGetKeycode ();
2018-07-23 21:27:33 +00:00
void KeybQueueKeypress(WPARAM key, Keystroke_e bASCII);
2006-02-25 20:50:29 +00:00
void KeybToggleCapsLock ();
void KeybToggleP8ACapsLock ();
void KeybAnyKeyDown(UINT message, WPARAM wparam, bool bIsExtended);
BYTE KeybClearStrobe(void);
BYTE KeybReadData (void);
BYTE KeybReadFlag (void);
void KeybSaveSnapshot(class YamlSaveHelper& yamlSaveHelper);
void KeybLoadSnapshot(class YamlLoadHelper& yamlLoadHelper, UINT version);