Coder Social home page Coder Social logo

psychedelicshayna / cursor-locker Goto Github PK

View Code? Open in Web Editor NEW
14.0 0.0 1.0 4.21 MB

Graphical utility to confine the cursor for games that do not natively do so, and prevent the cursor from interacting with secondary or tertiary monitors.

License: GNU General Public License v3.0

C++ 91.99% QMake 2.79% Python 5.22%
cursor cursor-movement gui-application qt utility windows windows-utilities

cursor-locker's Introduction

Cursor Locker

This is a program that confines your cursor to any game or application window, for games that do not natively do so and cause problems with multiple monitors where the cursor might escape onto the second or third monitor and issue unintended inputs.

Downloads

You can download a pre-compiled build in the releases section, which has been compiled with MSVC19 using Qt version 6.2.1. While Qt is cross-platform, the project relies on WinAPI to function, therefore only a Windows build is available.

Building

If you plan to build the project yourself using the intended method, you will need a Qt6 Environment and a copy of the needed Qt runtime DLLs to make it portable, which you can acquire by running the windeployqt.exe binary that ships with Qt, like so: windeployqt.exe C:\path\to\binary\cursor-locker.exe -- you can also find the Qt runtime DLLs included in the pre-compiled release, or in the Qt install directory.

The repository includes a Qt .pro project file which you can use to compile the project, assuming you have a Qt/qmake environment, and a compiler compatible with Windows libraries, such as MSVC17 or MSVC19.

Demo Gif

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.