mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Changed dummy key event to send key down and key up to improve compatibility with applications (#7166)
This commit is contained in:
@@ -100,6 +100,9 @@ namespace KeyboardManagerConstants
|
||||
// Dummy key event used in between key up and down events to prevent certain global events from happening
|
||||
inline const DWORD DUMMY_KEY = 0xFF;
|
||||
|
||||
// Number of key messages required while sending a dummy key event
|
||||
inline const size_t DUMMY_KEY_EVENT_SIZE = 2;
|
||||
|
||||
// String constant for the default app name in Remap shortcuts
|
||||
inline const std::wstring DefaultAppName = GET_RESOURCE_STRING(IDS_EDITSHORTCUTS_ALLAPPS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user