MediatedCommunications / WindowsInput

Capture and Simulate Keyboard and Mouse Input
MIT License
115 stars 17 forks source link

Keychords - Is it possible to be notified on chord keys down and chord keys up? #24

Open poynty opened 1 year ago

poynty commented 1 year ago

Hi there, first this is a great library! Very good.

I was wondering if it is possible to register a key chord and have it fire when the chord is first detected via key downs and then again when the chord keys are up?

Perhaps this is possible and I don't know how or I misunderstand the state machine which is very likely.

The use case is to temporarily toggle some part of the UI to visible while the chord is held and then to toggle the UI off when the chord is released.

Many thanks P