diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2025-04-14 15:32:22 +1000 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2025-04-14 15:32:22 +1000 |
| commit | 329cd3a67df6b724f082b1c9052bb4b108335992 (patch) | |
| tree | cd73ac8beab02a180dbc9dedd7748c1f22dfae40 | |
| parent | 169340b428afee78e1075b332c785652ec37264b (diff) | |
Update README.md
| -rw-r--r-- | README.md | 20 | ||||
| -rw-r--r-- | src/fastmouse_test.cc | 2 |
2 files changed, 8 insertions, 14 deletions
@@ -53,19 +53,13 @@ To download the latest available release, clone this repository. $ cd ./fastmouse ``` -Compiling from source is a two step process. To avoid forking the Linux tree, -we use Linux as a submodule and manipulate files as necessary during compilation. -Simply run `setup.sh` to create symlinks from the Linux tree to our `src` directory. - -```console - $ ./setup.sh -``` - -Create a patch from `src` by running `patch.sh`. - +We use cmake to as our build system, which consists of three steps. First, cmake +will attempt to build fastmouse with a test runner via googletest. If this succeeds, +cmake will make sure that all tests pass before moving on to the second step: attempting +to build with whatever linux kernel is present in `linux/`. If this build succeeds, fastmouse +should be usable as a patch (in theory). You can build the project by running: ```console - $ ./patch.sh + $ cmake ./ && make ``` -`leetmouse.patch` will be in the placed in the topmost directory. - +If everything went well, `leetmouse.patch` will be in the placed in the topmost directory. diff --git a/src/fastmouse_test.cc b/src/fastmouse_test.cc index 4b2bf5c..f6bec5b 100644 --- a/src/fastmouse_test.cc +++ b/src/fastmouse_test.cc @@ -49,7 +49,7 @@ TEST_F(FastmouseTest, simple_division) { // All tests will exhibit this behaviour where the first division dots do not emit an event // as expected unless INT_MAX % division == 0. // We do not actually lose precision, it's just that we can only emit events in - // discreet intervals. + // discrete intervals. input_event(REL_X, 2); input_emit(); |
