[gpm]alternate wmode for GPM synaptics
Peter Berg Larsen
pebl@math.ku.dk
Tue, 23 Jul 2002 15:27:03 +0200 (MET DST)
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@math.ku.dk
Real name: Peter Berg Larsen
Where: Department of Computer Science, Copenhagen Uni., Denmark