X-Git-Url: https://iankelling.org/git/?p=evhz;a=blobdiff_plain;f=README.md;h=6f9a66b028cf409d5a93d6a289c57a3f04e4b504;hp=780a9adb2c65699d57173c7c931ef0d3ea1c612a;hb=HEAD;hpb=5f6cab7491cf38e458bd5a01fb6ca54940db01e1 diff --git a/README.md b/README.md index 780a9ad..6f9a66b 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,14 @@ # evhz -Display the current mouse refresh rate under linux with evdev +Show mouse refresh rate under linux + evdev For information about polling rate, see https://wiki.archlinux.org/index.php/Mouse_Polling_Rate -The program is just evhz.c. Compile and run: +Just do ./run (run is very short and readable). - gcc -o evhz evhz.c - sudo ./evhz +Nonverbose mode = -n, but you probably don't want that. -Nonverbose mode = -n +Reported average is for the last 64 samples, or as many as we have so far. There exists a kernel bug for USB ports which use the uhci_hcd driver, where a 1000 hz mouse will only read at 500hz, causing jittering: @@ -20,5 +19,25 @@ Maintainer: Ian Kelling Bugs, patches, requests, feedback are welcome. -Last tested 7/2016 on Debian testing. Still working great after several -years. + +# license + +I, Ian Kelling, follow the GNU license recommendations at +https://www.gnu.org/licenses/license-recommendations.en.html. They +recommend that small programs, < 300 lines, be licensed under the +Apache License 2.0. This file contains or is part of one or more small +programs. + +Copyright 2024 Ian Kelling + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License.