Skip to content

Commit

Permalink
Updated usage description and readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamKarlMitchell committed Apr 6, 2019
1 parent 465ff76 commit 1498156
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CursorLagFixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Modifies SetCursor API to return NULL doing nothing.
// Sets the Window Handles HCURSOR to NULL.
//
// Usage: CursorLagFixer SomeProgram.exe
// Usage: CursorLagFixer ProcessName.exe

#include "pch.h"
#include <list>
Expand Down Expand Up @@ -93,7 +93,7 @@ DWORD PSAPI_EnumProcesses(list<DWORD>& listProcessIDs, DWORD dwMaxProcessCount)

int main(int argc, char* argv[]) {
if (argc == 1) {
printf("Usage: %s ProgramName.exe", argv[0]);
printf("Usage: %s ProcessName.exe", argv[0]);
Sleep(5000);
return 0;
}
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# CursorLagFixer
An attempt to fix Windows 10 Gaming where moving the mouse cursor lags. Sets window HCURSOR to NULL and makes SetCursor return NULL doing no action.


Usage: CursorLagFixer ProcessName.exe

0 comments on commit 1498156

Please sign in to comment.