Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Interpreting the QNX4 absf. file
Ref. No. QNX.000010109
Category(ies) Input Devices
Issue I'm trying to configure my touch screen and would like to know how to interpret the file that acalib created - absf.<file>.
Solution reslx --> resolution lower x      0
resly --> resolution lower y      0
reshx --> resolution high x      639
reshy --> resolution high y      479
xoffset --> x offset low          74
xscale  --> x offset high        1001
yoffset --> y offset low          16
yscale  --> y offset high        939
swap    --> swap x and y          0


The screen coords are 0,0 - 639,479 and the touch screen coords are 74,16 - 1001,939    (upper left - lower right corners).

Note that acalib will average out each x/y value.  For example, x offset low comes from the sum of the 2 left corners (just x value) divided by 2.  y offset low uses the 2 top corners...