{"id":21213114,"url":"https://github.com/davidlatwe/mousetrap","last_synced_at":"2025-03-14T23:43:19.890Z","repository":{"id":211732887,"uuid":"729629874","full_name":"davidlatwe/mousetrap","owner":"davidlatwe","description":"Trap your mouse in blender text input area.","archived":false,"fork":false,"pushed_at":"2023-12-10T14:15:58.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-06T06:37:56.235Z","etag":null,"topics":["blender-addon","blender-scripts"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidlatwe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-12-09T20:46:37.000Z","updated_at":"2023-12-11T06:29:24.000Z","dependencies_parsed_at":"2023-12-10T15:28:14.080Z","dependency_job_id":"5937ea54-b9f0-4cc6-a5aa-8849d430cd2e","html_url":"https://github.com/davidlatwe/mousetrap","commit_stats":null,"previous_names":["davidlatwe/mousetrap"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidlatwe%2Fmousetrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidlatwe%2Fmousetrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidlatwe%2Fmousetrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidlatwe%2Fmousetrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidlatwe","download_url":"https://codeload.github.com/davidlatwe/mousetrap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243663636,"owners_count":20327304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blender-addon","blender-scripts"],"created_at":"2024-11-20T21:13:10.575Z","updated_at":"2025-03-14T23:43:19.858Z","avatar_url":"https://github.com/davidlatwe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=center\u003emousetrap\u003c/h1\u003e\n\u003cp align=center\u003e\u003ci\u003eTrap your mouse in blender text input area, stay focused.\u003c/i\u003e\u003c/p\u003e\n\u003cp align=center\u003e\u003cimg src=\"https://github.com/davidlatwe/mousetrap/assets/3357009/c87aaa0a-3dc5-4608-8739-0a7b79f9f085\"\u003e\u003c/p\u003e\n\n### Why?\n\nBlender's text editor and console lose keyboard input focus when mouse cursor is not hovering on those areas. While\nother graphical interface like search bar or name input field does hold. It's unfair!\n\n### Usage\n\n1. Once installed, a mouse-move icon button should appear at right side of console and text editor header.\n\n    \u003cimg width=\"420\" alt=\"image\" src=\"https://github.com/davidlatwe/mousetrap/assets/3357009/43fdded8-a175-40eb-942d-ede72c65d65d\"\u003e\n\n2. Keymap `Ctrl` + `Shift` + `` ` `` is added for fast activation, or you can just toggle that button.\n3. Once activated, your mouse is trapped inside that panel with your keyboard input focus.\n4. You can right click to temporary leave the trapping area and move somewhere else, and left click on trapping area to \n   regain focus.\n5. Press `Esc` to deactivate completely.\n\n### Bonus\n\n* When mousetrap is on, press `Home` key moves cursor to the first character in line, instead of line start.\n* `Ctrl` + `Up`/`Down` to scroll with cursor (Disabled due to this can cause Blender to crash if the focus was shifted \n  to other application and back.)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidlatwe%2Fmousetrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidlatwe%2Fmousetrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidlatwe%2Fmousetrap/lists"}