touch-map-to-display

bradzilla84/touch-adafruit/touch-map-to-display

Map the Touch Events to the Display Dimensions.
touch-map-to-display
@/touch-map-to-display
Map the Touch Events to the Display Dimensions.
Xnumber
X Input from touch detect.
Ynumber
Y Input from touch detect.
XDisplaynumber
Display Max Pixels in X dir
YDisplaynumber
Display Max Pixels in Y dir
XMinTouchnumber
X Min of Touch Output. (will need to be remaped for Orientation)
YMinTouchnumber
Y Min of Touch Output. (will need to be remaped for Orientation)
XMaxTouchnumber
X Max of Touch Output. (will need to be remaped for Orientation)
YMaxTouchnumber
X Max of Touch Output. (will need to be remaped for Orientation)
touch-map-to-display
X
Y
XDisplay
YDisplay
XMinTouch
YMinTouch
XMaxTouch
YMaxTouch
XDisplayPoint
YDisplayPoint
YDisplayPointnumber
Y Position Mapped to the display.
XDisplayPointnumber
X Position Mapped to the display.
To use the node in your project you should have the bradzilla84/touch-adafruit library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.