8000 GitHub - cyberpirate/windowed-game-mouse-lock: This node script finds a target window after 5 seconds then locks the cursor to that window while that window is active. I started this project because most of the windows games in my steam library would not lock the cursor in windowed mode when they were running in proton/wine.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

This node script finds a target window after 5 seconds then locks the cursor to that window while that window is active. I started this project because most of the windows games in my steam library would not lock the cursor in windowed mode when they were running in proton/wine.

License

Notifications You must be signed in to change notification settings

cyberpirate/windowed-game-mouse-lock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

windowed-game-mouse-lock

This node script finds a target window after 5 seconds then locks the cursor to that window while that window is active. I started this project because most of the windows games in my steam library would not lock the cursor in windowed mode when they were running in proton/wine.

Usage

install:

$ npm i

start:

$ npm start

Then find the window you wish to lock to and wait 5 seconds. Changing focus from that window with Alt-Tab or something else disables the lock. Ctrl-C to exit.

About

This node script finds a target window after 5 seconds then locks the cursor to that window while that window is active. I started this project because most of the windows games in my steam library would not lock the cursor in windowed mode when they were running in proton/wine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0