From 1e0507817072d46aab6155d81595e31a55b2f581 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Sat, 11 Oct 2003 20:28:40 +0200 Subject: [PATCH] Fix repeat delays in adbhit, they didn't make the transition to jiffies based values to ms. This fix crazy key repeat on ADB based PowerMacs --- drivers/macintosh/adbhid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/macintosh/adbhid.c b/drivers/macintosh/adbhid.c index 9fe903a5b2491..409bf81400994 100644 --- a/drivers/macintosh/adbhid.c +++ b/drivers/macintosh/adbhid.c @@ -611,8 +611,8 @@ adbhid_input_register(int id, int default_id, int original_handler_id, /* HACK WARNING!! This should go away as soon there is an utility * to control that for event devices. */ - adbhid[id]->input.rep[REP_DELAY] = HZ/2; /* input layer default: HZ/4 */ - adbhid[id]->input.rep[REP_PERIOD] = HZ/15; /* input layer default: HZ/33 */ + adbhid[id]->input.rep[REP_DELAY] = 500; /* input layer default: 250 */ + adbhid[id]->input.rep[REP_PERIOD] = 66; /* input layer default: 33 */ } } -- 2.53.0