[Previous] [Contents] [Index] [Next]

calib

Calibrate a touchscreen

Syntax:

calib [options]

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.

Description:

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:

  1. Start Photon.
  2. Launch a pterm.
  3. Type: calib
  4. Click on the Calibrate button using a mouse, or press the Tab key to get to the Calibrate button and then press Enter.
  5. When the arrows come up, point to the corner of the screen opposite the arrow (not the arrow tip).
  6. When the bull's-eye comes up, touch the center.

[Previous] [Contents] [Index] [Next]