Patch : imps2 mouse in fbcon (raw repeater)

I don’t know if this patch can be usefull or not, but since I use it, I
decided to post it here.
It simply tries to be more clever when guessing the mouse type in fbcon
(linux) by looking for the -t parameter for gpm (protocol) and the -R
(repeater). It does not try to recognize every protocol/repeater
combination but just imps2/raw because that’s the combination I use here
to be able to use at the same time gpm in the console and X11 on the raw

It’s a very quick patch, but it works for me.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: sdl_patch