
3.12 Touch-panel Library
========================
Overview of library
1. Overview
In case that the display device is "10.4-inch LCD with touch-panel", the C
application can read status of the touch-panel. The information to be read
is;
Whether touch-panel is pushed or not.
The coordinate of the pushed point if pushed.
The CNC option "Touch-panel" is required to use touch-panel library.
2. Touch-panel coordinate
The touch-panel library uses the following X-Y coordinate system whose
origin is put at the upper-left point to represent points on the touch-panel.
----> X
│ +-----------------------------------+
│ │(0,0) │
v │ │
Y │ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ (xxxx,yyyy)│
+-----------------------------------+
The cooridinate on the touch-panel is represented as (X,Y) format
using this coordinate system.
(X:horizontal position, Y:vertical position)