User Tools

Site Tools


trigger:USB_Device_Key

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
trigger:USB_Device_Key [2015/04/12 01:44]
jimmyhartington created
trigger:USB_Device_Key [2016/01/02 03:45]
peternlewis
Line 1: Line 1:
-**This is an advanced trigger ​** generally you should use a [[trigger:​Hot_Key|Hot Key Trigger]] if possible.+**This is an advanced trigger** ​— generally you should use a [[trigger:​Hot_Key|Hot Key Trigger]] if possible.
  
-Keyboard Maestro can trigger a macro when any device key is pressed—this includes modifier keys, mouse buttons, programable keyboards like [[http://​piengineering.com/​xkeys.php|P.I. Engineering’s X-Key]], and even the brightness buttons on USB connected monitors.+The *USB Device Key trigger* executes ​a macro when any device key is pressed — this includes modifier keys, mouse buttons, programable keyboards like [[http://​piengineering.com/​xkeys.php|P.I. Engineering’s X-Key]], and even the brightness buttons on USB connected monitors.
  
 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. 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.
 +
 +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+). ​ Keep in mind that Keyboard Maestro cannot see the future, so "​tapped once" will will fire even on the first tap even if you tap the key twice ("​tapped"​ would fire both times).
  
 For example, a macro could fire every five seconds while Control-Mouse Button 3 is held down. For example, a macro could fire every five seconds while Control-Mouse Button 3 is held down.
  
 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. 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.
trigger/USB_Device_Key.txt · Last modified: 2023/09/13 00:32 by peternlewis