Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 309 Bytes

File metadata and controls

19 lines (13 loc) · 309 Bytes

jwait

A small program that waits and exits when a chosen joystick button is is pressed on any connected controller.

I wanted something simple to retrigger a script when a specific joystick button is pressed.

$ while true; do (echo HELLO); jwait; done
HELLO
HELLO
HELLO
...

Linux only for now.