trigger:USB_Device_Key
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| trigger:USB_Device_Key [2015/07/03 08:32] – peternlewis | trigger:USB_Device_Key [2025/06/19 05:49] (current) – Fixed a few typos peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== USB Device Key Trigger ====== | ||
| + | |||
| **This is an advanced trigger** — generally you should use a [[trigger: | **This is an advanced trigger** — generally you should use a [[trigger: | ||
| - | The *USB Device Key trigger* executes a macro when any device key is pressed — this includes modifier keys, mouse buttons, | + | The *USB Device Key trigger* executes a macro when any device key is pressed — this includes modifier keys, mouse buttons, |
| + | |||
| + | Unlike hot key triggers, the pressed key is not removed or affected in any way. This trigger watches input devices at a low level, but it does not affect them, so any key presses continue to have their normal operation as well as triggering the macro. This is fine for modifiers, unused mouse buttons, programmable keyboards and other unused buttons, but would likely be problematic for normal keystrokes which will continue to have some other, probably unwanted, affect. | ||
| + | |||
| + | ===== When ===== | ||
| + | |||
| + | You can configure the trigger to execute the macro when the key is pressed, when it is long pressed (v10.0+), when it is released, or repeatedly while the key is held down. This allows you to do things | ||
| + | |||
| + | You can configure the trigger to execute when the key is tapped (press and released quickly) each time, the first tap, double tapped, triple tapped, or quadruple tapped (v7.0+). | ||
| + | |||
| + | You can configure the trigger to execute when the key is tapped (press and released quickly) only on the first tap, or the second tap, or the third tap, or the fourth tap (v11.0+). | ||
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | === Triggers === | ||
| + | |||
| + | * [[trigger: | ||
| + | * [Typed String](https://wiki.keyboardmaestro.com/trigger/ | ||
| + | * [[:Triggers|See all Triggers]] | ||
| - | The macro can be executed when the key is pressed, released or repeat continuously while it is held down. The trigger can also optionally be restricted to when certain modifier keys are pressed. | + | === Actions === |
| - | You can configure the trigger to execute when the key is tapped | + | * [Type a Keystroke](https:// |
| + | * [Insert Text by Typing](https:// | ||
| + | * [[: | ||
| - | For example, a macro could fire every five seconds while Control-Mouse Button 3 is held down. | + | === Tokens === |
| - | Unlike hot key triggers, the pressed key is not removed or affected in any way. This trigger watches input devices at a low level, but it does not affect them, so any key presses continue to have their normal operation as well as triggering the macro. This is fine for modifiers, unused mouse buttons, programable keyboards and other unused buttons, but would likely be problematic for normal keystrokes which will continue to have some other, probably unwanted, affect. | + | * [[token: |
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[: | ||
trigger/USB_Device_Key.1435912335.txt.gz · Last modified: by peternlewis
