lkml.org 
[lkml]   [2004]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2.6] touchkitusb: module_param to swap axes
Date
On Wednesday 24 November 2004 04:28 pm, Daniel Ritz wrote:
> add a module parameter to swap the axes. many displays need this...
>
> --- 1.2/drivers/usb/input/touchkitusb.c 2004-09-18 10:07:25 +02:00
> +++ edited/drivers/usb/input/touchkitusb.c 2004-11-24 18:57:59 +01:00
> @@ -59,6 +59,10 @@
> #define DRIVER_AUTHOR "Daniel Ritz <daniel.ritz@gmx.ch>"
> #define DRIVER_DESC "eGalax TouchKit USB HID Touchscreen Driver"
>
> +static int swap_xy;
> +module_param(swap_xy, bool, 0);

It looks it can easily be exported to userspace to allow switching "on-fly"
since it is checked for every packet. I think 0600 will do.

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.057 / U:1.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site