Hi - the code that calls the touch event is C code in the Bangle.js firmware as you note.
What are you attempting to change? As the coordinates are an object, you should be able to change them if you can ensure that your Bangle.on('touch' handler runs first...
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.
Hi - the code that calls the touch event is C code in the Bangle.js firmware as you note.
What are you attempting to change? As the coordinates are an object, you should be able to change them if you can ensure that your
Bangle.on('touch'
handler runs first...