5 plain Buttons - not as elegant as joystick - will do just as well and are actually easier to program: setWatch(); and you have much more distinctive events. With ajoystick uou may need to poll - and depending the type of joystk - handle the analogue values yourself. @user697's suggestion to use a WII NUNCHUCK gives you much more dynamics that can outweigh the drawback of polling... dealing with the contiguous values requires much more logic though.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
5 plain Buttons - not as elegant as joystick - will do just as well and are actually easier to program: setWatch(); and you have much more distinctive events. With ajoystick uou may need to poll - and depending the type of joystk - handle the analogue values yourself. @user697's suggestion to use a WII NUNCHUCK gives you much more dynamics that can outweigh the drawback of polling... dealing with the contiguous values requires much more logic though.