diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 05:23:45 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 05:23:45 +0200 |
commit | 576b6208d6defe240bfa2477d6dd19f1ed83bfaf (patch) | |
tree | 7d54883f16cccc4cbd414398d7fec3c437b36b49 /sys-apps/kbd/files/kbd-1.12-kbd_repeat-v2.patch | |
parent | fdd6b67a78a966f6a2131de8fe0e539316511083 (diff) | |
download | darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.gz darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.bz2 darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.xz darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.zip |
Cleaned most of outdated stuff
Diffstat (limited to 'sys-apps/kbd/files/kbd-1.12-kbd_repeat-v2.patch')
-rw-r--r-- | sys-apps/kbd/files/kbd-1.12-kbd_repeat-v2.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sys-apps/kbd/files/kbd-1.12-kbd_repeat-v2.patch b/sys-apps/kbd/files/kbd-1.12-kbd_repeat-v2.patch deleted file mode 100644 index 3e7f11d..0000000 --- a/sys-apps/kbd/files/kbd-1.12-kbd_repeat-v2.patch +++ /dev/null @@ -1,27 +0,0 @@ -Linux is nice and changes around core structures :) - ---- kbd-1.12/src/kbdrate.c Fri Jan 16 20:45:31 2004 -+++ kbd-1.12.kbdrate/src/kbdrate.c Sun Feb 8 14:52:04 2004 -@@ -164,10 +169,10 @@ - exit( 1 ); - } - -- kbdrate_s.period = (int) (rate + 0.5); /* round up */ -+ kbdrate_s.rate = (int) (rate + 0.5); /* round up */ - kbdrate_s.delay = delay * HZ / 1000; /* convert ms to Hz */ -- if (kbdrate_s.period > 50) -- kbdrate_s.period = 50; -+ if (kbdrate_s.rate > 50) -+ kbdrate_s.rate = 50; - - if (ioctl( fd, KIOCSRATE, &kbdrate_s )) { - perror( "ioctl(KIOCSRATE)" ); -@@ -177,7 +182,7 @@ - - if (!silent) - printf( "Typematic Rate set to %d cps (delay = %d ms)\n", -- kbdrate_s.period, kbdrate_s.delay * 1000 / HZ ); -+ kbdrate_s.rate, kbdrate_s.delay * 1000 / HZ ); - - return 1; - #else /* no KIOCSRATE */ |