Skip to content

Commit 00e7b53

Browse files
committed
Merge branch 'main' into Version2
2 parents 92a9802 + 63b3840 commit 00e7b53

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,19 @@ On multi-monitor systems the primary monitor shares a vertical or horizontal edg
88
`CursorLocker.exe <executable_file.exe> [OPTIONS]`
99

1010
## Options:
11-
**-h, -help** - Print version and help info then exits
12-
**-ec, -exesConfig** - Loads the exesConfigs.ecfg file which contains a list of executable files to search for. First exe in that list that becomes a process or is already a process triggers the cursor to lock to the primary monitor. Ignores the <executable_file.exe> passed in.
13-
**-sleepTime \<milliseconds\>** - How long to sleep before a CursorLocker processing iteration. Default is 800 ms
11+
_**-h, -help**_ := Print version and help info then exits
12+
_**-ec, -exesConfig**_ := Loads the exesConfigs.ecfg file which contains a list of executable files to search for. First exe in that list that becomes a process or is already a process triggers the cursor to lock to the primary monitor. Ignores the <executable_file.exe> passed in.
13+
_**-sleepTime \<milliseconds\>**_ := How long to sleep before a CursorLocker processing iteration. Default is 800 ms
1414

1515
## Usage example:
1616
`CursorLocker.exe SomeFullscreenApplication.exe`
1717

18-
The above will start CursorLocker.exe and see if SomeFullscreenApplication.exe is currently a process. If it's currently a process then the cursor will immediately be locked to the primary monitor. If SomeFullscreenApplication.exe isn't currently a process then CursorLocker.exe will wait to lock the cursor until SomeFullscreenApplication.exe becomes a process
18+
The above will start CursorLocker.exe and see if SomeFullscreenApplication.exe is currently a process. If it's currently a process then the cursor will immediately be locked to the primary monitor. If SomeFullscreenApplication.exe isn't a process then CursorLocker.exe will wait to lock the cursor until SomeFullscreenApplication.exe becomes a process
1919

20-
## How to compile and release
21-
1. Run cmake to configure the project
22-
2. Build All
23-
3. Go to the project directory and double click CreateReleaseFolder.bat
24-
4. CursorLockerRelease is now the program release folder. Zip and ship this folder
20+
## How to build
21+
1. Open the repo folder in your favorite IDE
22+
2. Run cmake to configure the project
23+
3. Build All
2524

2625
## Thanks
2726
The CursorLocker icon is derived from an icon found on game-icons.net and made by Lorc, http://lorcblog.blogspot.com

0 commit comments

Comments
 (0)