Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/temetra/mousetrap
Mouse Trap restricts the mouse cursor to the area of a specific window
https://github.com/temetra/mousetrap
csharp dotnet windows winui3
Last synced: about 2 months ago
JSON representation
Mouse Trap restricts the mouse cursor to the area of a specific window
- Host: GitHub
- URL: https://github.com/temetra/mousetrap
- Owner: Temetra
- License: gpl-3.0
- Created: 2024-04-19T01:59:44.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-11-12T04:32:32.000Z (3 months ago)
- Last Synced: 2024-12-08T14:06:22.249Z (about 2 months ago)
- Topics: csharp, dotnet, windows, winui3
- Language: C#
- Homepage:
- Size: 561 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Docs/README.md
- License: COPYING
Awesome Lists containing this project
README
MouseTrap
A Windows app that restricts the mouse cursor to a window.
## Download
MouseTrap can be downloaded from the [releases page][releases].
[.NET 8.0][net8] and [Windows App SDK 1.6][winapp] runtimes are required.
## Preview
## Usage
![Guide](guide.png)
1. Pin programs to enable cursor trapping.
1. Or find a program to add to the pinned list.
1. Refresh available programs.
1. Filter programs from the `Settings` menu.
1. Toggle trapping for pinned programs.
1. Context menu has additional functions.### Hotkeys
* F5 - Refresh
* Ctrl+N - Add program## Details
* This is a WinUI 3 application.
* Designed and tested on Windows 10.
* Compatible with Windows 11.
* Requires [.NET 8.0][net8] and [Windows App SDK 1.6][winapp].## Compiling
This project uses [Temetra.Windows][temwinlib] as a [local NuGet][localnuget] dependency.
[net8]: https://dotnet.microsoft.com/en-us/download
[winapp]: https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/downloads
[releases]: https://github.com/Temetra/MouseTrap/releases
[temwinlib]: https://github.com/Temetra/Temetra.Windows
[localnuget]: https://learn.microsoft.com/en-us/nuget/hosting-packages/local-feeds