[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xfree-newbie
Subject:    [Newbie] XInput Driver for Sony VAIO Jog Dial
From:       Georg Wittenburg <georg.wittenburg () gmx ! net>
Date:       2003-01-02 22:32:44
[Download RAW message or body]

This list is now defunct.  Please subscribe to XFree86.-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've written a XInput driver for the "Jog Dial", a special kind of mouse wheel 
that comes with most Sony VAIO notebooks. The code is at 
http://page.inf.fu-berlin.de/~wittenbu/stuff/jogdial-0.9.tgz.

After using this driver for two months, I'm still quite happy with it. 
However, before posting it to the sony-linux mailing list there are two 
issues I'd like to iron out:

1) Some XF86 documentation I found (sorry, lost the link) says that drivers 
should not include any OS-specific header files. But as my driver is using 
the "sonypi" Linux kernel module (http://spop.free.fr/sonypi/) it seems to be 
the right thing to include sonypi.h to have the proper defines for the 
constants that the driver reads from /dev/sonypi. What other method would you 
suggest that doesn't involve including that kernel header file?

2) Right now building my driver requires building the entire X server, mostly 
because your "make World" does some very intricate stuff and the only way 
around that seems like brute force to me. Is there any documentation on how 
external XInput drivers are supposed to be built?

Finally, I would really appreciate it, if someone with more XInput experience 
than I could have a look at the code, just to make I didn't mess up some 
xf86* function call. Of course, a link to the proper docs would also be 
welcome.

Thanks,
	Georg

- -- 
Georg Wittenburg
http://www.inf.fu-berlin.de/~wittenbu/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+FL4SSnxlDbf49fMRAsGZAJ9GjFUzDSL53CcvQwtkRZj9Fa+6xgCdEY6Y
K/+Wn5Zm3mr03IWNoddY3ss=
=m+HD
-----END PGP SIGNATURE-----

_______________________________________________
Newbie mailing list
Newbie@XFree86.Org
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic