{"id":26188050,"url":"https://github.com/dceluis/jemclicks","last_synced_at":"2026-04-22T01:33:11.535Z","repository":{"id":63110696,"uuid":"547961489","full_name":"dceluis/jemclicks","owner":"dceluis","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-13T01:40:19.000Z","size":1256,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T23:56:05.414Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dceluis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-08T16:49:51.000Z","updated_at":"2022-10-08T16:50:15.000Z","dependencies_parsed_at":"2022-11-13T02:45:36.191Z","dependency_job_id":null,"html_url":"https://github.com/dceluis/jemclicks","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dceluis/jemclicks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dceluis%2Fjemclicks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dceluis%2Fjemclicks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dceluis%2Fjemclicks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dceluis%2Fjemclicks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dceluis","download_url":"https://codeload.github.com/dceluis/jemclicks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dceluis%2Fjemclicks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32117360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"ssl_error","status_checked_at":"2026-04-22T00:30:22.894Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2025-03-11T23:56:07.465Z","updated_at":"2026-04-22T01:33:11.504Z","avatar_url":"https://github.com/dceluis.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jemclicks\n\n# Installation\n\nDownload and extract the latest release from [here](https://github.com/dceluis/jemclicks/releases).\n\nThen, copy the `bin/jemclicks` binary into a folder in your executable PATH (I use $HOME/bin).\n\n```\ncp ./bin/jemclicks ~/bin/\n```\n\n# Usage\n\nRunning jemclicks involves two parts.\n\nStarting the jemclicks server:\n\n```\n$ sudo jemclicks -d \u003cdevice_number\u003e\n```\n\nFigure out your keyboard's device number by running jemclicks without any arguments:\n\n```\n$ sudo jemclicks\n```\n\nNote: root privileges are required since grabbing input devices is a privileged action.\n\nEnabling/disabling jemclicks mouse input:\n\n```\n$ jemclicks enable\n```\n\n```\n$ jemclicks disable\n```\n\nTyping and executing the enable command from a terminal everytime you need to toggle the mouse is not practical, though.\nIdeally, you would have a way of triggering the command from an appropriate shortcut depending on your environment.\n\nExamples:\n\ni3mw\n```\nbindsym $mod4+x exec jemclicks enable\nbindsym $mod4+z exec jemclicks disable\n```\n\nNote: You can also disable the jemclicks mouse with the `quit` button, see below for the default key bindings.\n\nMy original use case was to use a foot pedal as the toggle, a-la [vim-clutch](https://github.com/alevchuk/vim-clutch). I'm using kmonad to remap the pedal, with the following configuration:\n\n```\n(defcfg\n  input  (device-file \"/dev/input/by-id/usb-1a86_e026-event-kbd\")\n  output (uinput-sink \"Remapped Mouse Pedal - Kmonad\")\n  cmp-seq cmp\n\n  fallthrough true\n\n  allow-cmd true\n)\n\n(defsrc\n  a\n)\n\n(defalias\n  btog (cmd-button \"jemclicks enable\" \"jemclicks disable\")\n)\n\n(deflayer main\n  @btog\n)\n```\n\n# Default keybindings\n\n* Up: `I`\n* Left: `J`\n* Down: `K`\n* Left: `L`\n\n\n* Left-click: `S`\n* Middle-click: `D`\n* Right-click: `F`\n\n\n* Quit: `Q`\n\n# Notes\n\n* The configuration file is not currently functional. If you want to change the keybindings, you can edit the src file and build the executable again.\n\n# Building\n\n```\ncargo build ./src/main.rs\n```\n\nand then copy the built binary to your executable path\n\n```\ncp ./target/debug/jemclicks ~/bin/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdceluis%2Fjemclicks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdceluis%2Fjemclicks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdceluis%2Fjemclicks/lists"}