mirror of
https://github.com/evilC/AutoHotInterception.git
synced 2024-11-12 13:10:47 +00:00
Fixes #30
This commit is contained in:
parent
43640f14a3
commit
9cc29cf046
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user