You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**-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
14
14
15
15
## Usage example:
16
16
`CursorLocker.exe SomeFullscreenApplication.exe`
17
17
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
19
19
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
25
24
26
25
## Thanks
27
26
The CursorLocker icon is derived from an icon found on game-icons.net and made by Lorc, http://lorcblog.blogspot.com
0 commit comments