# Tracking physical key with current sate/variable?

**URL:** <https://forum.bome.com/t/tracking-physical-key-with-current-sate-variable/1564>\
**Category:** Bome Products\
**Created:** [June 13, 2020, 8:37pm UTC](https://forum.bome.com/t/tracking-physical-key-with-current-sate-variable/1564 "2020-06-13T20:37:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![traboule\_kabbal](https://forum.bome.com/letter_avatar_proxy/v4/letter/t/f1d935/32.png) [@traboule\_kabbal](https://forum.bome.com/u/traboule_kabbal)\
**Post date:** [June 13, 2020, 8:37pm UTC](https://forum.bome.com/t/tracking-physical-key-with-current-sate-variable/1564/1 "2020-06-13T20:37:06Z")

</div>

Hiya :)

I'm trying to configure something but I can't make it work so far,

-pressing physical key Q outgoing mouse wheel up

-pressing physical key D outgoing mouse wheel up aswell

I'd like the outgoing action only if I switch between Q and D, not if I press Q then Q again (or D then D again)

This is why I think I'd need to track the variable of both Q and D

I attached my file, it is working with basic preset activation/deactivation but it seems to "swallow" the physical key message somehow

Any idea on how I can solve this?

&nbsp;

  
**Attachments:**  
[**1592073601745\_d2-switch-sorc-test-Copie.bmtp**](https://www.bome.com/wp-content/uploads/cma_attachments/1592073601745_d2-switch-sorc-test-Copie.bmtp)

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [June 13, 2020, 8:59pm UTC](https://forum.bome.com/t/tracking-physical-key-with-current-sate-variable/1564/2 "2020-06-13T20:59:25Z")

</div>

Hi, MT Pro never swallows incoming key actions. The are always passed through to the currently focused application. If you open a text editor while pressing Q and D you will see this. It does not show in MT Pro because MT Pro is not passing the keystroke. The operating system is handling it directly.

Regarding your mouse movement, I just put a 50ms delay on outgoing action of your two translators and everything works fine. I suspect the operating system needs a bit of time to process the keystroke first before handling the mouse wheel action.

&nbsp;

Steve Caldwell  
Bome Customer Care

* * *

_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![traboule\_kabbal](https://forum.bome.com/letter_avatar_proxy/v4/letter/t/f1d935/32.png) [@traboule\_kabbal](https://forum.bome.com/u/traboule_kabbal)\
**Post date:** [June 15, 2020, 11:34am UTC](https://forum.bome.com/t/tracking-physical-key-with-current-sate-variable/1564/3 "2020-06-15T11:34:04Z")

</div>

Hiya oh ok but in my game it does swallow it 🙂 doesnt matter anyway  
Thanks for your input and super fast reply, really appreciate it !
