[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

340.0. "Tablet support ?" by BMT::RBONOMO (Bobby Bonomo - NY Finacial District) Tue Mar 07 1989 15:28

    
    I am currently working on a Feasibility study for porting a
    UIS tablet-based application to the DECwindows environment.
    
    Has anyone had any experience with DECwindow applications that
    use tablets/pens instead of a mouse ?

    Are things like tablet I/O , "translation", calibration etc. performed
    by the application ( i.e. QIOs to port TTA2: into a mailbox etc... )
    or are there mechanisms provided by DECwindows to handle them ?
    
    Thanks ahead of time ...	Bobby B.

T.RTitleUserPersonal
Name
DateLines
340.1Some experienceSDSVAX::SWEENEYRoads? Where we're going we don't need..roadsTue Mar 07 1989 17:4010
    Bobby, walk on over.  I have a tablet (VSXXX-AB)
    
    To those of you who can't walk over, the tablet works with SDC
    DECwindows, at least with the puck.  I don't know about the pen because
    my pen may be broken.
    
    Of course, the puck is awkward for mousing around.  Except for some
    highly specialized applications, I would never plug in the table/puck
    combination.

340.2VWSENG::KLEINSORGEToys 'R' UsWed Mar 08 1989 10:0221
    
    There is tablet support and then there is tablet support...
    
    Both DECwindows and UIS support the tablet as a "mouse".  That is,
    you can plug in the tablet and it works exactly like a mouse was
    plugged in.
    
    However, only UIS currently provides support for the tablet in
    DIGITIZING mode.  Since it isn't uncommon for tablets to have 2,
    3 or even 4x the resolution of the display - you *need* a specialized
    mode to take advantage of the tablet.
    
    My understanding is that for DECwindows to directly support a
    digitizing mode, a extension in required to X11.  Until then you
    can buy third party RS232 tablets and connect them to a normal
    serial line and write your own software for it... many third
    party vendors have such software anyway.
    
    
    

340.3UWS V2.0 probably doesn't support tablet on VS2TALLIS::ROBINSONtiny ��. bubbles .�� round my brain � �� ��Wed Mar 08 1989 10:289
    Actually, I don't think this quite works on UWS V2.0 and a VS2.
    The tablet plugs into the mouse plug on the back of the monitor
    but the qvss driver won't enable the mouse plugged in there nor
    I would imagine the tablet. So until (unless?) that is fixed you'd
    better do it on a qdss based platform (GPX, or VS2000,...)

    - Scott
    

340.4ATSE::DAVIDSONWed Mar 15 1989 18:345
    I used a tablet to draw a picture with the pen.  It was a bit easier
    that using the mouse because I'm used to drawing with a pencil.
    
    Sean

340.5VWSENG::KLEINSORGEToys 'R' UsThu Mar 16 1989 11:327
    
    I've heard creating artwork with a mouse described as about the same
    experience as drawing with a boxing glove on... and I agree with
    that observation.
    
    

340.6Worse than that!!TYFYS::MOLLERHalloween the 13th on Elm Street #7Thu Mar 16 1989 15:349
    Boxing Gloves?? I would liken drawing with a mouse more similar to
    doing water color painting with a fire hose at 500 PSI. Not very
    delicate.

    Mice are fine if you have no other choice, but not a serious graphics
    development device.

								Jens

340.716 button digitizer help???21663::LANGFELDTComplex lives are happy lives!Thu May 18 1989 13:2520
    
    I am working with a CMP who is converting to DECwindows on VMS,
    but looking forward to a conversion to Ultrix, and therefore trying
    to write very portable code.  Right now, this vendor supports _only_
    Digital platforms, so it is important to work with them to resolve
    problems.
     
    The stopper here seems to be support for a 16 button digitizer tablet.
    If they have to write a device driver for VMS, they will then have to 
    write a driver for Ultrix, and any other future machines.
    
    Is there any way around writing a device driver when using a large
    digitizer with X?  We have toyed with the idea of grabbing events
    in a terminal window, and trying to get the window manager to deal
    with them, but no luck so far.
    
    Any suggestions or pointers would be appreciated.
    
    Sharon 

340.8What about aspect ratio problems with tablet?TLE::MEIERBill Meier - VAX AdaThu Jun 15 1989 17:4417
    re: .4 and others
    
    My experience is that the tablet does not have a 1:1 aspect ratio; or
    at least by the time the data gets to the screen it doesn't. Trace a
    square on the tablet; you get a rectangle on the screen. How do you
    work around this problem?
    
    I know under UIS there was a hack program called "ZAPTAB" or something,
    that would poke the scaling in the driver such that it appears to come
    out 1:1
    
    Any such supported or unsupported way to do this under DECwindows? Any
    of the graphics editors (RAGS, DECpaint, etc) aren't very useful if the
    stylus and/or puck don't provide a consistent aspect ratio.
    
    Help?

340.9VWSENG::KLEINSORGEToys 'R' UsFri Jun 16 1989 05:3415
    
    I haven't tried it, but I think if you locate the UCB for the
    mouse/tablet device (IM) and get the input device information
    block (DWI) at UCB$L_DECW_I_DWI(ucb) and then get the
    DWI$F_PTR_TABLET_XRATIO(dwi) DWI$F_PTR_TABLET_YRATIO(dwi) you'll
    have the factors that it uses to normalize the data.  If you look
    in INDRIVER you'll find the routine that does the initial computation.
    Look in the driver manual in the DECwindows kit, hopefully there is
    an explanation there.
    
    You'll (of course) need change mode to kernel, and you'll probably
    want to do all the nice synchronization :-)
    
    _Fred (who wrote ZAPTAB)

340.10Will DECwindows support it?MAIL::SHAHNAMMehran Shahnam @STOWed Mar 21 1990 13:1112
    re: .2
    
    It was mentioned that Digitizing Tablets on DECwindows will not work
    until there is an extension on X11.  Are there any plans to add the
    extension?  Will DECwindows support this?  Also, in the interim, it was
    mentioned that 3rd party software exists that will enable you to plug
    the tablet to RS232 connection.  Any idea/hints as to who these CMPs
    may be?
    
    Much Thanks.
    
    /Mehran 
340.11It doesn't NOT work. It just works not the way you want!DECWIN::FISHERPrune Juice: A Warrior's Drink!Wed Mar 21 1990 17:298
    Well, it's not really that they don't work.  It is that they work like
    a mouse with the tablet on.  That is, the whole tablet maps to the
    whole screen.  Often people would like to map the whole tablet to a
    smaller drawing area on the screen.  That is what there is no X
    protocol support for.  I don't know of anyone working on such an
    extension, but it is possible...it is a big world.
    
    Burns
340.12same on SPX ?TKOVOA::MORITA_KOKoichi Morita, EIS/SPSG TokyoThu Mar 22 1990 04:167
>    a mouse with the tablet on.  That is, the whole tablet maps to the
>    whole screen.

    Can we get the same result on SPX ?

    Morita
340.13Answer doesn't changeSTAR::VATNEPeter Vatne, VMS DevelopmentThu Mar 22 1990 13:423
In DECwindows, the input devices are completely independent of the 
graphics output devices.  Therefore, the answer doesn't change whether
you have a GPX or an SPX.
340.14GreatTKOVOA::MORITA_KOKoichi Morita, EIS/SPSG TokyoThu Mar 22 1990 23:321