nanogui: Mouse behaviour in Portrait Mode.


Previous by date: 12 Nov 2000 20:29:43 -0000 Re: Microwindows on SuperH, Greg Haerr
Next by date: 12 Nov 2000 20:29:43 -0000 error compiling viewml, root
Previous in thread: 12 Nov 2000 20:29:43 -0000 Re: Mouse behaviour in Portrait Mode., Greg Haerr
Next in thread:

Subject: Re: Mouse behaviour in Portrait Mode.
From: "Greg Haerr" ####@####.####
Date: 12 Nov 2000 20:29:43 -0000
Message-Id: <01b601c04ce7$71b7c840$15320cd0@gregh>

Simon,
    I have added a FLIP_MOUSE_IN_PORTRAIT_MODE #define
to engine/devmouse.c for the time being that specifies whether or not
the values returned from the mouse driver should be adjusted in portrait
mode or not.

I've also cc'd Jason Kingan at Century Software who is writing a
standard tpcal touchscreen driver for all Microwindows ports,
so that he can also consider this.  I think the issue is that some
mouse drivers are using a more complex tpcal than others, that
allows the mouse coordinates to be adjusted at the Microwindows
mouse driver level, rather than in devmouse.c.

Regards,

Greg




: My wife is away visiting friends this week so I had a couple of late night
sessions getting back into Nano-X. I notice that the way that the mouse (touch
screen) is handled in the Framebuffer/Portrait=L,R has changed in version
89pre1. It seems that this was done to support the Compaq, but I believe that it
wrong to do it this way.
:
: Reasoning:
: 1). If you use Portrait= L, R on a normal PC screen the image is rotated. Turn
your monitor on its side to give a tall/narrow page (like 'letter'). Since the
change you are unable to use a normal mouse as it X/Y swapped.
:
: 2). On my Everex I am (correctly) using the application Tpcal to calibrate the
touchpanel, which automatically compensates for the rotation of the screen as
you touch the little x's.
:
: 3). The change does not allow for geometry shifts (rotational, trapezoidal) in
a touchpanel, as Tpcal does.
:
: If no one (really) objects can we have the file 'src/engine/devmouse.c'
reverted back to the 0.88 version, or at least have the changes #defined so they
only apply to Compaq.
:
: Yours,
: Simon Wood.
:
: ps. I've shoved a photo (low quality I'm afraid) of my Everex running nxkdb
and nxterm on my web site http://www.mungewell.uklinux.net/everex.jpg
:
: pps. Scribble doesn't compile for MIPS - I'll look in more detail later.
:
:
:


Previous by date: 12 Nov 2000 20:29:43 -0000 Re: Microwindows on SuperH, Greg Haerr
Next by date: 12 Nov 2000 20:29:43 -0000 error compiling viewml, root
Previous in thread: 12 Nov 2000 20:29:43 -0000 Re: Mouse behaviour in Portrait Mode., Greg Haerr
Next in thread:


Powered by ezmlm-browse 0.20.