OpenStickCommunity / GP2040-CE

Multi-Platform Gamepad Firmware for Raspberry Pi Pico and other RP2040 boards
https://gp2040-ce.info
MIT License
1.37k stars 306 forks source link

Add a label to pin mapping profile number #807

Open damienleger opened 7 months ago

damienleger commented 7 months ago

Have you checked the GP2040-CE documentation HERE to confirm this feature doesn't already exist?

Yes

Which problem is this feature request solving?

Avoiding to remember which profile corresponds to each game/device. Prevent mistake of selecting the wrong profile. Better UX/QoL for gamer.

Describe the solution you would like to see

(proto with copy/paste & F12 live edit on v0.7.7 interface)

My idea is to add an optional "label" input on each profile on pin mapping setting (same as the one in macro settings page)

2024-01-19 07_24_37-GP2040-CE Configurator — Firefox Nightly

When set, this label is added in each profile tab on pin mapping setting, and also on the profile selector on the settings page

2024-01-19 07_29_43-GP2040-CE Configurator — Firefox Nightly

2024-01-19 07_11_17-GP2040-CE Configurator — Firefox Nightly

I'm thinking also that the label should be limited to 5 ascii char (good enough imho: sf6, tk8, dbfz, shmup, base, etc.) and added on the display next to the profile number (feature wip: https://github.com/OpenStickCommunity/GP2040-CE/issues/688).

Describe alternatives you've considered

None.

Can you submit a pull request?

No

Are you planning on working on this feature yourself?

No

bsstephan commented 6 months ago

@TheTrainGoes had an additional idea that we might as well put here: we could also use that label in the OLED when switching profiles as a popup/toaster kind of thing for a couple seconds (rather than always displaying it because it's getting kinda crammed).

This would be a fairly simple change, too --- I think you could just add the name or label as a field to GpioMappings and then refer to it in stuff. Seems like a neat idea.

TheTrainGoes commented 6 months ago

By my count there are 21 character lots on a normal 128x64 display.

Have two fields added in: [Profile Name] 21 character limit [Display time length when switching] done in seconds

bsstephan commented 6 months ago

I think this is my "up next".