[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2962.0. "Tablet. Different mapping between VMS v4.x and v5.x" by MLNCSC::BELLENCHIA (R. Bellenchia - Product Support Italy) Wed Jun 20 1990 04:40

Hello,

	we are in trouble with a very important customer (Schlumberger) that 
has written his application using the tablet as pointing device. The problem 
seems to be related to the driver handling the tablet rather then with the 
window system (VWS or DECwindows). This is the problem:
	into our tablet there is a square and his shape is delimited by a
groove. Until VMS v4.7a this groove coincided with the right edge of the screen
but starting with VMS v5.0 and later versions the square border has been 
misaligned respect to the screen display. This is causing problems when the 
customer application has to identify the pointer position, the groove doesn't 
allow a good identification of the position when it is used with the pen 
(sometime read one position sometime another).
Here is a little graphic that I hope could help to better understand the 
problem:

                            TABLET                          DISPLAY
                       --------------------         ----------------------
Physical border -----> |  ..............  |         |                    |
                       |  .            .  |         |<--- v4 groove  --->|
                       |  .            .  |         |                    |
    Groove -------------->.            .  |         |                    |
                       |  .            .  |       *<----  v5 groove -->* |
                       |  .            .  |         |                    |
                       |  .            .  |         |                    |
                       |  .            .  |         |                    |
                       |  ..............  |         |                    | 
                       --------------------         ----------------------


As you can see under v4 the tablet groove exactly matched the left/right
display margins, under v5 the groove tablet coordinates have been displaced
on the screen to the left.
Is there anybody that could explain me if this is a right behaviour ?
Is that a mapping problem with new VMS versions ?

Thanks in advance for any hint.

Regards,
Roberto

I've posted this note in DECwindows and VWS notes files.
T.RTitleUserPersonal
Name
DateLines
2962.1STAR::KLEINSORGEFred Kleinsorge, VMS DevelopmentWed Jun 20 1990 08:589
    
    I would suspect a faulty tablet.  Since DECwindows never ran on
    V4.x, I would suspect they are running VWS.  The code that maps
    the tablet is a very simple function to map the tablet coordinates
    (full scale) to the screen size (full scale).  The left edge is
    zero, and it maps to zero...  If the edge has shifted then I would
    suspect that the tablet needs realignment (and I don't know how this
    is done with a Summagraphics Bitpad II type tablet).