Add ToDo with reminder of other things that need fixing

interception_wait
Clive Galway 3 years ago
parent c6d187eda4
commit f7075bbe28

@ -46,6 +46,9 @@
<Compile Include="Manager.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="ToDo.md" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>if not exist "$(TargetDir)x86" mkdir "$(TargetDir)x86"

@ -0,0 +1,15 @@
# Fix issues with Numlock/Pause
BlueChipps in AHI Discord has a proposed fix [here](https://github.com/bluechipps/AutoHotInterception/tree/pause_numlock_support)
# Poor coding of extended keys
Currently, there is an `.ignore` flag on `KeyboardState`
When an extended code comes in (eg extended Shift or Ctrl), then the key may be ignored and `block` could never be set
so the extended modifier will always be passed through.
Implement better system:
* When an extended modifier is seen, add it to a buffer
* When the next key comes in, check if it is subscribed and blocked
* If it is, then purge the buffer
* If it is not, play back the buffered extended key code and then play back the unblocked key
Del is a good example:
If Del (Above arrow keys, not on Numpad) is pressed while NumLock is off, it sends an Extended LCtrl, then the Pause Key
Loading…
Cancel
Save