Messages in this thread | | | Date | Wed, 4 Apr 2007 10:45:34 +0200 | From | "Vincent Vanackere" <> | Subject | Re: [PATCH] Make ati_remote button repeat sensitivity soft-configurable |
| |
On 4/4/07, Éric Piel <Eric.Piel@tremplin-utc.net> wrote:
> This default value is set to 300 ms. On my Xserver, the default value is > 660 ms and by default in my distrib it's set to 500 ms. So, indeed, the > default value of the ati_remote is quite small. Maybe you could increase > FILTER_MAX to 10 (= 600 ms) in order to have something saner?
Well, this value was chosen because it matches what the hardware does : as explained in the comments, the hardware generates exactly 5 events for the first keypress (spaced by ~50ms if I recall correctly).
At least on my hardware (=> Vendor=0bc7 ProdID=0004 Rev= 1.00), the current default value match exactly what I'm expecting (never had the problem : "if you do anything but barely tap the button you can get multiple events reported"). Just a thought : perhaps some models are more sensitive than others (and so the default should be made dependent on the exact remote model)... what is your hardware id ?
Best regards,
Vincent - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |