linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Pavel Revak <palo@bielyvlk.sk>
Cc: linux-input@vger.kernel.org
Subject: Re: ucb1400 and mouse emulation
Date: Mon, 5 Oct 2009 22:06:25 -0700	[thread overview]
Message-ID: <20091006050624.GE27881@core.coreip.homeip.net> (raw)
In-Reply-To: <b0ba3e300910050534o75668f63y3ee0bd4c1c713fd8@mail.gmail.com>

Hi Pavel

On Mon, Oct 05, 2009 at 02:34:09PM +0200, Pavel Revak wrote:
> Hello, I upgraded to new kernel 2.6.31 (from 2.6.29) and I use
> touchscreen with ucb1400 through library "tslib" which has own
> calibration. from 2.6.30+ kernels this touchscreen emulate a mouse
> (with out tslib) but is uncalibrated.

This should not have changed, mousedev emulation was there for ages.

> My application use SDL with
> framebuffer (no X server) and read mouse and touchscreen
> simultaneously. But now it is unusable whne I use touchscreen, because
> I read now touch screen as generic mouse (uncalibrated) and as tslib
> (calibrated) at same time . Exist any way to calibrate touchscreen
> without X server or tslib for sdl applications (this is preferred to
> me) ? or can I disable mouse emulation from touchscreen and use only
> tslib for sdl apps ?
>

The application has to decide what interface it wishes to use (mousedev
or evdev) and read from that interface only.

-- 
Dmitry

  reply	other threads:[~2009-10-06  5:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-05 12:34 ucb1400 and mouse emulation Pavel Revak
2009-10-06  5:06 ` Dmitry Torokhov [this message]
2009-10-06 13:41   ` Pavel Revak
2009-10-07  4:35     ` Dmitry Torokhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091006050624.GE27881@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=palo@bielyvlk.sk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).