Skip to content

Emulating a key being pressed down continuously

Jerker Dahlblom edited this page Nov 14, 2023 · 4 revisions

Following images shows how to do this on the Switch Panel.
For Stream Deck the procedure is the same, you just use the "Key press" configuration for a certain button and use the options for "... Button Pressed" and add VK_NULL to "... Button Released".

VK_NULL, means [Virtual Key NULL] where null means "having no value". A VK_NULL doesn't produce a key press but it used to cancel other key presses being active. switchpanel_keep_pressed_2 switchpanel_keep_pressed_3 set_indefinite add_vknull keep_pressed_vknull_result