Sorry for the delay, I missed this. There was a big discussion about this a few weeks ago and it's tricky as you don't really want to reduce the usable touchscreen area (especially where gestures/scrolling is concerned) - but as you say apps expect coordinates in the screen range.
I guess maybe the thing to do is to add clipping for 'touch' coordinates only (at least for the moment).
edit: I've added this to the latest firmware build now
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.
Sorry for the delay, I missed this. There was a big discussion about this a few weeks ago and it's tricky as you don't really want to reduce the usable touchscreen area (especially where gestures/scrolling is concerned) - but as you say apps expect coordinates in the screen range.
I guess maybe the thing to do is to add clipping for 'touch' coordinates only (at least for the moment).
edit: I've added this to the latest firmware build now