Does touchpads have buttons?

2008-09-29 Thread Søren Hauberg
Hi, I'm trying to differentiate touchpads from touchscreens in the evdev driver. Both types of devices has absolute axis, and emit the BTN_TOUCH signal. So, I need something else to tell them apart. Unfortunately, I don't have access to a touchpad (the only one I have is broken), so I can't

Re: Does touchpads have buttons?

2008-09-29 Thread Peter Hutterer
On Mon, Sep 29, 2008 at 09:42:22AM +0200, Søren Hauberg wrote: I'm trying to differentiate touchpads from touchscreens in the evdev driver. Both types of devices has absolute axis, and emit the BTN_TOUCH signal. So, I need something else to tell them apart. Unfortunately, I don't have access

Re: Getting xorg-7.4 from git ?

2008-09-29 Thread Eirik Byrkjeflot Anonsen
Donnie Berkholz [EMAIL PROTECTED] writes: On 08:27 Fri 26 Sep , Carl Worth wrote: On Fri, 2008-09-26 at 01:14 -0700, David Sharp wrote: this could be made easier by tagging releases for the katamari with a common tag, like Xorg-7.4 And even easier with a super-module repository that

Re: Xephyr, DRI, and compiz

2008-09-29 Thread Thomas Ilnseher
Am Freitag, den 26.09.2008, 13:42 -0700 schrieb Yan Seiner: I am trying to get Xephyr running with compiz. The following was generated with xserver 1.5.0 and xephyr 1.5.0. I've had the same results with 1.5.1. Why not using Xglx ? (I know it's a bit rusted now, but it was specially designed

Re: Extra pointer motion with current git xf86-input-synaptics

2008-09-29 Thread Simon Thum
Peter Hutterer wrote: On Sun, Sep 28, 2008 at 07:26:06PM +0200, Simon Thum wrote: rescaleValuatorAxis(int coord, AxisInfoPtr from, AxisInfoPtr to, int defmax) { [...] return (int)(((float)(coord - fmin) + 0.5f) * (tmax - tmin + 1) / (fmax - fmin

Re: Does touchpads have buttons?

2008-09-29 Thread Simon Thum
Søren Hauberg wrote: 2008/9/29 Peter Hutterer [EMAIL PROTECTED]: I'd say that most if not all touchpads have a physical button too, so no button would probably be a good indicator for a touchscreen. Thanks! So, I guess something like the attached patch could be used to handle the two types

Re: accessing legacy(?) VGA input status register 1 on 945GM/xf86-video-intel

2008-09-29 Thread Theo Veenker
Jesse Barnes wrote: On Friday, September 26, 2008 1:36 am Theo Veenker wrote: Jesse Barnes wrote: On Thursday, September 25, 2008 6:00 am Theo Veenker wrote: Hi, I have an application that presents audio-visual stimuli to subjects. To be able to precisely synchronize the audio and graphics

Re: Does touchpads have buttons?

2008-09-29 Thread Søren Hauberg
2008/9/29 Simon Thum [EMAIL PROTECTED]: Søren Hauberg wrote: Ahh, I (think I) see. The attached patch should handle this. It also adds support for clicking the screen, and for my setup it works quite I meant this: case EV_ABS: +abs = 1; switch (ev.code) {

Re: Does touchpads have buttons?

2008-09-29 Thread Peter Hutterer
Søren: On Mon, Sep 29, 2008 at 01:29:35PM +0200, Søren Hauberg wrote: Sorry, I wanted to suggest that in reply but missed it. Anyway, be aware that as your patch is now, you're also triggering on absolute axes you can't handle/don't know. I'd consider that a regression. Ahh, I (think I)

Re: Does touchpads have buttons?

2008-09-29 Thread Simon Thum
Søren Hauberg wrote: This stuff seems to only be in git. It's not in any releases, right? Yes. It needs a current server also. The information I seem to get from the kernel is (BTN_TOUCH, 1) when the stylus is pressed to the screen, and (BTN_TOUCH, 0) when the stylus is removed. When I move

Re: Does touchpads have buttons?

2008-09-29 Thread Søren Hauberg
2008/9/29 Søren Hauberg [EMAIL PROTECTED]: Or - even better, you hook into the default case of the switch statement for BTN_TOUCH and let the already existing code handle buttons, draglock, etc. (right now you're missing out on this). I tried only to break from the switch statement if we're

Re: pixman with and without SSE2 benchmarks?

2008-09-29 Thread Matthias Hopf
On Sep 28, 08 16:53:05 +0200, Roland Scheidegger wrote: On 28.09.2008 11:52, Clemens Eisserer wrote: I'd bet against that :-). Core 2 has magnificent SSE performance indeed, but that's true for MMX just as well. Well, Core2 (and AMD K10) got support for 128bit operations per clock,

Re: multihead / dual input howto (two local users, keyboards etc.)?

2008-09-29 Thread Hugo Vanwoerkom
Hi, I run such a 2-seater under Debian Sid. 2 cards/monitors/keyboards/mice/servers. But the recent xorg (1:7.3+10) gives an error message: Bus types other than PCI not yet isolable Yet I did it for years with older versions (1:7.2-5) Anyone shed light on the appearance of that message?

Re: accessing legacy(?) VGA input status register 1 on 945GM/xf86-video-intel

2008-09-29 Thread Jesse Barnes
On Monday, September 29, 2008 4:52 am Theo Veenker wrote: Jesse Barnes wrote: On Friday, September 26, 2008 1:36 am Theo Veenker wrote: Jesse Barnes wrote: On Thursday, September 25, 2008 6:00 am Theo Veenker wrote: Hi, I have an application that presents audio-visual stimuli to

Re: pixman with and without SSE2 benchmarks?

2008-09-29 Thread Stefan Dirsch
On Mon, Sep 29, 2008 at 06:17:53PM +0200, Matthias Hopf wrote: On Sep 28, 08 16:53:05 +0200, Roland Scheidegger wrote: On 28.09.2008 11:52, Clemens Eisserer wrote: I'd bet against that :-). Core 2 has magnificent SSE performance indeed, but that's true for MMX just as well. Well, Core2

Re: Bus types other than PCI not yet isolable

2008-09-29 Thread Tiago Vignatti
Hugo Vanwoerkom escreveu: I run a 2-seater (2 videocards/servers/mice/keyboards/monitors) on Debian Sid. That works successfully with xorg 1:7.2-5 (that's Debian's designation). So that's an installation that has not been upgraded recently. Under the recent upgrades with xorg 1:7.3+10 that

Re: [PATCH] Make -nocursor a runtime option to and remove the compile time NULL_ROOT_CURSOR

2008-09-29 Thread Ray Strode
Hi, On Sun, Sep 28, 2008 at 2:46 PM, Olivier Guerrier [EMAIL PROTECTED] wrote: Barry Scott wrote: We would love to have a -nocursor that got ride of the cursor from the screen added to Xorg. We have a patch to do this that we use. Maybe a little off-topic here, but I back this proposal of

[patch 2/4] Update for changes in mieq API

2008-09-29 Thread jon . turney
--- xserver/hw/xwin/InitInput.c | 10 -- xserver/hw/xwin/win.h |3 + xserver/hw/xwin/winkeybd.c| 22 +++-- xserver/hw/xwin/winmouse.c| 50 ++ xserver/hw/xwin/winmultiwindowwndproc.c

[patch 3/4] Update for MPX changes

2008-09-29 Thread jon . turney
--- xserver/hw/xwin/InitInput.c |5 ++--- xserver/hw/xwin/wincursor.c | 33 - 2 files changed, 26 insertions(+), 12 deletions(-) Index: xorg-git/xserver/hw/xwin/InitInput.c === ---

[patch 4/4] Update for changes to shadow framebuffer

2008-09-29 Thread jon . turney
--- xserver/hw/xwin/win.h |3 +++ xserver/hw/xwin/winscrinit.c | 32 +++- xserver/hw/xwin/winshaddd.c |2 +- xserver/hw/xwin/winshadddnl.c |2 +- xserver/hw/xwin/winshadgdi.c |2 +- 5 files changed, 33 insertions(+), 8 deletions(-) Index:

[patch 1/4] Fixes to build machinery

2008-09-29 Thread Jon TURNEY
Hmm.. I wonder what went wrong then... Original Message From [EMAIL PROTECTED] Mon Sep 29 23:08:44 2008 Message-Id: [EMAIL PROTECTED] References: [EMAIL PROTECTED] User-Agent: quilt/0.46-1 Date: Mon, 29 Sep 2008 23:08:35 +0100 From: [EMAIL PROTECTED] To:

Re: [PATCH] Make -nocursor a runtime option to and remove the compile time NULL_ROOT_CURSOR

2008-09-29 Thread Daniel Stone
On Mon, Sep 29, 2008 at 11:08:04PM +0200, Olivier Guerrier wrote: Ray Strode wrote: As already mentioned on this thread, -nocursor type behavior is the default now. There is no need for any out of tree patch. X starts up without a cursor. The point (at least Barry's and mine) is not

.pc files for input drivers

2008-09-29 Thread Peter Hutterer
Just to get a general opinion: with each driver having their own properties, it's a good idea to let the driver install a .h file listing all property names. see synaptics-properties.h, evdev-properties.h and probably more to come. Anyone opposed to a follow-up patch to install the drivername.pc

Re: [patch 3/4] Update for MPX changes

2008-09-29 Thread Peter Hutterer
On Mon, Sep 29, 2008 at 11:01:44PM +0100, [EMAIL PROTECTED] wrote: @@ -79,7 +79,7 @@ miPointerScreenFuncRec g_winPointerCurso static void -winPointerWarpCursor (ScreenPtr pScreen, int x, int y) +winPointerWarpCursor (DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y) {