This commit is contained in:
Clive Galway 2019-02-24 19:01:34 +00:00
parent 43640f14a3
commit 9cc29cf046
2 changed files with 7 additions and 1 deletions

View File

@ -121,8 +121,9 @@ namespace AutoHotInterception.Helpers
// If state is shifted up by 2 (1 or 2 instead of 0 or 1), then this is an "Extended" key code
if (state > 1)
{
if (code == 42)
if (code == 42 || state > 3)
{
// code == 42
// Shift (42/0x2a) with extended flag = the key after this one is extended.
// Example case is Delete (The one above the arrow keys, not on numpad)...
// ... this generates a stroke of 0x2a (Shift) with *extended flag set* (Normal shift does not do this)...
@ -133,6 +134,10 @@ namespace AutoHotInterception.Helpers
// ... it will have code 0x53, which we shift to 0x153 (Adding 256 Dec) to signify extended version...
// ... as this is how AHK behaves with GetKeySC()
// state > 3
// Pause sends code 69 normally as state 0/1, but also LCtrl (29) as state 4/5
// Ignore the LCtrl in this case
// Set flag to indicate ignore
retVal.Ignore = true;
}

View File

@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Deprecated
### Removed
### Fixed
- Pause button now works
- SubscribeMouseMove endpoint fixed to not return bool (Fix "Can not implicitly convert type Void to object" error)
## [0.3.7] - 2019-02-10