Down for Maintenance from December 17, 2025 Wednesday 9:30pm PST to December 18, 2025 Thursday 3:30am PST (i.e., 05:30am -11:30am GMT, December 18, 2025 Thursday)
- Loading...
...
The easiest way to find out these numbers for a device is usually to run the following command on the target device:
| Code Block |
|---|
cat /proc/bus/input/devices |
and then look for a line starting with the characters "I: Bus=" that matches the touch screen. The other way to find out these numbers is to run the the following GetEvent class using OpenJFX:
| Code Block |
|---|
sudo java com.sun.glass.ui.monocle.GetEvent |
...
Once you have the touch screen's product ID, you can set the following properties for it:
| Property | Type | Function |
|---|---|---|
minX | int | the X value returned by the touch driver on the extreme left of the display |
maxX | int | the X value returned by the touch driver on the extreme right of the display |
minY | int | the Y value returned by the touch driver on the extreme top of the display |
maxY | int | the Y value returned by the touch driver on the extreme bottom of the display |
flipXY | boolean | the X and Y axes are swapped if this property is true |
...