MCPcopy Index your code
hub / github.com/duckyPad/duckyPad-Profile-Autoswitcher

github.com/duckyPad/duckyPad-Profile-Autoswitcher @1.2.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.2.1 ↗ · + Follow
99 symbols 274 edges 17 files 1 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

duckyPad Profile Auto-switcher

Get duckyPad | Official Discord

This app allows your duckyPad to switch profiles automatically based on current active window.

Alt text

User Manual

Windows

Extract .zip file and launch the app by clicking duckypad_autoprofile.exe:

Alt text

Windows might complain. Click More info and Run anyway.

Feel free to review the files, or run the source code directly with Python.

Alt text

macOS / Linux

  • 👉 See instructions here

  • [LINUX ONLY] Window detection not working? You might need to implement your own get_list_of_all_windows() and get_active_window() in get_window.py.

Using the App

Your duckyPad should show up in the Connection section.

Alt text

Profile-Autoswitching is based on a list of rules.

To create a new rule, click New rule... button:

Alt text

A new window should pop up:

Alt text

Each rule contains Application name, Window Title, and the Profile to switch to.

App name and Window Title: * Type the keyword you want to match * NOT case sensitive

Jump-to Profile:

  • Profile Name to switch to when matched.
    • Full Name
    • Case Sensitive

Click Save when done.

Current active window and a list of all windows are provided for reference.


Back to the main window, duckyPad should now automatically switch profile once a rule is matched!

Alt text

  • Rules are evaluated from top to bottom, and stops at first match!

  • Currently matched rule will turn green.

  • Select a rule and click Move up and Move down to rearrange priority.

  • Click On/Off button to enable/disable a rule.

That's pretty much it! Just leave the app running and duckyPad will do its thing!

Launch Autoswitcher on Windows Startup

The easiest way is to place a shortcut in the Startup folder:

  • Select the autoswitcher app and press Ctrl+C.

  • Press Win+R to open the Run... dialog, enter shell:startup and click OK. This will open the Startup folder.

  • Right click inside the window, and click "Paste Shortcut".

HID Command Protocol

You can also write your own program to control duckyPad.

Click me for details!

Questions or Comments?

Please feel free to open an issue, ask in the official duckyPad discord, DM me on discord dekuNukem#6998, or email dekuNukem@gmail.com for inquires.

Core symbols most depended-on inside this repo

Shape

Function 96
Method 2
Class 1

Languages

Python100%

Modules by API surface

src/duckypad_autoprofile.py41 symbols
src/hid_common.py15 symbols
src/get_window.py9 symbols
hid_example/ex3_set_rtc.py6 symbols
src/check_update.py5 symbols
hid_example/old/timing.py4 symbols
hid_example/old/dump.py4 symbols
hid_example/old/writegv.py3 symbols
hid_example/old/dumpgv.py3 symbols
hid_example/ex2_read_write.py3 symbols
hid_example/old/dp20_sdwalk.py2 symbols
hid_example/ex1_open.py2 symbols

For agents

$ claude mcp add duckyPad-Profile-Autoswitcher \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page