2009-12-11 17:24:49

by Rick L. Vinyard, Jr.

[permalink] [raw]
Subject: Logitech G13 driver + user-space libraries available

Here's a first look at the G13 driver I've been playing around with:
git://g13.git.sourceforge.net/gitroot/g13/g13

I've been building the driver out-of-tree and this is my first (untested)
shot at moving it in-tree. There are still a number of things to do (and
clean up) in the driver but it is rather functional.

I'll test it later today and update the repo as necessary, but I thought
I'd throw it out there now.

Here's the repo for the support libraries:
svn co https://g13.svn.sourceforge.net/svnroot/g13/trunk g13

The Gtk and Gtkmm libs are empty for now, but I have tested the g13 and
g13-cairo libs.

The g13 library uses udev for device discovery and exports many of the
sysfs attributes in a little bit friendlier API. See the 'utilities'
directory and 'examples/g13-draw-checkerboard' for examples of the API.

The g13-cairo library similarly provides an API that bridges the
framebuffer functions of the g13 library with cairo making it a little
more friendly to draw directly on the framebuffer. See
'examples/cairo/g13-cairo-helloworld' for an animated example drawing with
cairo to the g13 framebuffer.

Feedback, comments, critiques and flames are welcome.

---

Rick


2009-12-11 19:05:09

by Greg KH

[permalink] [raw]
Subject: Re: Logitech G13 driver + user-space libraries available

On Fri, Dec 11, 2009 at 10:24:52AM -0700, Rick L. Vinyard, Jr. wrote:
> Here's a first look at the G13 driver I've been playing around with:
> git://g13.git.sourceforge.net/gitroot/g13/g13
>
> I've been building the driver out-of-tree and this is my first (untested)
> shot at moving it in-tree. There are still a number of things to do (and
> clean up) in the driver but it is rather functional.
>
> I'll test it later today and update the repo as necessary, but I thought
> I'd throw it out there now.

Nice, but sending a patch to review it is best, don't point people at a
random git tree and expect they will look at the code.

Also, please run the driver through the scripts/checkpatch.pl script,
and fix all of the things it reports, before submitting it.

thanks,

greg k-h