I am doing exactly that right now.
Hooked up an old arcade joystick mechanic to 4 pins on the puck.
There is not much drain apparently.
I also disconnect after some seconds of inactivity but not sure if that is actually necessary...
Mainly there is a setWatch() function for every direction (and later some buttons) - the rest is communication code for establishing, sending and disconnecting.
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.
I am doing exactly that right now.
Hooked up an old arcade joystick mechanic to 4 pins on the puck.
There is not much drain apparently.
I also disconnect after some seconds of inactivity but not sure if that is actually necessary...
Mainly there is a
setWatch()
function for every direction (and later some buttons) - the rest is communication code for establishing, sending and disconnecting.