lkml.org 
[lkml]   [2009]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] HID: add multi-input quirk for NextWindow Touchscreen.
Date
>>>>> "Peter" == Peter Hutterer <peter.hutterer@redhat.com> writes:

Hi,

Peter> with the quirk, the device exposes three /dev/input/event files, the
Peter> highest of which sends the actual events now (in X/Y). number two
Peter> looks like a mouse device (like yours), number three like a
Peter> touchscreen (BTN_TOUCH, etc.)
Peter> without the quirk, I only get two devices, the second of which looks
Peter> like a mix of mouse/touchscreen and it sends ABS_Z/ABS_RX while ABS_X
Peter> and ABS_Y are mute. I can get you the full evtest blurb but not before
Peter> Monday, the screen is in the office.

Ahh ok, strange that I'm not seing the same as you. The reason why
there's two devices by default is that the NW pretends to be a keyboard
with numlock/scrolllock/caplock so it can go into calibration mode if
you press the button a number of times (by default 6).

Peter> where do I get nwtool from? google is unusually quiet about it.

I guess I need more google-foo ;) It's a tool I wrote:

http://git.korsgaard.com/cgi-bin/gitweb.cgi?p=nwtool.git;a=summary

You can git clone from http://git.korsgaard.com/git/nwtool.git

Nextwindow unfortunately never documented the really interesting
commands (like how to make settings persistent), so it cannot do
everything the Windows tool can.

Peter> is it possible that you changed the report mode (or have it different
Peter> to me anyway) and that affects things?

Not that I'm aware - I just plugged the device in seconds before running
evtest.

FYI, now that we're talking about NW touchscreens - How is multiscreen
setups with evdev supposed to work? We need something to bind a
touchscreen to an Xrandr output to translate (and with 1.3+ reverse
transform) the coordinates. In the old days you could use evtouch with
seperate X screens and bind the touchscreens to each screen.

It's probably offtopic here, but we can move the discussion to the X
list if you prefer - Last time I asked there I didn't get any reply
though:

http://article.gmane.org/gmane.comp.freedesktop.xorg/40071/

--
Bye, Peter Korsgaard


\
 
 \ /
  Last update: 2009-12-04 14:43    [W:0.052 / U:10.240 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site