[gpm] [patch] fix gpm synps2 4-way-button support

Nico Schottelius nico-gpm@schottelius.org
Sat Oct 15 18:49:56 CEST 2005


Applied.

Mike Frysinger [Tue, May 03, 2005 at 10:18:12PM -0400]:
> Pavel Semerad submitted this patch to Gentoo since we cant directly test the 
> change w/out the aforementioned hardware :)
> 
> URL for more info:
> http://bugs.gentoo.org/show_bug.cgi?id=36790
> 
> URL for patch:
> http://bugs.gentoo.org/attachment.cgi?id=23004
> 
> Quick summary:
> I found there are errors in synaptics.c source file. One is overwriting memory
> (other variables) and second is assign of synaptics internal numbers to
> state->buttons (struct Gpm_Event).
> 
> This patch solves it. Array boundaries must be set to 8, because of for
> cycle in tp_process_repeating_actions(). And assign of last_4_way_buttons
> cannot be done to state->buttons. I have commented it out (and it seems to
> work), but may be this is not the correct solution.
> -mike
> _______________________________________________
> gpm mailing list
> gpm@lists.linux.it
> http://lists.linux.it/listinfo/gpm
> 

-- 
Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/)
Open Source nutures open minds and free, creative developers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://lists.linux.it/pipermail/gpm/attachments/20051015/7eff5b07/attachment.pgp


More information about the gpm mailing list