:: Re: [DNG] mouse driver question
Página Inicial
Delete this message
Reply to this message
Autor: dng@d404.nl
Data:  
Para: dng
Assunto: Re: [DNG] mouse driver question
On 25-04-2022 16:20, Fred wrote:
> On 4/25/22 02:39, karl@??? wrote:
>> Fred:
>> ...
>>> The compile fails because SDL.h can't be found.
>>> Package sd12 was not found in the pkg-config search path.  It also
>>> mentions adding directory containing sd12.pc to the PKG-CONFIG_PATH
>>> environment variable.
>>
>> To find which package a missing file belongs to, do:
>>
>> # apt-get install apt-file
>>
>> $ apt-file search SDL.h
>> $ apt-file search sdl2.h
>>
>> ///
>>
>>    I get:
>> $ apt-file -x search /SDL.h$
>> libsdl1.2-dev: /usr/include/SDL/SDL.h
>> libsdl2-dev: /usr/include/SDL2/SDL.h
>> $ apt-file search /sdl2.pc
>> libsdl2-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/sdl2.pc
>>
>> So, the above problem is solved by installing libsdl2-dev.
>>
>> Regards,
>> /Karl Hammar
>>
>> _______________________________________________
>> Dng mailing list
>> Dng@???
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> Hi Karl,
> The compile went ok.  I used command line:
> inputattach --daemon --baud 1200 -msc /dev/ttyUSB0
> It accepted the baud rate option this time however the middle button
> still does not work.  The pointer freezes when the middle button is
> down.  I ran gpm-mouse-test again.  That program seems to have major
> problems.  It can't even detect the baud rate which I know to be 1200.
> Best regards,
> Fred
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Hi Fred,

Looking at inputattach man page could you give the option

*-ms*,*--mshack*
    3-button mouse in Microsoft mode.


a try?

Grtz.

Nick