nanogui: Thread: Mouse behaviour in Portrait Mode.


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Mouse behaviour in Portrait Mode.
From: Simon Wood ####@####.####
Date: 25 Oct 2000 08:16:55 -0000
Message-Id: <44632C76B97BD211AF6B00805FADCAB202D7384E@exchange.saltaire.pace.co.uk>

Hi all,
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.


Subject: Re: Mouse behaviour in Portrait Mode.
From: "Greg Haerr" ####@####.####
Date: 25 Oct 2000 14:17:15 -0000
Message-Id: <05bb01c03e8e$aa4e24e0$15320cd0@gregh>

: pps. Scribble doesn't compile for MIPS - I'll look in more detail later.

Remove a #ifdef mips preceding an internal strdup definition - I think
I fixed this in pre4

Regards,

Greg




: 
: 
: 

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.
:
:
:

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.