TouchRD Documentation includes generic code for calibration for Portrait and Landscape use.
The configuration(s) as used in post #1 were created with the generic calibration code and then copied into the modules folder of the sandbox in the Espruino IDE:
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.
Modules are now on https://www.espruino.com/modules:
TouchRD Documentation includes generic code for calibration for Portrait and Landscape use.
The configuration(s) as used in post #1 were created with the generic calibration code and then copied into the modules folder of the sandbox in the Espruino IDE: