[xorg-bugzilla-noise] [Bug 968] New input driver for linux input devices (evdev)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 30 19:32:12 UTC 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=968        
   




------- Additional Comments From maps4711 at gmx.de  2004-09-30 12:32 -------
Created an attachment (id=986)
 --> (https://freedesktop.org/bugzilla/attachment.cgi?id=986&action=view)
Another Linux event input interface driver

Hello,

I have written an xfree86 4.4.0 driver that uses the Linux event
interface, but is limited to mice. It sort of resembles
the implementation of the existing 'evdev' patch. I just didn't look at
the bugs database before I decided to write the driver on my own.

The main differences between my patch and the 'evdev' one are:

- Limited to mice
- written without deep unterstanding of X internals

+ more verbose log messages. A look at the startup log gives a
good hint if something goes wrong.

+ button mapping: 
  1,2,3 left, middle, right
  4-7	mouse wheel
  8+	others
  As far as I can see, the evdev implementation maps extended buttons
  into the range of the mouse wheel.
  
+ precise movement/button reporting
  consider someone moves the mouse and simultaneously presses
  a button. The generated events are
  MovX,MovY,Btn, SYN, MovX,MovY
  
  the 'evdev' driver reports to the Xserver
  
  Btn,MovX,MovY
  
  whereas my driver reports
  
  MovX,MovY,Btn,MovX,MovY
  
  the mouse pointer would reach the same pixel, BUT the original 
  relation of button press to movement is lost.  Nothing serious
  for office use, but a die-hard quaker would sure notice it :-)
  
Installation: 
- untar in <path_to_x_source>/programs/Xserver/hw/xfree86/input, or
  whatever is appropriate for the current X version.
- add 'linuxevdev' to the list of drivers that should be compiled.
  
I am subscribed to the xorg mailinglist.
        
   
   
--         
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list