{"id":24397828,"url":"https://github.com/vlazed/toggle-cursor","last_synced_at":"2026-03-01T11:32:26.030Z","repository":{"id":253874078,"uuid":"844787525","full_name":"vlazed/toggle-cursor","owner":"vlazed","description":"Unlock the mouse cursor without opening the context menu","archived":false,"fork":false,"pushed_at":"2025-03-08T16:46:47.000Z","size":7483,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-31T22:27:21.791Z","etag":null,"topics":["gmod","gmod-addon","gmod-lua","lua"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/vlazed.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-20T01:06:50.000Z","updated_at":"2025-03-08T16:46:50.000Z","dependencies_parsed_at":"2024-08-20T05:12:49.278Z","dependency_job_id":"2d2ee1e7-96bf-447e-b540-eeaf980d91e9","html_url":"https://github.com/vlazed/toggle-cursor","commit_stats":null,"previous_names":["vlazed/toggle-cursor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vlazed/toggle-cursor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazed%2Ftoggle-cursor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazed%2Ftoggle-cursor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazed%2Ftoggle-cursor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazed%2Ftoggle-cursor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vlazed","download_url":"https://codeload.github.com/vlazed/toggle-cursor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazed%2Ftoggle-cursor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29968474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T10:55:55.490Z","status":"ssl_error","status_checked_at":"2026-03-01T10:55:55.175Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["gmod","gmod-addon","gmod-lua","lua"],"created_at":"2025-01-19T22:49:19.169Z","updated_at":"2026-03-01T11:32:26.010Z","avatar_url":"https://github.com/vlazed.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Toggle Mouse Cursor\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./media/preview.gif\" alt=\"animated\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ccode\u003etmc_togglemousecursor\u003c/code\u003e to lock or unlock the mouse\n\u003c/p\u003e\n\nThis addon adds the following console commands: \n- `tmc_togglemousecursor` to toggle free mouse cursor movement without moving the crosshair. You can bind a key to this console command,\n- `tmc_blockentitymenu [0/1]` to enable/disable entity menus when right-clicking on an entity, and\n- `tmc_notifications [0/1]` to enable/disable customizable notification text and sound.\n\nThis addon works in the same way as holding C to open the tool control panel. However, this console command keeps the mouse free until the command is called again.\n\nThis is useful for scenarios which require precise mouse movement, as opposed to the crosshair which is locked to mouse sensitivity. \n\n## Note\n\nThis addon detours the following functions:\n- `gui.EnableScreenClicker` to preserve the unlocked cursor state,\n- `properties.OpenEntityMenu` to block the EntityMenu when unlocked and when `tmc_blockentitymenu 1`.\n\nToggle `tmc_togglemousecursor` again to fix inconsistent behaviors.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlazed%2Ftoggle-cursor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvlazed%2Ftoggle-cursor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlazed%2Ftoggle-cursor/lists"}