Button Driver

Daniel Stone daniel at fooishbar.org
Thu Mar 8 02:27:02 PST 2007


On Wed, Mar 07, 2007 at 09:18:05PM -0800, Mughilan Ramajayam wrote:
> The kernel module as well the test application is done. 
> 
> But how to make this device communicate to Xserver and therefore to Xclient.
> 
> For example, the touch panel (char driver / node ttyS1 / MAJOR 4) communicates via xorg's xf86-input-dmc driver.
> Similarly, how do I make the push buttons (char driver / node button / MAJOR 211) communicate to the Xserver ?

Make them a standard input device, which sends keyboard events through
the input layer.  You won't have to write your own X driver, and
everything will be a lot better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20070308/610c4f08/attachment.pgp>


More information about the xorg mailing list