Calibrate a touchscreen
calib [options]
- -h height[%]
 
- The height of the window, in pixels, or as a percentage of the screen
  height if % is specified.
      
 
- -s server_name
 
- The name of the Photon server:
    
  
| If server_name is:
       | 
This server is used:
   | 
| node_path
       | 
node_path/dev/photon
   | 
| fullpath
       | 
fullpath
   | 
| relative_path
       | 
/dev/relative_path
   | 
 
- -w width[%]
 
- The width of the window, in pixels, or as a percentage of the screen
  width if % is specified.
      
 
- -x position[%][r]
 
- The x coordinate of the upper-left corner of the window, in pixels, 
  or as a percentage of screen width if % is specified.
  If r is specified, the coordinate is relative to the
  current console.
      
 
- -y position[%][r]
 
- The y coordinate of the upper-left corner of the window, in pixels, 
  or as a percentage of screen height if % is specified.
  If r is specified, the coordinate is relative to the
  current console.
 
The calib utility is used to calibrate a touchscreen.
Once the touchscreen is successfully configured (i.e. you've created
an input.node file), it must be calibrated. To invoke the calibration 
screen:
- Start Photon.
 
- Launch a
  pterm.
 
- Type: calib
 
- Click on the Calibrate button using a mouse, or press the 
  Tab key to get to the Calibrate button and then press 
  Enter.
 
- When the arrows come up, point to the corner of the screen
  opposite the arrow (not the arrow tip). 
 
- When the bull's-eye comes up, touch the center.