Re: Synaptic 4 way button patch + more

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter

I have made a small change to correct the vertical movement direction if
the 4-way button is used as mouse.  The patch is as follows;

--- synaptics.c.p5	Wed Apr 17 07:31:58 2002
+++ synaptics.c	Wed Apr 17 14:48:41 2002
@@ -996,9 +996,9 @@
 	if (four_way_button_is_mouse){
 	  /* Report motion */
 	  if (report->x & 1) /* UP */
-	    state->dy = 1;
-	  if (report->y & 1) /* DOWN */
 	    state->dy = -1;
+	  if (report->y & 1) /* DOWN */
+	    state->dy = 1;
 	  if (report->x & 2) /* LEFT */
 	    state->dx = -1;
 	  if (report->y & 2) /* RIGHT */

I have also been able to verify the corner click to toggle the 4-way button.
I found I could override the setting for X and Y center coordinates in gpm-syn.conf.

Best Regards
- Troy Schultz



[Index of Archives]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Gimp]     [Yosemite News]