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

Re: PS2 mouse and gpm



KerstinKerstin Hoef-Emden scripsit:
>
>Hi,
>
>On 21 Jul 2000, Joachim Trinkwitz wrote:
>
>> I had these problems too, but now the combination of X *and* gpm works
>> flawlessly with a logitech 3-button mouse with the following gpm.conf:
>> 
>>    device=/dev/psaux
>>    responsiveness=
>>    type=ps2
>>    append="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\""
>> and the following lines in XF86Config:
>> 
>>       Section "Pointer"
>>         Protocol        "PS/2"
>>         Device  "/dev/mouse"
>>       EndSection
>
>This setting did not work for me. I have the following lines in
>/etc/X11/XF86Config:
>
>Section "Pointer"
>    Protocol    "MouseSystems"
>    Device      "/dev/gpmdata"
> 
Well... I had (before removing gpm altogether) the same config as
Kerstin. However, and this is _why_ I removed gpm, I couldn't get my
ps/2 wheel mouse working... I had a look at man gpm and it says that
this setting works fot 3buttons mouses... Now, my mouse has 4 bouttons 
+ the wheel, which infact make it a 6-button mouse. I have 2
questions. 

First, is it possible to have gpm working and X getting
Button4 and Button5 events (the ones produced by the wheel)? I tried
to put type=raw in gpmconfig but it didn't help).

Second, anybody knows a way to use all the 4 buttons? I know that X
standard says that there are at most 5 buttons on a mouse, but it
should be possible to configure the extra button to produce a
KeyPressed event, say binding it to the Alt key...

TYA for help

-- 
Leo "TheHobbit"
IRCnet (#leiene, #roma2, #roma2+)

I am the "ILOVEGNU" signature virus. Just copy me to your signature.
This email was infected under the terms of the GNU General Public
License.



Reply to: