Merge pull request #209 from BarrensZeppelin/master

Fix missing release of ThumbWheel touch
This commit is contained in:
pixl 2021-03-13 18:03:26 -05:00 committed by GitHub
commit 916fa8692c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,7 +120,7 @@ void ThumbWheel::_handleEvent(hidpp20::ThumbWheel::ThumbwheelEvent event)
_last_touch = !_last_touch; _last_touch = !_last_touch;
auto action = _config.touchAction(); auto action = _config.touchAction();
if(action) { if(action) {
if(_last_proxy) if(_last_touch)
action->press(); action->press();
else else
action->release(); action->release();