Re: alternate wmode for GPM synaptics

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

 



On Tue, 23 Jul 2002, Charl P. Botha wrote:

> In syn_ps2_translate_wmode_data() of the new synaptics.c, you have:
>     report->left     = check_bits (data[0], 0x01);
>     report->middle   = check_bits (data[0] ^ data[3], 0x01);
>     report->right    = check_bits (data[0], 0x02);
>     report->fourth   = check_bits (data[0] ^ data[3], 0x02);
>     report->up       = 0;
>     report->down     = 0;
> 
> On my pad, what here becomes middle and fourth, is actually an up/down
> button that sits between button 1 and 3.  I see action masks and things
> (didn't spend too much time): 

You are right. I have forgotten about this part (because it does not work
for mee :).

> is it possible to make these end up as up and
> down in the repeater device?

Jep, a hack is easy but it should not be done here. (the hack will have
bad influence when using different features simultaneously)  

Peter
--
E-Mail:       pebl@xxxxxxxxxx 
Real name:    Peter Berg Larsen 
Where:        Department of Computer Science, Copenhagen Uni., Denmark



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