Skip to content

some-programs/jwait

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

wait for a joystick button to be pressed and exit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages