{"id":13733828,"url":"https://github.com/ondras/macropad","last_synced_at":"2025-04-24T12:33:02.592Z","repository":{"id":210395003,"uuid":"726452823","full_name":"ondras/macropad","owner":"ondras","description":"My Adafruit Macropad setup","archived":false,"fork":false,"pushed_at":"2023-12-08T14:48:58.000Z","size":4467,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-04T03:03:01.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/ondras.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-02T12:51:19.000Z","updated_at":"2024-07-07T13:09:17.000Z","dependencies_parsed_at":"2023-12-08T15:30:20.997Z","dependency_job_id":null,"html_url":"https://github.com/ondras/macropad","commit_stats":null,"previous_names":["ondras/macropad"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondras%2Fmacropad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondras%2Fmacropad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondras%2Fmacropad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondras%2Fmacropad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ondras","download_url":"https://codeload.github.com/ondras/macropad/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223954710,"owners_count":17231187,"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":[],"created_at":"2024-08-03T03:00:49.695Z","updated_at":"2024-11-10T12:44:50.861Z","avatar_url":"https://github.com/ondras.png","language":"Python","funding_links":[],"categories":["Applications"],"sub_categories":[],"readme":"# macropad\nMy [Adafruit Macropad](https://www.adafruit.com/product/5128) setup. Written in CircuitPython. Clone and copy files to your CircuitPython drive.\n\n## Dependencies\n\nPut these into `lib/`:\n\n```\nadafruit_display_shapes/\nadafruit_display_text/\nadafruit_hid/\nadafruit_midi/\nasyncio/\nadafruit_debouncer.mpy\nadafruit_macropad.mpy\nadafruit_simple_text_display.mpy\nadafruit_ticks.mpy\ncolorsys.mpy\nneopixel.mpy\n```\n\n## Features / apps\n\nSwitch individual apps by holding button #2 (top-right) and rotating the rotary encoder.\n\n### Desktop\n\n\u003cimg src=\"https://github.com/ondras/macropad/assets/192172/b3b8eb26-a0cc-4f9a-b0e3-dc2a237a3622\" width=\"400\" /\u003e\n\nContains keyboard shortcuts, mostly for `git` workflows. Rotary encoder adjusts volume.\n\n### DaVinci Color\n\n\u003cimg src=\"https://github.com/ondras/macropad/assets/192172/88967621-0ff0-43a2-8a7a-371ef88b7e3f\" width=\"400\" /\u003e\n\nUsed for color grading in DaVinci Resolve. Hold modifier keys (Lift / Gamma / Gain / Offset / Saturation) and rotate the rotary encoder. Hold down both a modifier *and* a color key to perform the adjustment on one color channel.\n\n**Note:** There is no API to control DaVinci Resolve. To circumvent this, the macropad acts as an *absolute mouse hid device* and fakes mouse movement; to move individual sliders, this virtual cursor moves to their pre-computed position. This means that the functionality is dependent on:\n\n  - screen size (`SCREEN` in `davinci.py`)\n  - taskbar height (`TASKBAR` in `davinci.py`)\n  - the willingness of your OS to accept an absolute mouse hid device (tested on W11 only)\n\n### MIDI Tones\n\n\u003cimg src=\"https://github.com/ondras/macropad/assets/192172/c730dd72-af87-4e8f-b844-8f079e631820\" width=\"400\" /\u003e\n\nPlay individual MIDI notes. Rotary encoder adjusts octave. Scales are always C-based; use software (such as [midi-juggler](https://ondras.github.io/midi-juggler/)) to transpose. Top-center button can be used to switch scales:\n\n  - harmonic major\n  - natural minor\n  - major/minor pentatonic\n  - major/minor blues hexatonic\n\n### MIDI Chords\n\n\u003cimg src=\"https://github.com/ondras/macropad/assets/192172/6ab730cd-6dca-4f83-a637-4c237fdbdfac\" width=\"400\" /\u003e\n\nPlay MIDI chord triads. Rotary encoder adjusts octave.\n\n### Elite: Dangerous\n\n\u003cimg src=\"https://github.com/ondras/macropad/assets/192172/ca8fc3df-7806-4a19-9f4d-bc126bc767ba\" width=\"400\" /\u003e\n\nSome useful keyboard shortcuts: FSD, FSS, Galaxy/system map, Ship lights/nightvision, Cold running, Cargo scoop, Landing gear\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fondras%2Fmacropad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fondras%2Fmacropad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fondras%2Fmacropad/lists"}