Sure, you could have a counter that is decremented every frame and resets to 120 seconds when there’s movement. Then activate the layer with the jiggler when the counter is zero (just change the middle button to “Register 2” and disable sticky in the jiggler example).
0x00010030 input_state abs
0x00010031 input_state abs
add /* was there movement? */
120000 /* if so, reset the counter */
1 recall 1 sub /* if not, decrement the counter */
ifte
relu /* don't go below zero */
dup
1 store /* store for next frame */
0 eq 2 store /* this will activate layer 1 */
Here’s the full config:
hid-remapper-jiggler-after-inactivity.json (2.4 KB)