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
parent 5a8a95ed
...@@ -611,8 +611,8 @@ adbhid_input_register(int id, int default_id, int original_handler_id, ...@@ -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 /* HACK WARNING!! This should go away as soon there is an utility
* to control that for event devices. * to control that for event devices.
*/ */
adbhid[id]->input.rep[REP_DELAY] = HZ/2; /* input layer default: HZ/4 */ adbhid[id]->input.rep[REP_DELAY] = 500; /* input layer default: 250 */
adbhid[id]->input.rep[REP_PERIOD] = HZ/15; /* input layer default: HZ/33 */ adbhid[id]->input.rep[REP_PERIOD] = 66; /* input layer default: 33 */
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment