Skip to content

Add profiles support#101

Draft
Gnarus-G wants to merge 2 commits into
mainfrom
feature/profiles
Draft

Add profiles support#101
Gnarus-G wants to merge 2 commits into
mainfrom
feature/profiles

Conversation

@Gnarus-G

Copy link
Copy Markdown
Owner

Summary

Implements profiles support for maccel - allows users to save, load, and switch between different mouse acceleration configurations.

Features

  • Profile Storage: JSON files in ~/.config/maccel/profiles/
  • CLI Commands:
    • maccel profile create <name> - Save current settings
    • maccel profile list - Show all profiles
    • maccel profile load <name> - Apply a profile
    • maccel profile delete <name> - Remove a profile
    • maccel profile show <name> - View profile details
  • TUI Integration: Press p to open profile selector popup

Profile Format

{
  "Name": "gaming",
  "Mode": "Synchronous",
  "Params": {
    "SENS_MULT": 1.5,
    "GAMMA": 2.0,
    ...
  },
  "CreatedAt": "2026-02-17T12:00:00Z"
}

Closes #49

@vercel

vercel Bot commented Feb 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
maccel Ready Ready Preview, Comment Feb 20, 2026 7:09pm

- Add Profile and ProfileStore for saving/loading JSON profiles in ~/.config/maccel/profiles/
- Add serde, dirs, chrono dependencies for serialization
- Add CLI subcommands: profile create, list, load, delete, show
- Add TUI profile selector with 'p' keybind

Implements feature requested in issue #49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add profiles support

1 participant