Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update profile information about labels and disabled toggle, previous hotkey #77

Merged
merged 2 commits into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified docs/assets/images/gpc-pin-mapping.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion docs/hotkeys.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,13 @@ It is recommended that multiple `Load Profile` hotkeys be configured so as to pr

## Next Profile

This hotkey cycles through pin mapping profiles set in [Profile Settings](./web-configurator/menu-pages/02-pin-mapping.mdx#profiles) in the Web Configurator. For example, if Profile 1 is selected, pressing the hotkey will cycle it to Profile 2, then Profile 3, Profile 4, and back to Profile 1.
This hotkey cycles through pin mapping profiles set in [Profile Settings](./web-configurator/menu-pages/02-pin-mapping.mdx#profiles) in the Web Configurator.
For example, if `Profile 1` is active, pressing the hotkey will cycle to the next enabled profile, e.g. `Profile 2`. After reaching the last profile, it will cycle back to the first profile.

## Previous Profile
This hotkey cycles through pin mapping profiles set in [Profile Settings](./web-configurator/menu-pages/02-pin-mapping.mdx#profiles) in the Web Configurator.
For example, if `Profile 2` is active, pressing the hotkey will cycle to the previous enabled profile, e.g. `Profile 1`. After reaching the first profile, it will cycle back to the last profile.


## L3 Button

Expand Down
11 changes: 10 additions & 1 deletion docs/web-configurator/menu-pages/02-pin-mapping.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,16 @@ If you do not know what pins are mapped to which button on your device, there is

You can configure profiles that will change the GPIO to GP2040-CE button mappings based on what profile number you have set. This means that you can have button layouts for different use cases and change between them without the need to enter the Web Configurator and remap GPIO pins.

The profile number can be changed by either using the Web Configurator on the [Settings page](../../web-configurator/menu-pages/01-settings.mdx) or using a [hotkey shortcut](../../hotkeys.mdx#load-profile-1-4). There is not a default input combination associated with these `Load Profile #1-4` or `Next Profile` hotkey shortcuts so you will likely need to set them up in the Settings page under [Hotkey Settings](../../web-configurator/menu-pages/01-settings.mdx#hotkey-settings). The default is profile #1 on first boot, but will remember the last set profile between boots.
The profile number can be changed by either using the Web Configurator on the [Settings page](../../web-configurator/menu-pages/01-settings.mdx) or using a [hotkey shortcut](../../hotkeys.mdx#load-profile-1-4). There is not a default input combination associated with these `Load Profile #1-4`, `Next Profile`, or `Previous Profile` hotkey shortcuts so you will likely need to set them up in the Settings page under [Hotkey Settings](../../web-configurator/menu-pages/01-settings.mdx#hotkey-settings). The default is profile #1 on first boot, but will remember the last set profile between boots.

### Profile Name
Profile name can be set to help identify what the profile is used for. This is especially useful if you have multiple profiles set up for different use cases.
If a profile name is not set, the profile will be displayed as `Profile #` where `#` is the profile number.
A connected display will show the profile name when the profile is changed.

### Profile Enabled/Disabled
Profiles can be enabled or disabled. If a profile is disabled, it will not be available when using [Hotkeys](../../hotkeys.mdx "GP2040-CE | Hotkeys") to change profile.
The first profile cannot be disabled.

:::info

Expand Down
Loading