Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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